您的位置:首页 > 游戏 > 游戏 > 免费app下载_搜索引擎优化的专家是什么意思_谷歌chrome手机版_国内搜索引擎排名

免费app下载_搜索引擎优化的专家是什么意思_谷歌chrome手机版_国内搜索引擎排名

2024/9/23 6:35:59 来源:https://blog.csdn.net/weixin_43924419/article/details/142345222  浏览:    关键词:免费app下载_搜索引擎优化的专家是什么意思_谷歌chrome手机版_国内搜索引擎排名
免费app下载_搜索引擎优化的专家是什么意思_谷歌chrome手机版_国内搜索引擎排名
  1. kubectl get nodes :查看节点的状态

  2. 查看Pod的状态:

    1. kubectl get pod --all -namespaces
    2. Pending,ContainerCreating,ImagePullBackOff都表明Pod没有就绪,Running才是就绪状态
  3. 查看Pod的具体情况:

    1. kubectl describe pod podname
    2. kubectl describe pod kube-flannel-ds-v0p3x 00 --namesapce=kube-system
  4. kubectl get pod --all-namespace -o wide在这里插入图片描述

  5. sudo systemctl status kubelet.service:查看kubelet的状态

  6. 执行命令部署应用:kubectl run httpd-app --image=httpd --replicas=2

  7. kubectl get deployment:查看部署的应用

  8. kubectl get pod -o wide:查看pod的具体信息

  9. kubectl apply -f nginx.yml:创建nginx应用,nginx.yml需要自己创建

  10. kubectl delete deployment nginx-deployment或者kubectl delete -f nginx.yml 删除创建的应用

  11. kubectl label node k8s-node1 disktype=ssd:标注k8s-node1是配置了SSD的节点

  12. 通过kubectl get node --show-labels查看节点的label

  13. 删除label disktype命令:kubectl label node k8s-node1 disktype-

  14. kubectl get daemonset --namespace=kube-system:查看守护进程

  15. kubectl edit daemonset kube-proxy --namespace=kube-system查看kube-proxy配置

  16. kubectl get job 查看Job的状态

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com