Uploaded image for project: 'OpenShift Installer'
  1. OpenShift Installer
  2. CORS-1824

Read appropriate Azure Marketplace image from coreos stream

XMLWordPrintable

    • 5
    • False
    • False
    • OCPPLAN-7556 - OpenShift on Azure Marketplace
    • Sprint 210, Sprint 215, Sprint 216, Sprint 217, Sprint 218

      User Story:

      As a user, I want to be able to:

      • specify the use of Azure marketplace images in the install config

      so that I can

      • create compute nodes using marketplace images without:
        • editing manifests
        • knowing the details of the particular images

      Acceptance Criteria:

      Description of criteria:

      • worker machinesets are populated with correct marketplace image
      • if a field is added to machine pools, openshift explain and repo docs should be updated
      • validation to prevent trying to use images for masters

      Out of Scope:

      Only support for compute nodes. Terraform changes for control plane is not needed.

      Engineering Details:

        • This shows how to find images using the CLI and that users must accept a plan for their subscription before using our images
      • Images are published in the marketplace with four different fields, collectively these fields are colon separated and called a URN. Here is an example of three images:
      • az vm image list --all --offer ocp-rhcos-worker
        
        [
          {
            "offer": "ocp-rhcos-worker",
            "publisher": "redhat-rhel",
            "sku": "49-gen2",
            "urn": "redhat-rhel:ocp-rhcos-worker:49-gen2:4.9.456",
            "version": "4.9.456"
          },
          {
            "offer": "ocp-rhcos-worker",
            "publisher": "redhat-rhel",
            "sku": "ocp-4-free",
            "urn": "redhat-rhel:ocp-rhcos-worker:ocp-4-free:4.9.2021111600",
            "version": "4.9.2021111600"
          },
          {
            "offer": "ocp-rhcos-worker",
            "publisher": "redhat-rhel",
            "sku": "ocp-4-free-gen1",
            "urn": "redhat-rhel:ocp-rhcos-worker:ocp-4-free-gen1:4.9.2021111600",
            "version": "4.9.2021111600"
          }
        ] 
      • It should be possible to simply have a boolean in the machine pool. For example we could have a field such as compute[0].platform.azure.useMarketplaceImage. If that is set, pipe the data from above into the worker machine provider spec image field

       

              mstaeble Matthew Staebler (Inactive)
              beth.white Beth White
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: