Add SIP scheduling labels to catalogues & SIP CR

Adds labels used by ViNO & SIP to schedule subcluster VMs appropriately,
for rack and undercloud server name.

This also trues up the label definitions in the SIP CRs to match,
and configures the Metal3Cluster resource to synchronize the labels
from BMHs to Nodes.

This change updates the airshipctl pin to incorporate related functionality:
https://review.opendev.org/c/airship/airshipctl/+/797130

Change-Id: I6cf2bc653589d142736990cdfadf82641a6ca4d1
This commit is contained in:
Matt McEuen
2021-06-18 10:41:05 -05:00
parent cbe110e79b
commit 6830bf3ed3
6 changed files with 55 additions and 10 deletions

View File

@@ -9,16 +9,16 @@ spec:
ControlPlane:
labelSelector:
matchLabels:
vino.airshipit.org/flavor: control-plane
topologyKey: vino.airshipit.org/rack
airshipit.org/flavor: control-plane
topologyKey: airshipit.org/rack
count:
active: 1
standby: 1
Worker:
labelSelector:
matchLabels:
vino.airshipit.org/flavor: worker
topologyKey: vino.airshipit.org/host
airshipit.org/flavor: worker
topologyKey: airshipit.org/server
count:
active: 2
standby: 1 # Slew for upgrades