Browse Source

Configured master count should be 1 for pacemaker ha.

Andrew Butcher 9 years ago
parent
commit
63b69a9eb2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_master/templates/master.yaml.v1.j2

+ 1 - 1
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: