-
Notifications
You must be signed in to change notification settings - Fork 4
/
etc_ansible_hosts
64 lines (51 loc) · 2.41 KB
/
etc_ansible_hosts
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Create an OSEv3 group that contains the masters and nodes groups
[OSEv3:children]
masters
nodes
etcd
nfs
# Set variables common for all OSEv3 hosts
[OSEv3:vars]
ansible_ssh_user=root
ansible_become=true
deployment_type=origin
debug_level=2
openshift_release=v3.7
openshift_disable_check=memory_availability,disk_availability,docker_storage_driver,docker_image_availability
# 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'}]
#Ansible s'occupera de l'installation docker
docker_version='1.12.6'
#Configure the multi-tenant SDN plugin (default is 'redhat/openshift-ovs-subnet'
os_sdn_network_plugin_name='redhat/openshift-ovs-multitenant'
openshift_master_cluster_method=native
openshift_master_cluster_hostname=paas.wescale.fr
openshift_master_cluster_public_hostname=paas.wescale.fr
openshift_master_default_subdomain=apps.wescale.fr
openshift_master_public_console_url=https://paas.wescale.fr:8443/console
osm_default_node_selector='region=apps'
openshift_hosted_registry_selector='region=infra'
openshift_hosted_registry_replicas=1
openshift_hosted_registry_storage_kind=nfs
openshift_hosted_registry_storage_access_modes=['ReadWriteMany']
openshift_hosted_registry_storage_host=paas.wescale.fr
#openshift_hosted_registry_storage_host=nfs.wescale.fr
openshift_hosted_registry_storage_nfs_directory=/srv/nfs
openshift_hosted_registry_storage_volume_name=registry
openshift_hosted_registry_storage_volume_size=2Gi
#Configuration du node
# Commenting out 'pods-per-core' variable. Getting error while this value is in place:
#openshift_node_kubelet_args={'max-pods': [’40’], 'image-gc-high-threshold': ['90'], 'image-gc-low-threshold': ['80']}
[etcd]
paas.wescale.fr openshift_ip=192.168.50.20
# host group for masters
[masters]
paas.wescale.fr openshift_ip=192.168.50.20
# host group for nodes, includes region info
[nodes]
paas.wescale.fr openshift_node_labels="{'region': 'master', 'zone': 'east'}" openshift_ip=192.168.50.20
paas-node-infra.wescale.fr openshift_node_labels="{'region': 'infra', 'zone': 'east'}" openshift_ip=192.168.50.21
paas-node-app.wescale.fr openshift_node_labels="{'region': 'apps', 'zone': 'west'}" openshift_ip=192.168.50.22
[nfs]
#nfs.wescale.fr openshift_ip
paas.wescale.fr