Skip to content

Instantly share code, notes, and snippets.

@kareiva
Created June 5, 2018 12:37
Show Gist options
  • Save kareiva/78c378ac3d4564be91024c11922b4ec1 to your computer and use it in GitHub Desktop.
Save kareiva/78c378ac3d4564be91024c11922b4ec1 to your computer and use it in GitHub Desktop.
[OSEv3:children]
masters
nodes
etcd
glusterfs
[OSEv3:vars]
ansible_ssh_user=centos
ansible_become=true
enable_excluders=false
containerized=true
#openshift_version=3.9.0
openshift_release=v3.9
openshift_image_tag=v3.9.0
openshift_pkg_version=-3.9.0
openshift_rpm_version=-3.9.0
openshift_use_dnsmasq=true
openshift_service_type=origin
openshift_deployment_type=origin
openshift_ansible_branch=master
openshift_disable_check=memory_availability,docker_image_availability
openshift_metrics_install_metrics=True
openshift_metrics_cassandra_replicas=2
openshift_metrics_image_version=v3.9
openshift_metrics_hawkular_hostname=hawkular-metrics.app.kodo.lt
openshift_metrics_cassandra_storage_type=dynamic
openshift_metrics_cassandra_requests_memory=2Gi
openshift_metrics_cassandra_limits_memory=4Gi
openshift_hosted_prometheus_deploy=true
openshift_prometheus_storage_type=pvc
# openshift_hosted_registry_storage_kind=glusterfs
# openshift_master_named_certificates=[{"certfile": "/etc/letsencrypt/live/openshift.kodo.lt/fullchain.pem", "keyfile": "/etc/letsencrypt/live/openshift.kodo.lt/privkey.pem", "names": ["openshift.kodo.lt"]}]
openshift_master_overwrite_named_certificates=true
openshift_master_default_subdomain=app.kodo.lt
openshift_master_cluster_public_hostname=openshift.kodo.lt
openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/origin/master/htpasswd'}]
openshift_master_htpasswd_users={'admin':'$apr1$tOZDVXPA$jk9j8ZPgq21PriFLB2CRl1','developer':'$apr1$DMVmk29S$8dMO3j7r71J9BDEq8q3eh/','darius':'$apr1$lwAfFcJP$.CzneyyG7FRUktUz00yFa/'}
[masters]
openshift0[1:3].kodo.lt
[etcd]
openshift0[1:3].kodo.lt
# host group for nodes, includes region info
[nodes]
openshift0[1:3].kodo.lt openshift_schedulable=true openshift_node_labels="{'region': 'infra', 'zone': 'north'}"
openshift04.kodo.lt openshift_node_labels="{'region': 'primary', 'zone': 'south', 'logging-es-node': '1'}"
openshift05.kodo.lt openshift_node_labels="{'region': 'primary', 'zone': 'east', 'logging-es-node': '2'}"
openshift06.kodo.lt openshift_node_labels="{'region': 'primary', 'zone': 'west', 'logging-es-node': '3'}"
[glusterfs]
openshift0[4:6].kodo.lt glusterfs_devices='[ "/dev/sdc" ]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment