Skip to content

Instantly share code, notes, and snippets.

@marciodf
Last active Mar 25, 2020
Embed
What would you like to do?
Laboratorio OCP 3.11 backup - 1 master, 1 infra e 2 app nodes
[OSEv3:children]
masters
nodes
etcd
glusterfs
[etcd]
master1.contoso.int openshift_public_hostname=master1.contoso.int
[masters]
master1.contoso.int openshift_public_hostname=master1.contoso.int
[nodes]
master1.contoso.int openshift_public_hostname=master1.contoso.int openshift_node_group_name='node-config-master'
infra1.contoso.int openshift_public_hostname=infra1.contoso.int openshift_node_group_name='node-config-infra'
app1.contoso.int openshift_public_hostname=app1.contoso.int openshift_node_group_name='node-config-compute'
app2.contoso.int openshift_public_hostname=app2.contoso.int openshift_node_group_name='node-config-compute'
[glusterfs]
infra1.contoso.int glusterfs_zone=1 glusterfs_devices='["/dev/vdb"]'
app1.contoso.int glusterfs_zone=2 glusterfs_devices='["/dev/vdb"]'
app2.contoso.int glusterfs_zone=3 glusterfs_devices='["/dev/vdb"]'
[OSEv3:vars]
ansible_ssh_user=root
ansible_become=false
debug_level=2
openshift_release=v3.11
openshift_deployment_type=openshift-enterprise
oreg_url=registry.redhat.io/openshift3/ose-${component}:${version}
oreg_auth_user=xxxx|xxx
oreg_auth_password=
# registry
openshift_hosted_registry_storage_kind=glusterfs
openshift_hosted_registry_storage_volume_size=10Gi
openshift_hosted_registry_selector="node-role.kubernetes.io/infra=true"
# prometheous operator
openshift_cluster_monitoring_operator_install=true
openshift_cluster_monitoring_operator_node_selector={"node-role.kubernetes.io/infra":"true"}
openshift_cluster_monitoring_operator_prometheus_storage_enabled=true
openshift_cluster_monitoring_operator_alertmanager_storage_enabled=true
openshift_cluster_monitoring_operator_prometheus_storage_capacity=20Gi
openshift_cluster_monitoring_operator_alertmanager_storage_capacity=2Gi
openshift_cluster_monitoring_operator_prometheus_storage_class_name='glusterfs-storage-block'
openshift_cluster_monitoring_operator_alertmanager_storage_class_name='glusterfs-storage-block'
# Container image to use for glusterfs pods
openshift_storage_glusterfs_image="registry.redhat.io/rhgs3/rhgs-server-rhel7:v3.11"
# Container image to use for glusterblock-provisioner pod
openshift_storage_glusterfs_block_image="registry.redhat.io/rhgs3/rhgs-gluster-block-prov-rhel7:v3.11"
# Container image to use for heketi pods
openshift_storage_glusterfs_heketi_image="registry.redhat.io/rhgs3/rhgs-volmanager-rhel7:v3.11"
# OCS storage cluster
openshift_storage_glusterfs_namespace=app-storage
openshift_storage_glusterfs_storageclass=true
openshift_storage_glusterfs_storageclass_default=false
openshift_storage_glusterfs_block_deploy=true
openshift_storage_glusterfs_block_host_vol_create=true
openshift_storage_glusterfs_block_host_vol_size=0
openshift_storage_glusterfs_block_storageclass=true
openshift_storage_glusterfs_block_storageclass_default=false
openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider'}]
openshift_master_htpasswd_users={'admin': 'boeing-737', 'superadmin': 'boeing-737'}
openshift_install_examples=true
openshift_master_default_subdomain=apps.contoso.int
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment