Node & Cluster Labels
Labels enable Clusters to be categorized with metadata. They exist as key-value
pairs. By configuring labels, you can describe the K8s cluster characteristics and specificities.
Node Labels
A Node may have zero or more key-value Labels associated with it. OGC discovers cluster nodes and their labels during the onboarding. By understanding the capabilities of nodes within a cluster, more advanced application placement capability is achieved.
Node Labels are currently not editable by the user.
When you define the placement rules and add a node label using the same key that could also come from the cluster label, the deployment planning algorithm will use the node label as the source of truth for the key that was used, over the cluster label.
Cluster Labels
Cluster labels are used by the intelligent deployment engine of Ori Global Cloud (OGC) to match the Package policies to the available Clusters.
Add Labels to Clusters
Once the User has onboarded a cluster, the next step is to add Labels to that Cluster.
Here are the steps to add labels,
- Go the Labels tab on the Cluster details page.
- Click on
+ Add
, however this changes toEdit
once the labels are added. - Configure labels in a
key-value
pair. There can be eitherString
orNumeric
. Multiple labels can be added or modified at the same time. - Once added, click on
Save
.
Your cluster will now have labels describing its characteristics.
When required, the labels on a Cluster can be updated, however, once the cluster has one or more running Deployments changes can no longer be made to Labels until the Deployments are all stopped.