Uploaded image for project: 'OpenShift Cloud'
  1. OpenShift Cloud
  2. OCPCLOUD-2207

Generate VSphereCluster resource for CAPI clusters

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • CLOUD Sprint 252, CLOUD Sprint 253, CLOUD Sprint 254, CLOUD Sprint 255, CLOUD Sprint 256, CLOUD Sprint 257, CLOUD Sprint 258

      Background

      To enable a quick start in CAPI, we want to allow the users to provide just the Machines/MachineSets and the relevant configuration for the Machines. The cluster infrastructure is either not required to be populated, or something they should not care about.

      To enable the quick start, we should create and where applicable, populate required fields for the infrastructure cluster.

      This will go alongside a generated Cluster object and should mean that the `openshift-cluster-api` Cluster is now infrastructure ready.

      Steps

      • Create a separate go module in cluster-api-provider-vsphere/openshift
      • Create a controller in the above module Go to manage the VSphereCluster resource for non-capi bootstrapped clusters
      • Ensure the VSphereCluster controller is only enabled for VSphere platform clusters
      • Create an "externally-managed" VSphereCluster resource and manage the status to ensure Machine's can correctly be created
      • Populate any required spec/status fields in the VSphereCluster spec using the controller
      • (Refer to openstack implementation)
      •  

      Stakeholders

      • Cluster Infra

      Definition of Done

      • VSphereCluster resource is correctly created and populated on VSphere clusters
      • Docs
      • <Add docs requirements for this card>
      • Testing
      • <Explain testing that will be added>

            ddonati@redhat.com Damiano Donati
            joelspeed Joel Speed
            Milind Yadav Milind Yadav
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: