How to resolve "The Cluster has some problem" status in GKE Cluster?

1/12/2020

We have newly started using GKE. I have spinned up a cluster and worked on it actively for a week. To avoid unnecessary billing I have detached billing account from it and hence no resources were active on that account. Now when I need to work again I have attached a billing account with GKE. Now earlier Cluster and components appear to came up but I can see an error at cluster level that says "The cluster has some problem". When I checked under nodes tab in Cluster it shows "Couldn't get data from Cluster". In Compute engine it shows no issue but at Cluster it shows these errors. I thought its taking time to attach node to Cluster tried restarting cluster couple of times . No use . Can someone please suggest.

-- Chaitu
google-cloud-platform
google-kubernetes-engine

1 Answer

1/13/2020

At first, I recommend to check if your project linked is linked to your billing account and try to disable and re-enable billing again. Then, check status of your cluster with commands kubectl cluster-info, kubectl get pod -n kube-system, kubectl get nodes and kubectl describe node <node>. Also, check logs at Stackdriver -> Logging -> Logs viewer for any errors. If you found no errors - try to contact Billing Support.

-- Serhii Rohoza
Source: StackOverflow