Skip to content

Commit

Permalink
Merge pull request #40 from FarnazBGH/master
Browse files Browse the repository at this point in the history
Add node-registar liveness-probe
  • Loading branch information
hrak authored Aug 31, 2023
2 parents 2fa4b25 + 849aebb commit 39117b6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions deploy/k8s/node-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,16 @@ spec:
- "--csi-address=$(ADDRESS)"
- "--kubelet-registration-path=$(DRIVER_REG_SOCK_PATH)"
- "--v=5"
- "--health-port=9809"
livenessProbe:
httpGet:
path: /healthz
port: healthz
failureThreshold: 5
initialDelaySeconds: 60
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 15
env:
- name: ADDRESS
value: /csi/csi.sock
Expand All @@ -100,6 +110,9 @@ spec:
mountPath: /csi
- name: registration-dir
mountPath: /registration
ports:
- containerPort: 9809
name: healthz

volumes:
- name: plugin-dir
Expand Down

0 comments on commit 39117b6

Please sign in to comment.