diff --git a/assets/components/lvms/topolvm-controller_deployment.yaml b/assets/components/lvms/topolvm-controller_deployment.yaml index b67921aec8..a69ebd34a0 100644 --- a/assets/components/lvms/topolvm-controller_deployment.yaml +++ b/assets/components/lvms/topolvm-controller_deployment.yaml @@ -23,6 +23,12 @@ spec: - /topolvm-controller - --cert-dir=/certs image: '{{ .ReleaseImage.topolvm_csi }}' + startupProbe: + failureThreshold: 60 + periodSeconds: 2 + httpGet: + port: healthz + path: /healthz livenessProbe: failureThreshold: 3 httpGet: diff --git a/assets/components/lvms/topolvm-node_daemonset.yaml b/assets/components/lvms/topolvm-node_daemonset.yaml index ea293b1f16..3a3ea02edf 100644 --- a/assets/components/lvms/topolvm-node_daemonset.yaml +++ b/assets/components/lvms/topolvm-node_daemonset.yaml @@ -64,6 +64,13 @@ spec: initialDelaySeconds: 10 periodSeconds: 60 timeoutSeconds: 3 + startupProbe: + failureThreshold: 60 + successThreshold: 1 + periodSeconds: 2 + httpGet: + port: healthz + path: /healthz name: topolvm-node ports: - containerPort: 9808