Vault pod can't initialize
lexsys27 opened this issue · comments
I am stuck on the step that deploys Vault. Pod is waiting in the Init:0/1
stage forever.
$ kubectl get pods --watch
NAME READY STATUS RESTARTS AGE
vault-0 0/2 Init:0/1 0 6s
I am note sure how it can be but initialization container is waiting because PodInitializing
.
$ kubectl logs vault-0 -c config
Error from server (BadRequest): container "config" in pod "vault-0" is waiting to start: PodInitializing
satefulSet tells me the pod created successfully though
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal SuccessfulCreate 9m statefulset-controller create Pod vault-0 in StatefulSet vault successful
The error reproduces on 1.10.5-gke.0 as well the original GKE cluster version.
There's an init container. Try:
$ kubectl logs vault-0 -c vault-init
Closing due to inactivity. Please re-open if this is still an issue. Thanks!