Pearl1594 commented on issue #5999: URL: https://github.com/apache/cloudstack/issues/5999#issuecomment-1042634578
@edikevich The following code snippet : https://github.com/apache/cloudstack/blob/4.15.2.0/plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/actionworkers/KubernetesClusterStartWorker.java#L565-L574 explains the 3 checks that are done before marking the cluster to be ready / puts it in Running state: 1. No of nodes are equal to what was initially configured when deploying the cluster - using kubectl get nodes 2. If the kubernetes config is available - It checks if `cat /etc/kubernetes/admin.conf` is available - if not it logs: `Failed to retrieve kube-config file for Kubernetes cluster` - It is worth checking in your logs if you see the following logs. 3. If the dashboard service is up and running - using kubectl get pods After about an hour the Kubernetes Cluster would have ended in Error state, could you please share what reason was logged for it to enter Error state. This might help us understand the issue. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
