It adds openebs-upgrade specific labels to all the OpenEBS components being installed by openebs-upgrade.
It adds dedicated update functions for the components(for those which already didn't had dedicated fn to update their manifest) being installed by OpenEBS in order to update their manifest with labels, annotations, etc.
Some of the examples of the labels that have been added to the various OpenEBS components are:
For NDM components,
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE LABELS
openebs-ndm 4 4 4 4 4 mayadata.io/data-plane=true 33m name=openebs-ndm(existing),openebs-upgrade.dao.mayadata.io/component-group=ndm,openebs-upgrade.dao.mayadata.io/component-name=openebs-ndm,openebs-upgrade.dao.mayadata.io/component-subgroup=daemon,openebs-upgrade.dao.mayadata.io/managed=true,openebs.io/component-name=ndm(existing),openebs.io/version=1.9.0(existing)
NAME READY UP-TO-DATE AVAILABLE AGE LABELS
openebs-ndm-operator 1/1 1 1 44m name=openebs-ndm-operator(existing),openebs-upgrade.dao.mayadata.io/component-group=ndm,openebs-upgrade.dao.mayadata.io/component-name=openebs-ndm-operator,openebs-upgrade.dao.mayadata.io/component-subgroup=operator,openebs-upgrade.dao.mayadata.io/managed=true,openebs.io/component-name=ndm-operator(existing),openebs.io/version=1.9.0(existing)
NAME DATA AGE LABELS
openebs-ndm-config 1 45m openebs-upgrade.dao.mayadata.io/component-group=ndm,openebs-upgrade.dao.mayadata.io/component-name=openebs-ndm-config,openebs-upgrade.dao.mayadata.io/managed=true,openebs.io/component-name=ndm-config(existing)
For CSI related components
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE LABELS
openebs-cstor-csi-node 3 3 3 3 3 <none> 37m name=openebs-cstor-csi-node(existing),openebs-upgrade.dao.mayadata.io/component-group=cstor-csi,openebs-upgrade.dao.mayadata.io/component-name=openebs-cstor-csi-node,openebs-upgrade.dao.mayadata.io/managed=true,openebs.io/component-name=openebs-cstor-csi-node(existing),openebs.io/version=1.9.0(existing)
NAME READY AGE LABELS
openebs-cstor-csi-controller 1/1 39m name=openebs-cstor-csi-controller(existing)
,openebs-upgrade.dao.mayadata.io/component-group=cstor-csi,openebs-upgrade.dao.mayadata.io/component-name=openebs-cstor-csi-controller,openebs-upgrade.dao.mayadata.io/managed=true,openebs.io/component-name=openebs-cstor-csi-controller(existing)
,openebs.io/version=1.9.0(existing)
For maya-apiserver
NAME READY UP-TO-DATE AVAILABLE AGE LABELS
maya-apiserver 1/1 1 1 41m name=maya-apiserver(existing),openebs-upgrade.dao.mayadata.io/component-group=maya-apiserver,openebs-upgrade.dao.mayadata.io/component-name=maya-apiserver,openebs-upgrade.dao.mayadata.io/managed=true,openebs.io/component-name=maya-apiserver(existing),openebs.io/version=1.9.0(existing)
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE LABELS
maya-apiserver-service ClusterIP 10.97.161.27 <none> 5656/TCP 41m openebs-upgrade.dao.mayadata.io/component-group=maya-apiserver,openebs-upgrade.dao.mayadata.io/component-name=maya-apiserver-service,openebs-upgrade.dao.mayadata.io/managed=true,openebs.io/component-name=maya-apiserver-svc(existing)
For CSPC operator:
NAME READY UP-TO-DATE AVAILABLE AGE LABELS
cspc-operator 1/1 1 1 43m name=cspc-operator(existing),openebs-upgrade.dao.mayadata.io/component-group=cspc,openebs-upgrade.dao.mayadata.io/component-name=cspc-operator,openebs-upgrade.dao.mayadata.io/managed=true,openebs.io/component-name=cspc-operator(existing),openebs.io/version=1.9.0(existing)
This PR intends to achieve the following things:
It adds
openebs-upgrade
specific labels to all the OpenEBS components being installed byopenebs-upgrade
.It adds dedicated update functions for the components(for those which already didn't had dedicated fn to update their manifest) being installed by OpenEBS in order to update their manifest with labels, annotations, etc.
Some of the examples of the labels that have been added to the various OpenEBS components are:
For NDM components,
For CSI related components
For maya-apiserver
For CSPC operator:
Signed-off-by: sagarkrsd sagar.kumar@mayadata.io