Uploaded image for project: 'Agent-based Installer for OpenShift'
  1. Agent-based Installer for OpenShift
  2. AGENT-838

Enable day2 add node for appliance using agent-install

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • Appliance day2 add node using agent-install
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • To Do
    • 45% To Do, 36% In Progress, 18% Done

      Epic Goal

      • Enable users to add an appliance node on day 2 to a cluster installed with the appliance method

      Why is this important?

      • There is currently no other way to expand an appliance on day 2
      • Unified experience for day1 and day2 installation for the agent based installer
      • Unified experience for day1 and day2 installation for appliance workflow
      • Eliminate the requirement of installing MCE that have high requirements (requires 4 cores and 16GB RAM for a multi-node cluster, and if the infrastructure operator is included then it will require storage as well)

      Scenarios

      1. Appliance workflow is using ABI for day1 and doesn't want to require users to install MCE on the cluster, reusing ABI will enable simple and similar UX for the users.

      Acceptance Criteria

      • CI - MUST be running successfully with tests automated
      • Release Technical Enablement - Provide necessary release enablement details and documents.

      Dependencies (internal and external)

      1. AGENT-682

      Previous Work (Optional):

      ABI is using assisted installer + kube-api or any other client that communicate with the service, all the building blocks related to day2 installation exist in those components 

      Assisted installer can create installed cluster and use it to perform day2 operations

      A doc that explains how it's done with kube-api 

      Parameters that are required from the user:

      • Cluster name,Domain name - used to get the url that will be used to pull ignition
      • Kubeconfig to day1 cluster 
      • Openshift version
      • Network configuration

      Actions required from the user

      • Post reboot the user will need to manually approve the node on the day1 cluster

      Implementation suggestion:

      To keep similar flow between day1 and day2 i suggest to run the service on each node that user is trying to add, it will create the cluster definition and start the installation, after first reboot it will pull the ignition from the day1 cluster

      Open questions::

      1. How should ABI detect an existing day1 cluster? Yes
      2.  Using a provided kubeconfig file? Yes 
      3. If so, should it be added to the config-image API (i.e. included in the ISO) - question to the agent team
      4. Should we add a new command for day2 in agent-installer-client? E.g. question to the agent team 
      5. So this command would import the existing day1 cluster and add the day2 node. It means that every day2 node should run an assisted-service first Yes, those instances are not depending on each other

              derez@redhat.com Daniel Erez
              zabitter Zane Bitter
              Biagio Manzari Biagio Manzari
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: