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:
@@ -105,6 +105,7 @@ spec:
|
|||||||
args: [
|
args: [
|
||||||
"-csi-address", "/spiffe-csi/csi.sock",
|
"-csi-address", "/spiffe-csi/csi.sock",
|
||||||
"-kubelet-registration-path", "/var/lib/kubelet/plugins/csi.spiffe.io/csi.sock",
|
"-kubelet-registration-path", "/var/lib/kubelet/plugins/csi.spiffe.io/csi.sock",
|
||||||
|
"-health-port", "9809"
|
||||||
]
|
]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
# The registrar needs access to the SPIFFE CSI driver socket
|
# The registrar needs access to the SPIFFE CSI driver socket
|
||||||
@@ -114,6 +115,15 @@ spec:
|
|||||||
# directory
|
# directory
|
||||||
- name: kubelet-plugin-registration-dir
|
- name: kubelet-plugin-registration-dir
|
||||||
mountPath: /registration
|
mountPath: /registration
|
||||||
|
ports:
|
||||||
|
- containerPort: 9809
|
||||||
|
name: healthz
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /healthz
|
||||||
|
port: healthz
|
||||||
|
initialDelaySeconds: 5
|
||||||
|
timeoutSeconds: 5
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.nodeDriverRegistrar.resources | nindent 12 }}
|
{{- toYaml .Values.nodeDriverRegistrar.resources | nindent 12 }}
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user