certificate-init-container icon indicating copy to clipboard operation
certificate-init-container copied to clipboard

Pod is stuck in Init:CrashLoopBackOff

Open kumarallamraju opened this issue 7 years ago • 2 comments

kubectl create -f tls-app.yaml

$ kubectl get pods NAME READY STATUS RESTARTS AGE tls-app-dc7787455-69rhx 0/1 Init:Error 1 6s $ kubectl get pods NAME READY STATUS RESTARTS AGE tls-app-dc7787455-69rhx 0/1 Init:CrashLoopBackOff 1 12s $ kubectl logs tls-app-dc7787455-69rhx Error from server (BadRequest): container "tls-app" in pod "tls-app-dc7787455-69rhx" is waiting to start: PodInitializing

I'm just running the yaml uploaded in keley's github repository. Am I missing something?

kumarallamraju avatar Jun 19 '18 18:06 kumarallamraju

Yes. This is not working. I tried it on GCP. Getting "crash-back off" error tls-app-77cf5bf94c-qxphr 0/1 Init:CrashLoopBackOff 6 9m

kubectl logs -f tls-app-77cf5bf94c-qxphr --namespace kube-system

Error from server (BadRequest): container "tls-app" in pod "tls-app-77cf5bf94c-qxphr" is waiting to start: PodInitializing

hgsat123 avatar Aug 02 '18 11:08 hgsat123

Its possible you are running into https://github.com/kelseyhightower/certificate-init-container/issues/12 .

kubectl logs <pod> -n <namespace> -c certificate-init-container

specifying the init container, to know for sure. Once I made some changes in my fork, per my version of k8s, I was golden.

jbornemann avatar Nov 07 '18 20:11 jbornemann