Skip to content

Instantly share code, notes, and snippets.

@marciodf
Last active Feb 11, 2019
Embed
What would you like to do?
inventario lab: 1 master e 2 app nodes
[OSEv3:children]
masters
nodes
etcd
glusterfs
glusterfs_registry
[OSEv3:vars]
ansible_ssh_user=root
openshift_deployment_type=openshift-enterprise
oreg_url=registry.redhat.io/openshift3/ose-${component}:${version}
oreg_auth_user="<user generated by registry service account>"
oreg_auth_password="<key generated by registry service account>"
openshift_examples_modify_imagestreams=true
openshift_master_identity_providers=[{'name': 'Local', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider'}]
openshift_master_htpasswd_users={'admin': 'Contoso', 'superadmin': 'Contoso'}
openshift_master_default_subdomain=apps.contoso.com
openshift_install_examples=true
os_sdn_network_plugin_name='redhat/openshift-ovs-networkpolicy'
openshift_clock_enabled=true
openshift_disable_check=memory_availability,disk_availability,docker_storage,docker_storage_driver
openshift_hosted_registry_storage_kind=glusterfs
openshift_hosted_registry_storage_volume_size=5Gi
openshift_hosted_registry_selector='node-role.kubernetes.io/infra=true'
openshift_enable_olm=true
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_size=100
openshift_storage_glusterfs_block_storageclass=true
openshift_storage_glusterfs_block_storageclass_default=false
openshift_additional_registry_credentials=[{'host':'registry.connect.redhat.com','user':'<user generated by registry service account','password':'<key generated by registry service account>','test_image':'mongodb/enterprise-operator:0.3.2'}]
[masters]
master1.contoso.com
# host group for etcd
[etcd]
master1.contoso.com
# host group for nodes, includes region info
[nodes]
master1.contoso.com openshift_node_group_name='node-config-master-infra'
app1.contoso.com openshift_node_group_name='node-config-compute'
app2.contoso.com openshift_node_group_name='node-config-compute'
[glusterfs]
master1.contoso.com glusterfs_devices='["/dev/vdd"]'
app1.contoso.com glusterfs_devices='["/dev/vdd"]'
app2.contoso.com glusterfs_devices='["/dev/vdd"]'
[glusterfs_registry]
master1.contoso.com glusterfs_devices='["/dev/vdc"]'
app1.contoso.com glusterfs_devices='["/dev/vdc"]'
app2.contoso.com glusterfs_devices='["/dev/vdc"]'
@marciodf
Copy link
Author

marciodf commented Feb 11, 2019

Simple lab for Openshift 3.11 with 1 Master/Infra and 2 App nodes.
3 Servers and 4 Disks for each server.
Master/Infra: 16Gb RAM , 4 Cores , 4 Disks (RHEL 7.5=30Gb, Docker Storage=80Gb, Registry Storage=80Gb and PVC - Persistent Volume Claim=80Gb)
App 1 e 2 nodes : 8Gb RAM, 2 Cores, 4 Disks (RHEL 7.5=30Gb, Docker Storage=80Gb, Registry Storage=80Gb and PVC - Persistent Volume Claim=80Gb)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment