There can be several possible reasons for a cluster to get block in the "Creating" state:
- The Pods of the components are unable to become ready, with possible states like ImagePullBackOff,Pending,CrashBackLoopOff etc
- The metadata of the metadb in GMS is not prepared successfully
- Unable to retrieve the version from CN
- ...
The troubleshooting approach mainly involves two steps:
- Check the status of the Pods in the cluster to see if there are any Pods in abnormal states
- Check the polardbx-operator logs,for any ERROR logs related to the cluster
kubectl get pods -l polardbx/name={name}
Pod Status | Possible Causes | Troubleshooting Steps |
---|---|---|
|
Image pull failure
|
Use kubectl describe to further determine the issue
|
|
Insufficient resources | Use kubectl describe to further determine the issue
|
|
|
Use kubectl describe to further determine the issue
|