summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2015-12-02 13:51:18 -0500
committerAndrew Butcher <abutcher@redhat.com>2015-12-02 16:19:04 -0500
commit63b69a9eb20fea3696963d4ce02eea14d5ef4c53 (patch)
tree7ea185e711bbf102322346b63d13ee3bd7536a51 /roles
parentebf659b0c1775f9be3e52a8ef420d568656c10f9 (diff)
downloadopenshift-63b69a9eb20fea3696963d4ce02eea14d5ef4c53.tar.gz
openshift-63b69a9eb20fea3696963d4ce02eea14d5ef4c53.tar.bz2
openshift-63b69a9eb20fea3696963d4ce02eea14d5ef4c53.tar.xz
openshift-63b69a9eb20fea3696963d4ce02eea14d5ef4c53.zip
Configured master count should be 1 for pacemaker ha.
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_master/templates/master.yaml.v1.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_master/templates/master.yaml.v1.j2 b/roles/openshift_master/templates/master.yaml.v1.j2
index 9f4a17f0a..cadb02fa3 100644
--- a/roles/openshift_master/templates/master.yaml.v1.j2
+++ b/roles/openshift_master/templates/master.yaml.v1.j2
@@ -83,7 +83,7 @@ kubernetesMasterConfig:
{% endif %}
apiServerArguments: {{ api_server_args if api_server_args is defined else 'null' }}
controllerArguments: {{ controller_args if controller_args is defined else 'null' }}
- masterCount: {{ openshift.master.master_count }}
+ masterCount: {{ openshift.master.master_count if openshift.master.cluster_method | default(None) == 'native' else 1 }}
masterIP: {{ openshift.common.ip }}
podEvictionTimeout: ""
proxyClientInfo: