Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用kind创建集群是,所有节点一直处于creating状态 #60

Closed
lichx123 opened this issue Jun 1, 2022 · 2 comments
Closed

用kind创建集群是,所有节点一直处于creating状态 #60

lichx123 opened this issue Jun 1, 2022 · 2 comments

Comments

@lichx123
Copy link

lichx123 commented Jun 1, 2022

[root@my_ob ~]# kubectl get polardbxcluster -w
NAME GMS CN DN CDC PHASE DISK AGE
quick-start 0/1 0/1 0/1 0/1 Creating 8m6s

@Cleverdada
Copy link

集群创建卡在 Creating 状态有几种可能的原因
● 组件的 Pod 始终无法 ready,可能的状态可能有 ImagePullBackOff,Pending,CrashBackLoopOff 等
● GMS 中 metadb 的元数据无法准备完成
● 无法从 CN 处获取版本
● ...

排查思路主要是两个:

  1. 查看本集群 Pod 状态,看是否有异常状态的 Pod
    kubectl get pods -l polardbx/name={集群名}

image

  1. 查看 polardbx-operator 日志,查看是否有对应集群的 ERROR 日志, 根据报错再具体分析, 命令如下:
    kubectl -n $namespace logs $container_name

@vettalwu
Copy link
Collaborator

Close issue after no response for a long time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants