Skip to main content
Version: 2.9

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:

  1. Verify whether the predefined label, portworx.io/nobackup is associated with the node:

    kubectl get nodes --show-labels|grep portworx.io/nobackup=true
  2. If no, apply the predefined label:

    kubectl label node <nodename> portworx.io/nobackup=true
    note

    After 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.

  3. 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.