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)
-
Clusters to upgrade.
-
Target platform version, the seed image to be used, and the secret required to access the image.
NoteIf 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 thePrep
stage. The secret is recreated in each spoke cluster in theopenshift-lifecycle-agent
namespace. -
Optional: Applies additional manifests, which are not in the seed image, to the target cluster. Also applies
ConfigMap
objects for custom catalog sources. -
ConfigMap
resources that contain the OADPBackup
andRestore
CRs. -
Upgrade plan details.
-
Number of clusters to update in a batch.
-
Timeout limit to complete the action in minutes.