Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-4750

Doc: How to configure OADP NodeAgents on nodes with worker, infra or custom labels

XMLWordPrintable

    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo
    • Important
    • 8
    • 8.000
    • Very Likely
    • 0
    • Customer Escalated, Customer Facing
    • None
    • Unset
    • Unknown
    • None

      Description of problem:

      OADP's DPA use the k8s nodeSelector to pick which nodes can run the nodeAgent.

      Any label specified must match the labels on EACH node.

       

      The below example is an anti-pattern and will not work unless both labels are on the node.

       

       28   configuration:
       29     nodeAgent:
       30       enable: true
       31       podConfig:
       32         nodeSelector:
       33           'node-role.kubernetes.io/infra: ""'
       34           'node-role.kubernetes.io/worker: ""'

       

       

      A better solution would be to label any node w/ 'node-role.kubernetes.io/nodeAgent: ""

      where the customer would like to be able to run the nodeAgent

      Then configure the DPA as follows:

       28   configuration:
       29     nodeAgent:
       30       enable: true
       31       podConfig:
       32         nodeSelector:
       33           'node-role.kubernetes.io/nodeAgent: ""'

                 

              rhn-support-anarnold A Arnold
              wnstb Wes Hayutin
              Prasad Joshi Prasad Joshi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: