请在任意节点执行以下步骤验证ClusterD的安装状态。
- 通过如下命令查看K8s集群中ClusterD的Pod,需要满足Pod的数量为1,STATUS为Running,READY为1/1。
kubectl get pods -n mindx-dl -o wide | grep clusterd
回显示例:
| clusterd-7844cb867d-fwcj7 0/1 Running 0 2m14s <none> node133 <none> <none>
|
- 执行以下命令,查询ClusterD的Pod日志。
kubectl logs -f -n mindx-dl {ClusterD组件的Pod名字}
回显示例如下,表示组件正常运行。
| [INFO] 2024/07/24 13:58:30.602051 CST 1 hwlog@v0.10.12/api.go:105 cluster-info.log's logger init success
W0724 13:58:30.602197 1 client_config.go:617] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
[INFO] 2024/07/24 13:58:30.603416 CST 1 grpc/grpc_init.go:57 cluster info server start listen
...
W0724 13:58:30.621433 1 client_config.go:617] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
[INFO] 2024/07/24 13:58:30.621911 CST 258 job/factory.go:172 delete job summary cm goroutine started
|