Skip to content

Commit

Permalink
Merge pull request #81 from gnufied/add-node-registrar-healtcheck
Browse files Browse the repository at this point in the history
OCPBUGS-26924: Add healtcheck for node-registrar
  • Loading branch information
openshift-merge-bot[bot] committed Feb 15, 2024
2 parents 0015a83 + 0eac7d8 commit 2da7613
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions assets/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ spec:
args:
- --csi-address=$(ADDRESS)
- --kubelet-registration-path=$(DRIVER_REG_SOCK_PATH)
- --http-endpoint=:10304
- --v=${LOG_LEVEL}
lifecycle:
preStop:
Expand All @@ -99,6 +100,17 @@ spec:
value: /csi/csi.sock
- name: DRIVER_REG_SOCK_PATH
value: /var/lib/kubelet/plugins/filestore.csi.storage.gke.io/csi.sock
ports:
- containerPort: 10304
name: rhealthz
livenessProbe:
httpGet:
path: /healthz
port: rhealthz
initialDelaySeconds: 10
timeoutSeconds: 3
periodSeconds: 10
failureThreshold: 5
volumeMounts:
- name: plugin-dir
mountPath: /csi
Expand Down

0 comments on commit 2da7613

Please sign in to comment.