3

I am using Google Cloud Kubernetes engine, it is awesome but my cluster suddenly got stuck in an error:

Google Compute Engine: The resource 'projects/xxx/global/networks/default' is not ready

Now I just want to delete it but I can't since the cluster is not configured. I am continuously paying for a cluster that I can't use and I can't delete it.

Have any of you seen this before?

chicks
  • 3,793
  • 10
  • 27
  • 36

1 Answers1

0

It looks like the network the cluster uses has become stuck in a state of "not ready", which is in turn affecting on your cluster.

Have you made any recent changes to the network?

One thing you could try is rather than trying to delete the cluster via gcloud container clusters delete you could try deleting the instance group that governs that cluster, or reduce the amount of instances in that instance group to 0. If you are able to this, it would at least reduce your current expenditure for the resources you're currently not using.

There is also some information here that suggests draining the pods before you attempt this.

If this works, you could then try recreating the default network/removing the troublesome current one.

neilH
  • 977
  • 1
  • 6
  • 16
  • 1
    thanks for the answer, my account was in billing inactive state but the error was about the network, anyways I was able to fix it by paying. – Rafael Gonçalves Nov 20 '17 at 13:06