pod failed to schedule on kubernetes

12/24/2017

I am following the instructions here to setup Kong on my Kubernetes cluster

At step 4, I issue the command:

$ kubectl create -f kong_migration_postgres.yaml

job "kong-migration" created

but I see this in my Google container engine:

enter image description here

What is causing the issue? Do I need to increase the size of my cluster?

-- skunkwerk
google-kubernetes-engine
kong
kubernetes

1 Answer

12/24/2017

The issue was that the cluster did not have enough CPU capacity. The error is visible if you click on the pod (at the very bottom of the dashboard) and you'll then see the error. Increasing the size of the cluster or turning on auto-scaling will fix it.

-- skunkwerk
Source: StackOverflow