ExecSync cmd from runtime service failed" err="rpc error: code = DeadlineExceeded desc = failed to exec in container: timeout 1s exceeded: context deadline exceeded"3.2
The pod fails to start because the configured livenessProbe parameters (initialDelaySeconds and timeoutSeconds) are too short, causing the health check to time out before the container is fully ready.
Modify csi-node-driver-registrar liveness probe with initialDelaySeconds and timeoutSeconds.
livenessProbe:
exec:
command:
- /csi-node-driver-registrar
- --kubelet-registration-path=/var/lib/kubelet/plugins/csi.vsphere.vmware.com/csi.sock
- --mode=kubelet-registration-probe
failureThreshold: 3
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 10
name: node-driver-registrar
https://kubernetes.io/docs/concepts/configuration/liveness-readiness-startup-probes/