diff --git a/charts/karpenter/templates/deployment.yaml b/charts/karpenter/templates/deployment.yaml index c48718497aeb..f43822270dd6 100644 --- a/charts/karpenter/templates/deployment.yaml +++ b/charts/karpenter/templates/deployment.yaml @@ -56,6 +56,9 @@ spec: {{- if .Values.hostNetwork }} hostNetwork: true {{- end }} + {{- with .Values.schedulerName }} + schedulerName: {{ . | quote }} + {{- end }} containers: - name: controller securityContext: diff --git a/charts/karpenter/values.yaml b/charts/karpenter/values.yaml index 72ff1160bbc3..d3fce720c410 100644 --- a/charts/karpenter/values.yaml +++ b/charts/karpenter/values.yaml @@ -59,6 +59,8 @@ terminationGracePeriodSeconds: # -- Bind the pod to the host network. # This is required when using a custom CNI. hostNetwork: false +# -- Specify which Kubernetes scheduler should dispatch the pod. +schedulerName: default-scheduler # -- Configure the DNS Policy for the pod dnsPolicy: ClusterFirst # -- Configure DNS Config for the pod @@ -183,6 +185,6 @@ settings: # -- spotToSpotConsolidation is ALPHA and is disabled by default. # Setting this to true will enable spot replacement consolidation for both single and multi-node consolidation. spotToSpotConsolidation: false - # -- nodeRepair is ALPHA and is disabled by default. + # -- nodeRepair is ALPHA and is disabled by default. # Setting this to true will enable node repair. nodeRepair: false