Merge pull request #1894 from AllenZMC/healthz_descheduler
add livenessProbe for descheduler
This commit is contained in:
commit
1e1147cef6
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue