Skip to content

Commit d318593

Browse files
authored
Merge pull request #39274 from kquinn1204/BZ-2005326-410
BZ2005326: 4.10 updating quay.io to registry.redhat.io
2 parents 669b312 + 47565dd commit d318593

4 files changed

+31
-7
lines changed

modules/cnf-gathering-data-about-cluster-using-must-gather.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $ oc adm must-gather --image=<PAO_image> --dest-dir=<dir>
3434
+
3535
[source,terminal]
3636
----
37-
$ oc adm must-gather --image=quay.io/openshift-kni/performance-addon-operator-must-gather:4.8-snapshot --dest-dir=must-gather
37+
$ oc adm must-gather --image=registry.redhat.io/openshift4/performance-addon-operator-must-gather-rhel8:v4.10 --dest-dir=must-gather
3838
----
3939
. Create a compressed file from the `must-gather` directory:
4040
+

modules/cnf-how-run-podman-to-create-profile.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Run `podman` to create the performance profile:
1818

1919
[source,terminal]
2020
----
21-
$ podman run --entrypoint performance-profile-creator -v /must-gather:/must-gather:z quay.io/openshift-kni/performance-addon-operator:4.8-snapshot --mcp-name=worker-cnf --reserved-cpu-count=20 --rt-kernel=true --split-reserved-cpus-across-numa=true --must-gather-dir-path /must-gather > my-performance-profile.yaml
21+
$ podman run --entrypoint performance-profile-creator -v /must-gather:/must-gather:z registry.redhat.io/openshift4/performance-addon-rhel8-operator:v4.10 --mcp-name=worker-cnf --reserved-cpu-count=20 --rt-kernel=true --split-reserved-cpus-across-numa=true --must-gather-dir-path /must-gather > my-performance-profile.yaml
2222
----
2323

2424
The created profile is described in the following YAML:

modules/cnf-running-the-performance-creator-profile-offline.adoc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ readonly IMG_EXISTS_CMD="${CONTAINER_RUNTIME} image exists"
3434
readonly IMG_PULL_CMD="${CONTAINER_RUNTIME} image pull"
3535
readonly MUST_GATHER_VOL="/must-gather"
3636
37-
PAO_IMG="quay.io/openshift-kni/performance-addon-operator:4.9-snapshot"
37+
PAO_IMG="registry.redhat.io/openshift4/performance-addon-rhel8-operator:v4.10"
3838
MG_TARBALL=""
3939
DATA_DIR=""
4040
@@ -162,7 +162,7 @@ There two types of arguments:
162162
* PPC arguments
163163
====
164164
+
165-
<1> Optional: Specify the Performance Addon Operator image. If not set, the default upstream image is used: `quay.io/openshift-kni/performance-addon-operator:4.9-snapshot`.
165+
<1> Optional: Specify the Performance Addon Operator image. If not set, the default upstream image is used: `registry.redhat.io/openshift4/performance-addon-rhel8-operator:v4.10`.
166166
<2> `-t` is a required wrapper script argument and specifies the path to a `must-gather` tarball.
167167

168168
. Run the performance profile creator tool in discovery mode:
@@ -248,6 +248,12 @@ spec:
248248
----
249249

250250
. Apply the generated profile:
251+
+
252+
[NOTE]
253+
====
254+
Install the Performance Addon Operator before applying the profile. For install instructions, see xref:cnf-performance-addon-operator-for-low-latency-nodes.adoc#installing-the-performance-addon-operator_cnf-master[Installing the Performance Addon Operator].
255+
====
256+
251257
+
252258
[source,terminal]
253259
----

modules/cnf-running-the-performance-creator-profile.adoc

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,24 @@ master rendered-master-acd1358917e9f98cbdb599aea622d78b True Fa
3232
worker-cnf rendered-worker-cnf-1d871ac76e1951d32b2fe92369879826 False True False 2 1 1 0 22h
3333
----
3434

35+
. Use Podman to authenticate to `registry.redhat.io`:
36+
+
37+
[source,terminal]
38+
----
39+
$ podman login registry.redhat.io
40+
----
41+
+
42+
[source,bash]
43+
----
44+
Username: myrhusername
45+
Password: ************
46+
----
47+
3548
. Optional: Display help for the PPC tool:
3649
+
3750
[source,terminal]
3851
----
39-
$ podman run --entrypoint performance-profile-creator quay.io/openshift-kni/performance-addon-operator:4.9-snapshot -h
52+
$ podman run --entrypoint performance-profile-creator registry.redhat.io/openshift4/performance-addon-rhel8-operator:v4.10 -h
4053
----
4154
+
4255
.Example output
@@ -77,7 +90,7 @@ Using this information you can set appropriate values for some of the arguments
7790
+
7891
[source,terminal]
7992
----
80-
$ podman run --entrypoint performance-profile-creator -v /must-gather:/must-gather:z quay.io/openshift-kni/performance-addon-operator:4.9-snapshot --info log --must-gather-dir-path /must-gather
93+
$ podman run --entrypoint performance-profile-creator -v /must-gather:/must-gather:z registry.redhat.io/openshift4/performance-addon-rhel8-operator:v4.10 --info log --must-gather-dir-path /must-gather
8194
----
8295
+
8396
[NOTE]
@@ -96,7 +109,7 @@ The `info` option requires a value which specifies the output format. Possible v
96109
+
97110
[source,terminal]
98111
----
99-
$ podman run --entrypoint performance-profile-creator -v /must-gather:/must-gather:z quay.io/openshift-kni/performance-addon-operator:4.9-snapshot --mcp-name=worker-cnf --reserved-cpu-count=20 --rt-kernel=true --split-reserved-cpus-across-numa=false --topology-manager-policy=single-numa-node --must-gather-dir-path /must-gather --power-consumption-mode=ultra-low-latency > my-performance-profile.yaml
112+
$ podman run --entrypoint performance-profile-creator -v /must-gather:/must-gather:z registry.redhat.io/openshift4/performance-addon-rhel8-operator:v4.10 --mcp-name=worker-cnf --reserved-cpu-count=20 --rt-kernel=true --split-reserved-cpus-across-numa=false --topology-manager-policy=single-numa-node --must-gather-dir-path /must-gather --power-consumption-mode=ultra-low-latency > my-performance-profile.yaml
100113
----
101114
+
102115
[NOTE]
@@ -144,6 +157,11 @@ spec:
144157
----
145158

146159
. Apply the generated profile:
160+
+
161+
[NOTE]
162+
====
163+
Install the Performance Addon Operator before applying the profile. For install instructions, see xref:cnf-performance-addon-operator-for-low-latency-nodes.adoc#installing-the-performance-addon-operator_cnf-master[Installing the Performance Addon Operator].
164+
====
147165

148166
+
149167
[source,terminal]

0 commit comments

Comments
 (0)