OpenShift: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 43: | Line 43: | ||
= Ansible Configuration = |
= Ansible Configuration = |
||
sudo nano /etc/ansible/hosts |
|||
<pre> |
|||
[OSEv3:children] |
|||
masters |
|||
nodes |
|||
etcd |
|||
# Set variables common for all OSEv3 hosts |
|||
[OSEv3:vars] |
|||
ansible_ssh_user=root |
|||
openshift_deployment_type=origin |
|||
openshift_master_identity_providers=[{‘name’: ‘htpasswd_auth’, ‘login’: ‘true’, ‘challenge’: ‘true’, ‘kind’: ‘HTPasswdPasswordIdentityProvider’, ‘filename’: ‘/etc/origin/master/htpasswd’}] |
|||
#openshift_master_identity_providers=[{‘name’: ‘htpasswd_auth’, ‘login’: ‘true’, ‘challenge’: ‘true’, ‘kind’: ‘HTPasswdPasswordIdentityProvider’}] |
|||
os_sdn_network_plugin_name=redhat/openshift-ovs-multitenant |
|||
openshift_disable_check=memory_availability |
|||
#openshift_release=v3.7 |
|||
# host group for masters |
|||
[masters] |
|||
master openshift_hostname=master openshift_public_hostname=master |
|||
[etcd] |
|||
master |
|||
# host group for nodes, includes region info |
|||
[nodes] |
|||
master openshift_node_labels=“{‘region’: ‘infra’, ‘zone’: ‘default’}” openshift_hostname=master openshift_public_hostname=master |
|||
node1 openshift_node_labels=“{‘region’: ‘primary’, ‘zone’: ‘east’}” openshift_hostname=node1 openshift_public_hostname=node1 |
|||
node2 openshift_node_labels=“{‘region’: ‘primary’, ‘zone’: ‘west’}” openshift_hostname=node2 openshift_public_hostname=node2 |
|||
</pre> |
|||
= OpenShift Instrallation = |
= OpenShift Instrallation = |