Docker Community Forums

Share and learn in the Docker community.

Ingress controller for kubernetes stuck in "Container creating"


(Mshamberger) #1

I am trying to run the ingress controller for https://beta.docs.docker.com/ee/ucp/kubernetes/deploy-ingress-controller/ but the container is stuck in “Container Creating”.

C:\Users\z837809\git\ucp-client>kubectl create -f ingress-nginx/ingress_nginx_namespace.yaml
namespace “ingress-nginx” created

C:\Users\z837809\git\ucp-client>kubectl create -f ingress-nginx/nginx_service_account.yaml
serviceaccount “nginx-service-account” created

C:\Users\z837809\git\ucp-client>kubectl create -f ingress-nginx/nginx_ingress_controller.yaml
deployment “default-http-backend” created
service “default-http-backend” created
configmap “nginx-configuration” created
configmap “tcp-services” created
configmap “udp-services” created
deployment “nginx-ingress-controller” created
service “ingress-nginx” created

C:\Users\z837809\git\ucp-client>kubectl get pods --namespace=ingress-nginx
NAME READY STATUS RESTARTS AGE
default-http-backend-7f659c9578-r2rfm 0/1 ContainerCreating 0 4m
nginx-ingress-controller-7884f7ddf7-2p5ct 0/1 Init:0/1 0 4m

C:\Users\z837809\git\ucp-client>kubectl logs pod/default-http-backend-7f659c9578-r2rfm --namespace=ingress-nginx
Error from server (BadRequest): container “default-http-backend” in pod “default-http-backend-7f659c9578-r2rfm” is waiting to start: ContainerCreating

Any idea how to troubleshoot?

Thanks,
Michael