Add liveness prove to csi-node-registrar

Signed-off-by: Marco Franssen <[email protected]>
Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
Marco Franssen
2023-02-18 13:04:07 +01:00
committed by Marco Franssen
parent d84a1343c6
commit cc54e3bfbe
@@ -105,6 +105,7 @@ spec:
args: [
"-csi-address", "/spiffe-csi/csi.sock",
"-kubelet-registration-path", "/var/lib/kubelet/plugins/csi.spiffe.io/csi.sock",
"-health-port", "9809"
]
volumeMounts:
# The registrar needs access to the SPIFFE CSI driver socket
@@ -114,6 +115,15 @@ spec:
# directory
- name: kubelet-plugin-registration-dir
mountPath: /registration
ports:
- containerPort: 9809
name: healthz
livenessProbe:
httpGet:
path: /healthz
port: healthz
initialDelaySeconds: 5
timeoutSeconds: 5
resources:
{{- toYaml .Values.nodeDriverRegistrar.resources | nindent 12 }}
volumes: