ClusterD

请在任意节点执行以下步骤验证ClusterD的安装状态。

  1. 通过如下命令查看K8s集群中ClusterDPod,需要满足Pod的数量为1,STATUS为Running,READY为1/1。

    kubectl get pods -n mindx-dl -o wide | grep clusterd
    回显示例:
    1
    clusterd-7844cb867d-fwcj7   0/1     Running   0          2m14s   <none>   node133   <none>           <none>
    

  2. 执行以下命令,查询ClusterDPod日志。

    kubectl logs -f -n mindx-dl {ClusterD组件的Pod名字}
    回显示例如下,表示组件正常运行。
    1
    2
    3
    4
    5
    6
    [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