diff --git a/artifacts/deploy/karmada-scheduler-estimator.yaml b/artifacts/deploy/karmada-scheduler-estimator.yaml index 979b3df24..556e0a37c 100644 --- a/artifacts/deploy/karmada-scheduler-estimator.yaml +++ b/artifacts/deploy/karmada-scheduler-estimator.yaml @@ -26,6 +26,15 @@ spec: - /bin/karmada-scheduler-estimator - --kubeconfig=/etc/{{member_cluster_name}}-kubeconfig - --cluster-name={{member_cluster_name}} + livenessProbe: + httpGet: + path: /healthz + port: 10351 + scheme: HTTP + failureThreshold: 3 + initialDelaySeconds: 15 + periodSeconds: 15 + timeoutSeconds: 5 volumeMounts: - name: member-kubeconfig subPath: {{member_cluster_name}}-kubeconfig diff --git a/charts/templates/karmada_scheduler_estimator.yaml b/charts/templates/karmada_scheduler_estimator.yaml index d1fa924da..ebed30974 100644 --- a/charts/templates/karmada_scheduler_estimator.yaml +++ b/charts/templates/karmada_scheduler_estimator.yaml @@ -43,6 +43,15 @@ spec: - /bin/karmada-scheduler-estimator - --kubeconfig=/etc/{{ $clusterName }}-kubeconfig - --cluster-name={{ $clusterName }} + livenessProbe: + httpGet: + path: /healthz + port: 10351 + scheme: HTTP + failureThreshold: 3 + initialDelaySeconds: 15 + periodSeconds: 15 + timeoutSeconds: 5 volumeMounts: - name: member-kubeconfig subPath: {{ $clusterName }}-kubeconfig