Assign labels to nodes

Make sure nodes have, at least, the region and zone labels to allow for
deployments to schedule infra PODs on them.

Change-Id: If3849a46391cfac7eb5dd556d5b65c831026a95c
This commit is contained in:
Flavio Percoco 2018-01-24 15:10:25 +01:00
parent 6228dd53d3
commit a592631239
1 changed files with 3 additions and 0 deletions

View File

@ -81,6 +81,9 @@ outputs:
ansible_host: {{ hostvars.raw_get(host)['ansible_host'] | default(host) }}
ansible_become: true
openshift_schedulable: true
openshift_node_labels:
region: 'infra'
zone: 'default'
{% endfor %}
etcd: