Skip to content

Commit c47ab29

Browse files
authored
Merge pull request #79985 from sbeskin-redhat/CNV_45636_WASP_documentation_fix
CNV-45636: WASP documentation fix
2 parents 5ae9405 + 07b5ed0 commit c47ab29

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

modules/virt-using-wasp-agent-to-configure-higher-vm-workload-density.adoc

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ $ oc create sa -n wasp wasp
3939
+
4040
[source,terminal]
4141
----
42-
$ oc adm policy add-cluster-role-to-user cluster-admin -n wasp -z wasp
42+
$ oc create clusterrolebinding wasp --clusterrole=cluster-admin --serviceaccount=wasp:wasp
4343
----
4444
+
4545
[source,terminal]
@@ -52,13 +52,10 @@ $ oc adm policy add-scc-to-user -n wasp privileged -z wasp
5252
The `wasp-agent` component deploys an OCI hook to enable swap usage for containers on the node level. The low-level nature requires the `DaemonSet` object to be privileged.
5353
====
5454
+
55-
. Deploy `wasp-agent`:
56-
+
57-
.. Create a `DaemonSet` object as follows:
55+
. Deploy `wasp-agent` by creating a `DaemonSet` object as follows:
5856
+
5957
[source,yaml]
6058
----
61-
apiVersion: machineconfiguration.openshift.io/v1
6259
kind: DaemonSet
6360
apiVersion: apps/v1
6461
metadata:
@@ -86,7 +83,7 @@ spec:
8683
containers:
8784
- name: wasp-agent
8885
image: >-
89-
registry.redhat.io/container-native-virtualization/wasp-agent-rhel9:latest
86+
registry.redhat.io/container-native-virtualization/wasp-agent-rhel9:v4.16
9087
imagePullPolicy: Always
9188
env:
9289
- name: "FSROOT"
@@ -112,7 +109,6 @@ spec:
112109
maxSurge: 0
113110
status: {}
114111
----
115-
.. Get the latest URL from the link:https://registry.redhat.io/container-native-virtualization/wasp-agent-rhel9:latest[RH portal] and enter the URL in the created `DaemonSet` object.
116112
. Configure the `kubelet` service to permit swap:
117113
.. Create a `KubeletConfiguration` file as shown in the example:
118114
+

0 commit comments

Comments
 (0)