Skip to content

Commit a58cd7e

Browse files
committed
OCPBUGS-19661 Updating image to registry.access.redhat.com/rhel:latest
1 parent b6ba8ca commit a58cd7e

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

modules/cnf-scheduling-numa-aware-workloads-with-manual-performance-setttings.adoc

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ apiVersion: apps/v1
4343
kind: Deployment
4444
metadata:
4545
name: numa-deployment-1
46-
namespace: <namespace> <1>
46+
namespace: openshift-numaresources
4747
spec:
4848
replicas: 1
4949
selector:
@@ -54,7 +54,7 @@ spec:
5454
labels:
5555
app: test
5656
spec:
57-
schedulerName: topo-aware-scheduler <2>
57+
schedulerName: topo-aware-scheduler <1>
5858
containers:
5959
- name: ctnr
6060
image: quay.io/openshifttest/hello-openshift:openshift
@@ -67,8 +67,10 @@ spec:
6767
memory: "100Mi"
6868
cpu: "10"
6969
- name: ctnr2
70-
image: gcr.io/google_containers/pause-amd64:3.0
70+
image: registry.access.redhat.com/rhel:latest
7171
imagePullPolicy: IfNotPresent
72+
command: ["/bin/sh", "-c"]
73+
args: [ "while true; do sleep 1h; done;" ]
7274
resources:
7375
limits:
7476
memory: "100Mi"
@@ -77,8 +79,7 @@ spec:
7779
memory: "100Mi"
7880
cpu: "8"
7981
----
80-
<1> Replace with the namespace for your deployment.
81-
<2> `schedulerName` must match the name of the NUMA-aware scheduler that is deployed in your cluster, for example `topo-aware-scheduler`.
82+
<1> `schedulerName` must match the name of the NUMA-aware scheduler that is deployed in your cluster, for example `topo-aware-scheduler`.
8283

8384
.. Create the `Deployment` CR by running the following command:
8485
+
@@ -128,7 +129,7 @@ Events:
128129
Deployments that request more resources than is available for scheduling will fail with a `MinimumReplicasUnavailable` error. The deployment succeeds when the required resources become available. Pods remain in the `Pending` state until the required resources are available.
129130
====
130131

131-
. Verify that the expected allocated resources are listed for the node.
132+
. Verify that the expected allocated resources are listed for the node.
132133

133134
.. Identify the node that is running the deployment pod by running the following command, replacing <namespace> with the namespace you specified in the `Deployment` CR:
134135
+

modules/cnf-scheduling-numa-aware-workloads.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ numa-deployment-1-65684f8fcc-bw4bw 0/2 Running 0 82m 10.128.2
149149
+
150150
[source,terminal]
151151
----
152-
$ oc describe noderesourcetopologies.topology.node.k8s.io
152+
$ oc describe noderesourcetopologies.topology.node.k8s.io <node_name>
153153
----
154154
+
155155
.Example output

0 commit comments

Comments
 (0)