Files
jenkins-pipeline/k8s_yaml/kubectl 命令/常用命令.md

5 lines
192 B
Markdown
Raw Normal View History

2025-10-30 11:20:06 +08:00
# 查看pod日志
kubectl logs --tail=10 test-flymoon-admin-deployment-964fb6b74-ns4br -n test-lessie
# 查看指定命名空间的 Pod 和节点信息
kubectl get pods -n test-lessie -o wide