Uploaded image for project: 'OpenShift Hosted Control Plane'
  1. OpenShift Hosted Control Plane
  2. HOSTEDCP-262

Propagate labels and taints from NodePool to Nodes

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Major
    • None
    • None
    • None
    • Hypershift Sprint 3, Hypershift Sprint 4, Hypershift Sprint 5, Hypershift Sprint 22, Hypershift Sprint 23
    • 0
    • 0
    • 0

    Description

      DoD:
      Propagate labels and taints from NodePool to Nodes
      This could be adhoc or levereage by CAPI https://github.com/kubernetes-sigs/cluster-api/issues/493 https://github.com/kubernetes-sigs/cluster-api/issues/7731

      Absolute MVP reqs:

      • Enable NodePool API to express intent for a set of labels and taints to be propagated to Nodes.
      • NodePools should enforce the label/taint sync on Node creation only
      • A set of labels should not be constrained to any opinionated prefix, or any prefix at all.

      Next step MVP to include:

      • Apply full list of labels on Node creation (same as above)
      • If labels list changes in NodePools, sync to all existing Nodes
      • If label already exists on a Node, leave it alone and assume the user knows what they're doing
      • If label doesn't exist on a Node, apply it
      • If there are other labels on a Node not in the NodePool list, leave those alone as well

         FWIW The above could be implemented with server side apply on the Nodes of the set of labels.

      Attachments

        Activity

          People

            agarcial@redhat.com Alberto Garcia Lamela
            agarcial@redhat.com Alberto Garcia Lamela
            Jie Zhao Jie Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: