-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathhosts.3master.ocp
50 lines (40 loc) · 1.64 KB
/
hosts.3master.ocp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Create an OSEv3 group that contains the masters and nodes groups
[OSEv3:children]
masters
nodes
lb
etcd
# Set variables common for all OSEv3 hosts
[OSEv3:vars]
# SSH user, this user should allow ssh based auth without requiring a password
ansible_ssh_user=root
openshift_hosted_metrics_deploy=false
openshift_release=v3.6
# If ansible_ssh_user is not root, ansible_become must be set to true
#ansible_become=true
deployment_type=openshift-enterprise
openshift_master_cluster_hostname=ocp.nozell.com
openshift_master_cluster_public_hostname=ocp.nozell.com
openshift_master_default_subdomain=apps.nozell.com
# uncomment the following to enable htpasswd authentication; defaults to DenyAllPasswordIdentityProvider
openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/origin/master/htpasswd'}]
# enable ntp on masters to ensure proper failover
openshift_clock_enabled=true
openshift_master_cluster_method=native
# host group for masters
[masters]
master0.gwiki.org
master1.gwiki.org
master2.gwiki.org
# host group for nodes, includes region info
[nodes]
master0.gwiki.org openshift_node_labels="{'region': 'infra', 'zone': 'default'}" openshift_schedulable=true
master1.gwiki.org openshift_node_labels="{'region': 'infra', 'zone': 'default'}" openshift_schedulable=true
master2.gwiki.org openshift_node_labels="{'region': 'infra', 'zone': 'default'}" openshift_schedulable=true
node0.gwiki.org openshift_node_labels="{'region': 'primary', 'zone': 'east'}" openshift_schedulable=true
[lb]
node1.gwiki.org
[etcd]
master0.gwiki.org
master1.gwiki.org
master2.gwiki.org