Skip to main content
Version: 2.8

Label nodes

Consider a scenario where your application cluster includes nodes that meet the following conditions:

  • No applications are running on the node, and the user wants it to be excluded from the licensing count.
  • Applications are running, but there is no need to back up the application data.

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.

note

Regardless of the application a node runs, you can label the node if you want Portworx Backup to skip it from counting for the licenses.

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.

  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.