Label Nodes
Consider a scenario where your application cluster includes nodes that meet the following condition:
- No applications are running on the node and the user wants it to be excluded from the licensing count.
In such cases, you can apply the predefined label portworx.io/nobackup
to these nodes, for Portworx Backup to exclude them from the license count.
You can apply this label to nodes across all license types currently supported by Portworx Backup. Portworx Backup cluster identifies nodes with this label and skips those nodes from the license count.
To apply the label, run the following commands:
-
Verify whether the predefined label,
portworx.io/nobackup
is associated with the node:kubectl get nodes --show-labels|grep portworx.io/nobackup=true
-
If no, apply the predefined label:
kubectl label node <nodename> portworx.io/nobackup=true
noteAfter a node is labeled, Portworx Backup skips this node for licensing and displays the reduced node count in the license page after a few minutes. If you need more information on licensing, please contact Pure Storage support.
-
To remove the node label, run the following command:
kubectl label node <nodename> portworx.io/nobackup-
After you remove the label from a node, Portworx Backup includes this node for licensing count.