2021年2月26日

k8s对work node打标签

摘要: $ kubectl label node k8s-work01 env_role=prod 阅读全文

posted @ 2021-02-26 22:00 五月の花 阅读(141) 评论(0) 推荐(0) 编辑

k8s kubectl命令生成yaml文件

摘要: 1、kubectl create 生成yaml $ kubectl create deployment web --image=nginx -o yaml --dry-run > my1.yaml 2、kubectl get 导出yaml $ kubectl get deploy nginx -o= 阅读全文

posted @ 2021-02-26 21:12 五月の花 阅读(5859) 评论(2) 推荐(1) 编辑

nginx bad 400

摘要: 1 server { 2 listen 80; 3 server_name product.yuffie132.edu; 4 5 location /static { 6 root html; 7 } 8 9 location / { 10 root html; 11 index index.htm 阅读全文

posted @ 2021-02-26 09:29 五月の花 阅读(64) 评论(0) 推荐(0) 编辑

导航