polardbxoperatordocs/ops/component/cn/3-cn-pod-login.md

15 lines
376 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

登录计算节点
=======
## 登录 Pod
如果 CN 处于 ready 状态,执行如下命令即可登录 CN Pod
```shell
kubectl exec -it {pod 名} bash
```
如果CN pod 因为探活失败处于 Crash 状态可以通过如下命令关闭探活让pod 处于 ready 状态后再执行上述命令登录 pod。
```shell
kubectl annotate pod {pod 名} runmode=debug
```