mirror of https://github.com/easzlab/kubeasz.git
cni-calico参数调整,minor changes
parent
a850af10c4
commit
b904133b13
|
@ -6,8 +6,8 @@
|
||||||
# 集群节点的公共配置任务
|
# 集群节点的公共配置任务
|
||||||
- hosts:
|
- hosts:
|
||||||
- kube-cluster
|
- kube-cluster
|
||||||
|
- deploy
|
||||||
- etcd
|
- etcd
|
||||||
- lb
|
|
||||||
roles:
|
roles:
|
||||||
- prepare
|
- prepare
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
- hosts:
|
- hosts:
|
||||||
- kube-cluster
|
- kube-cluster
|
||||||
- lb
|
- deploy
|
||||||
roles:
|
roles:
|
||||||
- kubectl
|
- kubectl
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# 警告:此脚本将清理真个K8S集群,包括所有POD、ETCD数据等
|
||||||
|
# 请三思后运行改脚本 ansible-playbook 99.clean.yml
|
||||||
- hosts: kube-cluster
|
- hosts: kube-cluster
|
||||||
tasks:
|
tasks:
|
||||||
- name: stop calico-node service
|
- name: stop calico-node service
|
|
@ -12,7 +12,7 @@
|
||||||
"type": "calico-ipam"
|
"type": "calico-ipam"
|
||||||
},
|
},
|
||||||
"policy": {
|
"policy": {
|
||||||
"type": "k8s",
|
"type": "k8s"
|
||||||
},
|
},
|
||||||
"kubernetes": {
|
"kubernetes": {
|
||||||
"kubeconfig": "/root/.kube/config"
|
"kubeconfig": "/root/.kube/config"
|
||||||
|
|
Loading…
Reference in New Issue