Skip to content

Latest commit

 

History

History
47 lines (47 loc) · 1.56 KB

ibu-ImageBasedGroupUpgrade.adoc

File metadata and controls

47 lines (47 loc) · 1.56 KB
apiVersion: lcm.openshift.io/v1alpha1
kind: ImageBasedGroupUpgrade
metadata:
  name: <filename>
  namespace: default
spec:
  clusterLabelSelectors: # (1)
    - matchExpressions:
      - key: name
        operator: In
        values:
        - spoke1
        - spoke4
        - spoke6
  ibuSpec:
    seedImageRef: # (2)
      image: quay.io/seed/image:4.18.0-rc.1
      version: 4.18.0-rc.1
      pullSecretRef:
        name: "<seed_pull_secret>"
    extraManifests: # (3)
      - name: example-extra-manifests
        namespace: openshift-lifecycle-agent
    oadpContent: # (4)
      - name: oadp-cm
        namespace: openshift-adp
  plan: # (5)
    - actions: ["Prep", "Upgrade", "FinalizeUpgrade"]
      rolloutStrategy:
        maxConcurrency: 200 # (6)
        timeout: 2400 # (7)
  1. Clusters to upgrade.

  2. Target platform version, the seed image to be used, and the secret required to access the image.

    Note

    If you add the seed image pull secret in the hub cluster, in the same namespace as the ImageBasedGroupUpgrade resource, the secret is added to the manifest list for the Prep stage. The secret is recreated in each spoke cluster in the openshift-lifecycle-agent namespace.

  3. Optional: Applies additional manifests, which are not in the seed image, to the target cluster. Also applies ConfigMap objects for custom catalog sources.

  4. ConfigMap resources that contain the OADP Backup and Restore CRs.

  5. Upgrade plan details.

  6. Number of clusters to update in a batch.

  7. Timeout limit to complete the action in minutes.