参考资料库

Kubernetes 速查表

用于 pod、service、日志、发布和 context 检查的 kubectl 命令。

Get pods

参考: List pods in the current namespace.

kubectl get pods

Describe pod

参考: Inspect events and scheduling details.

kubectl describe pod <name>

Logs

参考: Read deployment logs.

kubectl logs deploy/<name>

Rollout status

参考: Watch deployment progress.

kubectl rollout status deploy/<name>

相关工具