add livenessProbe for scheduler-estimator
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
This commit is contained in:
parent
05101ebfdb
commit
0dcb8e2ad6
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue