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

Report about bootstrapping completion for Cluster API providers

XMLWordPrintable

    • Icon: Spike Spike
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • CLOUD Sprint 239, CLOUD Sprint 240, CLOUD Sprint 241, CLOUD Sprint 249, CLOUD Sprint 250, CLOUD Sprint 251, CLOUD Sprint 252, CLOUD Sprint 253, CLOUD Sprint 254, CLOUD Sprint 255

      On clusters where we use Cluster API instead of Machine API we need to create an empty file to report that the bootstrapping was successful. The file should be place in "/run/cluster-api/bootstrap-success.complete"

      Normally there is a special controller for it, but in OpenShift we use MCO to bootstrap machines, so we have to create this file directly.

      ToDo:

      • Ensure that "/run/cluster-api" folder exists on the machine
      • Create CAPI bootstrapping sentinel file "bootstrap-success.complete" in this folder

      Links: 

      https://cluster-api.sigs.k8s.io/developer/providers/bootstrap.html 
      https://github.com/kubernetes-sigs/cluster-api-provider-azure/blob/main/azure/defaults.go#L81-L83 

       

              rmanak@redhat.com Radek Manak
              ademicev@redhat.com Alexandr Demicev (Inactive)
              Zhaohua Sun Zhaohua Sun
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: