摘要: # nginx-pod.yaml apiVersion: v1 kind: Pod metadata: name: nginx labels: app: nginx spec: containers: - name: nginx image: nginx:alpine ports: - contai 阅读全文
posted @ 2021-09-17 11:27 詹姆溪 阅读(162) 评论(0) 推荐(0) 编辑
摘要: # 允许master节点部署 kubectl taint nodes --all node-role.kubernetes.io/master- # 禁止master节点部署 kubectl taint nodes k8s node-role.kubernetes.io/master=true:No 阅读全文
posted @ 2021-09-17 11:04 詹姆溪 阅读(287) 评论(0) 推荐(0) 编辑
摘要: # 下载flannel镜像(快速下载链接:https://yanfayun.oss-cn-shenzhen.aliyuncs.com/app/816683262184259584/graph/flanneld-v0.14.0-amd64.docker) https://github.com/flan 阅读全文
posted @ 2021-09-17 10:38 詹姆溪 阅读(332) 评论(0) 推荐(0) 编辑