failed to acquire lease vmware-system-pinniped/pinniped-conciergelock is held by [pod-name] and has not yet expiredwrite attempt rejected as client is not leaderThis issue is caused by a stale leader election lease lock in the vmware-system-pinniped namespace.
If the designated leader pod for Pinniped is abruptly terminated, the Kubernetes Lease object may remain assigned to the terminated pod without updating its renewTime. When new Pinniped pods start, they attempt to acquire the lock but are forced to wait for the lease duration. However, the liveness probes for these pods typically time out much earlier.
Because the pods cannot become the leader before the liveness probe kills them, they cannot generate valid TLS certificates or write to the API server, creating a crash loop deadlock.
Restore the Pinniped Service -
Identify and delete the stale lease object to allow a new leader election:
kubectl get lease pinniped-concierge -n vmware-system-pinniped -o yamlkubectl delete lease pinniped-concierge -n vmware-system-pinniped