etcd Pending status (volume mount timed out)
Created by: garloff
I have seen the etcd container in a Pending status for extended amounts of time (hours) and the event log indicating that the two volumes could not be mounted. (Which is ridiculous for
etcd-certs:
Type: HostPath (bare host directory volume)
Path: /etc/kubernetes/pki/etcd
HostPathType: DirectoryOrCreate
(and etcd-data
which is /var/lib/etcd
)).
It does only happen occasionally; if we're lucky, the etcd container does fail a liveness probe and gets restarted and works just fine then. But we can't rely on it.
I'll look into reproducing this, so I can insert proper logs here.