-
-
Save rhefner/f50283b1e01ba1ac8d5208c03b5bc2b7 to your computer and use it in GitHub Desktop.
Example Openshift Ansible hosts file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [OSEv3:children] | |
| masters | |
| nodes | |
| [OSEv3:vars] | |
| ansible_ssh_user=root | |
| deployment_type=origin | |
| openshift_release=v3.6 | |
| openshift_image_tag=v3.6.0 | |
| openshift_use_dnsmasq=true | |
| #openshift_release=v1.5 | |
| #openshift_image_tag=v1.5.1 | |
| # For Openshift Metrics v3.6.0 - Evidently etcd needs changing soon.. | |
| openshift_master_unsupported_embedded_etcd=true | |
| openshift_docker_selinux_enabled=True | |
| openshift_docker_insecure_registries="172.30.0.0/16" | |
| openshift_docker_disable_push_dockerhub=True | |
| openshift_metrics_install_metrics=true | |
| openshift_metrics_project=openshift-infra | |
| #openshift_metrics_image_version=v3.6.0 | |
| openshift_metrics_image_version=v1.5.1 | |
| openshift_metrics_duration=90 | |
| openshift_metrics_cassandra_replicas=2 | |
| openshift_metrics_cassandra_storage_type=pv | |
| openshift_metrics_cassandra_pvc_prefix=metrics-cassandra | |
| openshift_metrics_cassandra_pvc_size=50Gi | |
| openshift_metrics_cassandra_requests_cpu=500m | |
| openshift_metrics_cassandra_limits_cpu=1000m | |
| openshift_metrics_cassandra_requests_memory=1Gi | |
| openshift_metrics_cassandra_limits_memory=2Gi | |
| openshift_metrics_hawkular_replicas=1 | |
| openshift_metrics_hawkular_hostname="shift-metrics.example.com" | |
| openshift_metrics_master_url="https://kubernetes.default.svc.cluster.local" | |
| openshift_metrics_hawkular_requests_cpu=1000m | |
| openshift_metrics_hawkular_limits_cpu=2000m | |
| openshift_metrics_hawkular_requests_memory=1Gi | |
| openshift_metrics_hawkular_limits_memory=2Gi | |
| openshift_metrics_hawkular_key=/usr/local/etc/ansible/certs/shift.example.com.pem | |
| openshift_metrics_hawkular_cert=/usr/local/etc/ansible/certs/shift.example.com.pem | |
| openshift_metrics_hawkular_ca=/usr/local/etc/ansible/certs/shift.example.com.pem | |
| openshift_metrics_heapster_requests_cpu=500m | |
| openshift_metrics_heapster_limits_cpu=1000m | |
| openshift_metrics_heapster_requests_memory=1Gi | |
| openshift_metrics_heapster_limits_memory=2Gi | |
| openshift_metrics_heapster_allowed_users="system:master-proxy,system:serviceaccount:default:robot" | |
| openshift_logging_install_logging=true | |
| openshift_logging_image_version=v3.6.0 | |
| #openshift_logging_image_version=v1.5.1 | |
| openshift_logging_use_ops=false | |
| openshift_logging_master_url="https://kubernetes.default.svc.cluster.local" | |
| openshift_logging_public_master_url="https://shift-admin.example.com:8443" | |
| openshift_logging_namespace=logging | |
| openshift_logging_curator_default_days=365 | |
| openshift_logging_curator_run_hour=2 | |
| openshift_logging_curator_run_minute=0 | |
| openshift_logging_curator_run_timezone="America/Los_Angeles" | |
| openshift_logging_curator_script_log_level=INFO | |
| openshift_logging_curator_log_level=INFO | |
| openshift_logging_kibana_hostname="shift-logging.example.com" | |
| openshift_logging_kibana_key=/usr/local/etc/ansible/certs/shift.example.com.pem | |
| openshift_logging_kibana_cert=/usr/local/etc/ansible/certs/shift.example.com.pem | |
| openshift_logging_kibana_ca=/usr/local/etc/ansible/certs/shift.example.com.pem | |
| openshift_logging_kibana_cpu_limit=1000m | |
| openshift_logging_kibana_memory_limit=2Gi | |
| openshift_logging_kibana_replica_count=1 | |
| openshift_logging_fluentd_nodeselector={"logging-infra-fluentd": "true"} | |
| openshift_logging_fluentd_cpu_limit=500m | |
| openshift_logging_fluentd_memory_limit=1Gi | |
| openshift_logging_es_cluster_size=3 | |
| #openshift_logging_es_pvc_dynamic=false | |
| openshift_logging_es_pv_selector={"logging-storage": "true"} | |
| openshift_logging_es_cpu_limit=1000m | |
| openshift_logging_es_memory_limit=2Gi | |
| openshift_logging_es_nodeselector={"logging-infra-storage": "true"} | |
| openshift_logging_es_allows_cluster_reader=true | |
| [masters] | |
| shift.example.com openshift_hostname='shift.example.com' | |
| [nodes] | |
| shift.example.com openshift_hostname='shift.example.com' openshift_node_labels="{'region': 'infra', 'zone': 'default'}" openshift_schedulable=true | |
| shift-node1.example.com openshift_hostname='shift-node1.example.com' openshift_node_labels="{'region': 'primary', 'zone': 'west'}" openshift_schedulable=true | |
| shift-node2.example.com openshift_hostname='shift-node2.example.com' openshift_node_labels="{'region': 'primary', 'zone': 'west'}" openshift_schedulable=true | |
| shift-node3.example.com openshift_hostname='shift-node3.example.com' openshift_node_labels="{'region': 'primary', 'zone': 'west'}" openshift_schedulable=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment