1
0
mirror of https://github.com/openshift/openshift-ansible.git synced 2026-02-05 15:45:57 +01:00

Add master-infra and all-in-one node-configs

This commit is contained in:
Scott Dodson
2018-06-12 11:58:32 -04:00
parent 7a136e99c3
commit 41e4c8dc5b
2 changed files with 21 additions and 0 deletions

View File

@@ -103,6 +103,11 @@ each node group defined in `openshift_node_groups` and they're named
to note that the configmap is also the authoritative definition of node labels,
the old `openshift_node_labels` value is effectively ignored.
There are also two configmaps that label nodes into multiple roles, these are
not recommended for production clusters, however they're named
`node-config-all-in-one` and `node-config-master-infra` if you'd like to use
them to deploy non production clusters.
The default set of node groups is defined in
[roles/openshift_facts/defaults/main.yml] like so
@@ -120,6 +125,14 @@ openshift_node_groups:
labels:
- 'node-role.kubernetes.io/compute=true'
edits: []
- name: node-config-master-infra
labels:
- 'node-role.kubernetes.io/infra=true,node-role.kubernetes.io/master=true'
edits: []
- name: node-config-all-in-one
labels:
- 'node-role.kubernetes.io/infra=true,node-role.kubernetes.io/master=true,node-role.kubernetes.io/compute=true'
edits: []
```
When configuring this in the INI based inventory this must be translated into a