Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-5310

Allow providing Agent labels from BareMetalHost object

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Cluster Infrastructure
    • None
    • False
    • None
    • False
    • Not Selected
    • 0
    • 0% 0%

      1. Proposed title of this feature request

      Allow providing Agent labels from BareMetalHost object

      2. What is the nature and description of the request?

      Currently, the assisted-service will copy labels provided in an 'bmac.agent-install.openshift.io.node-label.' annotation to the node labels value in the Agent object when an Agent is created from a BareMetalHost (BMH). It should also provide a way to copy labels from some BMH annotation to the labels field on the Agent object itself to be used for agent selectors (i.e. with Hosted Control Planes).

      3. Why does the customer need this? (List the business requirements here)

      In one example, a customer would like to automatically provide labels on Agent objects created from BMH objects so that they can use those labels in the agentLabelSelector on a Hosted Control Plane NodePool without manually attaching labels to the Agents after they are imported.

      Also, this feature would simplify any flow where a user wants to filter on Agent labels and wants them automatically populated from a BMH object (i.e. to differentiate GPU nodes or dedicated control plane hardware).

      4. List any affected packages or components.

      assisted-service

            racedoro@redhat.com Ramon Acedo
            aaustin@redhat.com Andrew Austin Byrum
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: