Skip to content

Latest commit

 

History

History
41 lines (41 loc) · 1.24 KB

ibu-ImageBasedGroupUpgrade.adoc

File metadata and controls

41 lines (41 loc) · 1.24 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.17.0-rc.1
      version: 4.17.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.

  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.