kubectl get pods -n mindx-dl -o wide
回显示例:
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES ... noded-bnmwt 1/1 Running 10 40d 192.168.41.28 ubuntu <none> <none> ...
kubectl logs -n mindx-dl {NodeD组件的Pod名字}
回显示例如下,表示组件运行正常。
... W0306 14:15:58.269151 1 client_config.go:617] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work. [INFO] 2024/03/06 14:15:58.268728 1 hwlog/api.go:108 noded.log's logger init success [INFO] 2024/03/06 14:15:58.269103 1 ascend-noded/main.go:84 noded starting and the version is v6.0.RC1_linux-aarch64 [INFO] 2024/03/06 14:15:58.281423 1 config/configurator.go:108 init config from config map success [INFO] 2024/03/06 14:15:58.381452 301 monitor/monitor_manager.go:81 send heartbeat: 1709705758, heartbeat interval: 5 [INFO] 2024/03/06 14:16:03.384297 301 monitor/monitor_manager.go:81 send heartbeat: 1709705763, heartbeat interval: 5 ...