Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-9379

Inconsistent labels when configuring autoSizingReserved

XMLWordPrintable

    • None
    • None
    • 3
    • OSDOCS Sprint 236, OCPNODE Sprint 237 (Blue)
    • 2
    • Unspecified
    • If docs needed, set a value

      Document URL:

      https://docs.openshift.com/container-platform/4.10/nodes/nodes/nodes-nodes-resources-configuring.html#nodes-nodes-resources-configuring-auto_nodes-nodes-resources-configuring

      Section Number and Name:

      Describe the issue:

      The docs didn't use custom-kube=small-pods label that we created previously

      Suggestions for improvement:

      Change:

      apiVersion: machineconfiguration.openshift.io/v1
      kind: KubeletConfig
      metadata:
      name: dynamic-node
      spec:
      autoSizingReserved: true
      machineConfigPoolSelector:
      matchLabels:
      pools.operator.machineconfiguration.openshift.io/worker: ""

      To:

      apiVersion: machineconfiguration.openshift.io/v1
      kind: KubeletConfig
      metadata:
      name: dynamic-node
      spec:
      autoSizingReserved: true
      machineConfigPoolSelector:
      matchLabels:
      custom-kubelet: small-pods

      Additional information:

      Or maybe this statement is wrong:

      "If the label is not present, add a key/value pair:
      $ oc label machineconfigpool worker custom-kubelet=small-pods"

      The problem is, we label the worker MCP with a new label but the KubeConfig CR didn't consume it.

            dfitzmau@redhat.com Darragh Fitzmaurice
            rhn-support-cchen Chen Chen
            Sunil Choudhary Sunil Choudhary
            Latha Sreenivasa Murthy Latha Sreenivasa Murthy
            Red Hat Employee
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: