Wolfgang Kulhanek
2017-12-01 dbea6eba93cf0b994804c6bd493dacff17d5107b
Fixed env=app
1 files modified
4 ■■■■ changed files
ansible/configs/ocp-ha-lab/files/hosts_template.j2 4 ●●●● patch | view | raw | blame | history
ansible/configs/ocp-ha-lab/files/hosts_template.j2
@@ -15,7 +15,7 @@
openshift_disable_check="disk_availability,memory_availability"
# default project node selector
osm_default_node_selector='env=users'
osm_default_node_selector='env=app'
# Configure node kubelet arguments. pods-per-core is valid in OpenShift Origin 1.3 or OpenShift Container Platform 3.3 and later.
openshift_node_kubelet_args={'pods-per-core': ['10'], 'max-pods': ['250'], 'image-gc-high-threshold': ['85'], 'image-gc-low-threshold': ['75']}
@@ -292,7 +292,7 @@
## These are regular nodes
{% for host in groups['nodes'] %}
{{ hostvars[host].internaldns }} openshift_hostname={{ hostvars[host].internaldns }}  openshift_node_labels="{'logging':'true','cluster': '{{guid}}', 'env':'users', 'zone': '{{hostvars[host]['placement']}}'}"
{{ hostvars[host].internaldns }} openshift_hostname={{ hostvars[host].internaldns }}  openshift_node_labels="{'logging':'true','cluster': '{{guid}}', 'env':'app', 'zone': '{{hostvars[host]['placement']}}'}"
{% endfor %}
{% if new_node_instance_count > 0 %}