minor fix

pull/204/head
gjmzj 2018-05-23 09:45:06 +08:00
parent fe1e5a65a5
commit 14052386df
1 changed files with 4 additions and 0 deletions

View File

@ -47,6 +47,10 @@
when: DEPLOY_MODE != "allinone" when: DEPLOY_MODE != "allinone"
ignore_errors: true ignore_errors: true
- name: 设置master节点role
shell: "{{ bin_dir }}/kubectl label node {{ NODE_IP }} kubernetes.io/role=master --overwrite"
ignore_errors: true
# node 节点部署 # node 节点部署
- hosts: kube-node - hosts: kube-node
roles: roles: