-
Story
-
Resolution: Done
-
Major
-
None
-
None
-
Product / Portfolio Work
-
False
-
-
False
-
2
-
None
-
None
-
CLOUD Sprint 268, CLOUD Sprint 269, CLOUD Sprint 270, CLOUD Sprint 271
Background
MAPI MachineSets have label selector to machine Label mapping. There are CAPI equivalents for these labels. During MachineSet/Machine conversion we should convert to the MAPI/CAPI equivalent.
machine.openshift.io/cluster-api-cluster: <clusterID> <---> cluster.x-k8s.io/cluster-name: <clusterID>
machine.openshift.io/cluster-api-machine-type: <role> machine.openshift.io/cluster-api-machine-role: <role> <---> node-role.kubernetes.io/<role>: ""
machine.openshift.io/cluster-api-machineset: <clusterID>-<role>-<region> <---> cluster.x-k8s.io/set-name:<clusterID>-<role>-<region>
Steps
- Look into upstream code to determine if there are any possible values for the above labels that we have not accounted for.
- Determine if there is difference between MAPI type and role label and if they can be consolidated into one CAPI label.
- Add the conversion to the conversion library.
Stakeholders
- Cluster Infra
Definition of Done
- Conversion library converts between MAPI<->CAPI for labels an Label selector on machines and machinesets
- Docs
- <Add docs requirements for this card>
- Testing
- Add unit tests