Add the labels on the nodes for the scheduler
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
5b62c6b8a1
commit
8243ad3b1e
1 changed files with 17 additions and 0 deletions
|
@ -473,6 +473,23 @@
|
||||||
tags:
|
tags:
|
||||||
- osbs-orchestrator-namespace
|
- osbs-orchestrator-namespace
|
||||||
|
|
||||||
|
- name: Add the worker labels to the nodes
|
||||||
|
hosts: osbs-masters-stg[0]
|
||||||
|
tags:
|
||||||
|
- worker-labels-nodes
|
||||||
|
tasks:
|
||||||
|
command: "oc -n {{ osbs_worker_namespace }} nodes {{ item }} worker=true --overwrite"
|
||||||
|
with_items: groups['osbs-nodes-stg']
|
||||||
|
|
||||||
|
|
||||||
|
- name: Add the orchestrator labels to the nodes
|
||||||
|
hosts: osbs-masters-stg[0]
|
||||||
|
tags:
|
||||||
|
- orchestrator-labels-nodes
|
||||||
|
tasks:
|
||||||
|
command: "oc -n {{ osbs_namespace }} nodes {{ item }} orchestrator=true --overwrite"
|
||||||
|
with_items: groups['osbs-nodes-stg']
|
||||||
|
|
||||||
- name: setup reactor config secret in orchestrator namespace
|
- name: setup reactor config secret in orchestrator namespace
|
||||||
hosts: osbs-masters-stg[0]
|
hosts: osbs-masters-stg[0]
|
||||||
roles:
|
roles:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue