You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<1> The `ConfigMap` CR contains the signature of the desired release image to update to.
80
-
<2> Shows the image signature of the desired {product-title} release. Get the signature from the `checksum-${OCP_RELASE_NUMBER}.yaml` file you saved when following the procedures in the "Setting up the environment" section.
71
+
<2> Shows the image signature of the desired {product-title} release. Get the signature from the `checksum-${OCP_RELEASE_NUMBER}.yaml` file you saved when following the procedures in the "Setting up the environment" section.
81
72
<3> Shows the mirror repository that contains the desired {product-title} image. Get the mirrors from the `imageContentSources.yaml` file that you saved when following the procedures in the "Setting up the environment" section.
82
-
<4> Shows the `ClusterVersion` CR to update upstream.
83
-
<5> Shows the `ClusterVersion` CR to trigger the update. The `channel`, `upstream`, and `desiredVersion` fields are all required for image pre-caching.
73
+
<4> Shows the `ClusterVersion` CR to trigger the update. The `channel`, `upstream`, and `desiredVersion` fields are all required for image pre-caching.
84
74
+
85
75
The `PolicyGenTemplate` CR generates two policies:
86
76
@@ -99,44 +89,9 @@ ArgoCD pulls the changes from the Git repository and generates the policies on t
99
89
$ oc get policies -A | grep platform-upgrade
100
90
----
101
91
102
-
. Apply the required update resources before starting the platform update with the {cgu-operator}.
103
-
104
-
.. Save the content of the `platform-upgrade-prep` `ClusterUpgradeGroup` CR with the `du-upgrade-platform-upgrade-prep` policy and the target managed clusters to the `cgu-platform-upgrade-prep.yml` file, as shown in the following example:
105
-
+
106
-
[source,yaml]
107
-
----
108
-
apiVersion: ran.openshift.io/v1alpha1
109
-
kind: ClusterGroupUpgrade
110
-
metadata:
111
-
name: cgu-platform-upgrade-prep
112
-
namespace: default
113
-
spec:
114
-
managedPolicies:
115
-
- du-upgrade-platform-upgrade-prep
116
-
clusters:
117
-
- spoke1
118
-
remediationStrategy:
119
-
maxConcurrency: 1
120
-
enable: true
121
-
----
122
-
123
-
.. Apply the policy to the hub cluster by running the following command:
124
-
+
125
-
[source,terminal]
126
-
----
127
-
$ oc apply -f cgu-platform-upgrade-prep.yml
128
-
----
129
-
130
-
.. Monitor the update process. Upon completion, ensure that the policy is compliant by running the following command:
131
-
+
132
-
[source,terminal]
133
-
----
134
-
$ oc get policies --all-namespaces
135
-
----
136
-
137
92
. Create the `ClusterGroupUpdate` CR for the platform update with the `spec.enable` field set to `false`.
138
93
139
-
.. Save the content of the platform update `ClusterGroupUpdate` CR with the `du-upgrade-platform-upgrade` policy and the target clusters to the `cgu-platform-upgrade.yml` file, as shown in the following example:
94
+
.. Save the content of the platform update `ClusterGroupUpdate` CR with the `du-upgrade-platform-upgrade-prep` and the `du-upgrade-platform-upgrade` policies and the target clusters to the `cgu-platform-upgrade.yml` file, as shown in the following example:
0 commit comments