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

Doc how to mimimize worker node deployment time mapped to three MCPs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.13, 4.12, 4.14, 4.15, 4.16, 4.17, 4.18, 4.19, 4.20
    • Documentation / CNF
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

       

      See https://gitlab.cee.redhat.com/reference-configurations/reference-design-specifications/-/commit/3c60577cc4b09396ee3e96f0dae98004d8a86311

      Document how to mimimize worker node deployment time mapped to three MCPs

       

      The time taken to deploy a set of worker nodes can be minimized by ensuring all of the nodes are installed simultaneously rather than the default of installing them serially. 
      The procedure here uses a combination of MCP pause and maxUnavailable to achieve this.

       

      Part 1

      Pause MCPs of workers while deploying control plane nodes. 

      The https://github.com/openshift-kni/telco-reference/tree/main/telco-core/install/custom-manifests[reference] configuration shows three MCPs: worker-1, worker-2, and worker-3 with the pause set true.
          ** maxUnavailable of worker nodes is set to 100% to minimize deployment time.                                                                    (NOTE: After deployment time with workloads running on the cluster, the maxUnavailable setting will be based on application design and appropriate spreading of pods across MCPs.) 
          Note that there are no CNFs running at this point as we are at deployment stage (see MCP maxUnavailable of https://github.com/openshift-kni/telco-reference/blob/main/telco-core/install/custom-manifests/mcp-worker-1.yaml#L15[worker-1], https://github.com/openshift-kni/telco-reference/blob/main/telco-core/install/custom-manifests/mcp-worker-2.yaml#L15[worker-2], and https://github.com/openshift-kni/telco-reference/blob/main/telco-core/install/custom-manifests/mcp-worker-3.yaml[worker-3]).

       

      Part 2

      unpause all custom MCPs (includes all worker nodes) after the control plane nodes have been deployed and the cluster configuration has been applied.
      This enables the worker nodes to complete initial install and the applied configuration to take effect (unpause custom MCPs example can be found https://github.com/openshift-kni/telco-reference/blob/main/telco-core/configuration/core-finish.yaml#L15[here]).
          ** set availability requirements for worker nodes after deployment (see https://github.com/openshift-kni/telco-reference/blob/main/telco-core/configuration/core-finish.yaml#L58[here]).

       

       

              ctomasko Catherine Tomasko
              rhn-support-kquinn Kevin Quinn
              None
              None
              Evgeny Levin Evgeny Levin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: