浏览代码

enable excluders during node/master scaling up

Jan Chaloupka 8 年之前
父节点
当前提交
8cdc8ef6d6
共有 2 个文件被更改,包括 22 次插入0 次删除
  1. 11 0
      playbooks/common/openshift-master/scaleup.yml
  2. 11 0
      playbooks/common/openshift-node/scaleup.yml

+ 11 - 0
playbooks/common/openshift-master/scaleup.yml

@@ -60,8 +60,19 @@
   - openshift_facts
   - openshift_docker
 
+- include: ../openshift-cluster/disable_excluder.yml
+  vars:
+    # the excluders needs to be disabled no matter what status says
+    with_status_check: false
+  tags:
+  - always
+
 - include: ../openshift-master/config.yml
 
 - include: ../openshift-loadbalancer/config.yml
 
 - include: ../openshift-node/config.yml
+
+- include: ../openshift-cluster/reset_excluder.yml
+  tags:
+  - always

+ 11 - 0
playbooks/common/openshift-node/scaleup.yml

@@ -27,4 +27,15 @@
   - openshift_facts
   - openshift_docker
 
+- include: ../openshift-cluster/disable_excluder.yml
+  vars:
+    # the excluders needs to be disabled no matter what status says
+    with_status_check: false
+  tags:
+  - always
+
 - include: ../openshift-node/config.yml
+
+- include: ../openshift-cluster/reset_excluder.yml
+  tags:
+  - always