summaryrefslogtreecommitdiffstats
path: root/roles/kuryr
diff options
context:
space:
mode:
authorjihoon.o <jihoon.o@samsung.com>2017-12-14 16:39:12 +0900
committerjihoon.o <jihoon.o@samsung.com>2017-12-14 16:39:12 +0900
commitb9bef842c1e0010fdbabaee51cdd5a5defa2e5a3 (patch)
tree2eb9aa60ad66e546b5a72d732ac1de51f052d849 /roles/kuryr
parent34f248849d0963403f7939d5b229381374d025a7 (diff)
downloadopenshift-b9bef842c1e0010fdbabaee51cdd5a5defa2e5a3.tar.gz
openshift-b9bef842c1e0010fdbabaee51cdd5a5defa2e5a3.tar.bz2
openshift-b9bef842c1e0010fdbabaee51cdd5a5defa2e5a3.tar.xz
openshift-b9bef842c1e0010fdbabaee51cdd5a5defa2e5a3.zip
Support master node high availability
Diffstat (limited to 'roles/kuryr')
-rw-r--r--roles/kuryr/tasks/master.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/kuryr/tasks/master.yaml b/roles/kuryr/tasks/master.yaml
index 1cc6d2375..4f9dd82de 100644
--- a/roles/kuryr/tasks/master.yaml
+++ b/roles/kuryr/tasks/master.yaml
@@ -1,6 +1,7 @@
---
- name: Perform OpenShift ServiceAccount config
include_tasks: serviceaccount.yaml
+ run_once: true
- name: Create kuryr manifests tempdir
command: mktemp -d
@@ -32,6 +33,7 @@
namespace: "{{ kuryr_namespace }}"
files:
- "{{ manifests_tmpdir.stdout }}/configmap.yaml"
+ run_once: true
- name: Apply Controller Deployment manifest
oc_obj:
@@ -41,6 +43,7 @@
namespace: "{{ kuryr_namespace }}"
files:
- "{{ manifests_tmpdir.stdout }}/controller-deployment.yaml"
+ run_once: true
- name: Apply kuryr-cni DaemonSet manifest
oc_obj:
@@ -50,3 +53,4 @@
namespace: "{{ kuryr_namespace }}"
files:
- "{{ manifests_tmpdir.stdout }}/cni-daemonset.yaml"
+ run_once: true