Label non-backup nodes


If your application cluster consists of non-backup nodes (whose applications and data are not backed up by PX-Backup), you can apply a predefined label (portworx.io/nobackup) for such nodes. You can apply this label for all license types. PX-Backup cluster identifies nodes with this label and excludes those nodes from the license count.

To flag a node as a non-backup node, 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 as a non-backup node, PX-Backup skips this node for licensing and displays the reduced node count in the license page after a few minutes.
  • To remove the label and convert a node to a backup node later, run the below command:

    kubectl label node <nodename> portworx.io/nobackup-

Last edited: Wednesday, Sep 14, 2022