Merge pull request #1894 from AllenZMC/healthz_descheduler

add livenessProbe for descheduler
This commit is contained in:
karmada-bot 2022-05-30 14:34:50 +08:00 committed by GitHub
commit 1e1147cef6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

View File

@ -27,6 +27,15 @@ spec:
- --kubeconfig=/etc/kubeconfig - --kubeconfig=/etc/kubeconfig
- --bind-address=0.0.0.0 - --bind-address=0.0.0.0
- --v=4 - --v=4
livenessProbe:
httpGet:
path: /healthz
port: 10358
scheme: HTTP
failureThreshold: 3
initialDelaySeconds: 15
periodSeconds: 15
timeoutSeconds: 5
volumeMounts: volumeMounts:
- name: kubeconfig - name: kubeconfig
subPath: kubeconfig subPath: kubeconfig

View File

@ -51,6 +51,15 @@ spec:
- --kubeconfig=/etc/kubeconfig - --kubeconfig=/etc/kubeconfig
- --bind-address=0.0.0.0 - --bind-address=0.0.0.0
- --v=4 - --v=4
livenessProbe:
httpGet:
path: /healthz
port: 10358
scheme: HTTP
failureThreshold: 3
initialDelaySeconds: 15
periodSeconds: 15
timeoutSeconds: 5
volumeMounts: volumeMounts:
{{- include "karmada.kubeconfig.volumeMount" . | nindent 12 }} {{- include "karmada.kubeconfig.volumeMount" . | nindent 12 }}
resources: resources: