- 配置文件:~/.kube/config
- kubectl version
- kubectl config set-context test-context --namespace test-namespace
- kubectl config use-context test-context
- kubectl get pods
- kubectl logs -f pod_name
- kubectl describe pod pod_name
本文标题:k8s基础
本文链接:https://www.haomeiwen.com/subject/mrjmnctx.html
网友评论