Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCPBUGS-26924: Adds healtcheck for node registrar #41

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 12 additions & 0 deletions assets/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,16 @@ spec:
args:
- --v=${LOG_LEVEL}
- --csi-address=/csi/csi.sock
- --http-endpoint=:10304
- --kubelet-registration-path=/var/lib/kubelet/plugins/csi-secrets-store/csi.sock
env:
- name: KUBE_NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
ports:
- containerPort: 10304
name: rhealthz
volumeMounts:
- name: plugin-dir
mountPath: /csi
Expand All @@ -103,6 +107,14 @@ spec:
requests:
memory: 50Mi
cpu: 10m
livenessProbe:
httpGet:
path: /healthz
port: rhealthz
initialDelaySeconds: 10
timeoutSeconds: 3
periodSeconds: 10
failureThreshold: 5
- name: csi-liveness-probe
image: ${LIVENESS_PROBE_IMAGE}
imagePullPolicy: IfNotPresent
Expand Down