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.21.0
version: 4.21.0
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
ImageBasedGroupUpgraderesource, the secret is added to the manifest list for thePrepstage. The secret is recreated in each spoke cluster in theopenshift-lifecycle-agentnamespace. -
Optional: Applies additional manifests, which are not in the seed image, to the target cluster. Also applies
ConfigMapobjects for custom catalog sources. -
ConfigMapresources that contain the OADPBackupandRestoreCRs. -
Upgrade plan details.
-
Number of clusters to update in a batch.
-
Timeout limit to complete the action in minutes.