diff options
author | Andrew Butcher <abutcher@redhat.com> | 2015-12-02 13:51:18 -0500 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2015-12-02 16:19:04 -0500 |
commit | 63b69a9eb20fea3696963d4ce02eea14d5ef4c53 (patch) | |
tree | 7ea185e711bbf102322346b63d13ee3bd7536a51 | |
parent | ebf659b0c1775f9be3e52a8ef420d568656c10f9 (diff) | |
download | openshift-63b69a9eb20fea3696963d4ce02eea14d5ef4c53.tar.gz openshift-63b69a9eb20fea3696963d4ce02eea14d5ef4c53.tar.bz2 openshift-63b69a9eb20fea3696963d4ce02eea14d5ef4c53.tar.xz openshift-63b69a9eb20fea3696963d4ce02eea14d5ef4c53.zip |
Configured master count should be 1 for pacemaker ha.
-rw-r--r-- | roles/openshift_master/templates/master.yaml.v1.j2 | 2 |
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: |