Uploaded image for project: 'OpenShift Hive'
  1. OpenShift Hive
  2. HIVE-2320

RFE: A way to propagate labels from machinepool --> machine

XMLWordPrintable

    • Propagate machinepool labels from machinepool to machine
    • Product / Portfolio Work
    • OCPSTRAT-1334[Hive] Propagate machinepool labels from machinepool to machine
    • 0% To Do, 0% In Progress, 100% Done
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • S
    • None
    • None

      As a user, I have a use-case where I have 80 machinepools that I want to capture under a single machine-api MachineHealthCheck CustomResource. MachineHealthChecks only select machines based on labels, so it would be nice if I could set a consistent label on all the machines in these 80 machinepools.

      Today, Hive machinepools have a way to propagate labels from machinepools --> nodes https://github.com/openshift/hive/blob/227c25916da4c0b1bb3255b7c030d2ccf36384a0/pkg/controller/machinepool/machinepool_controller.go#L618:L623 but in order to propagate the labels down to machines the labels also need to go into .spec.template.metadata.labels of the generated machineset.

              efried.openshift Eric Fried
              mshen.openshift Michael Shen (Inactive)
              None
              None
              Mingxia Huang Mingxia Huang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: