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
Copy file name to clipboardExpand all lines: modules/virt-using-wasp-agent-to-configure-higher-vm-workload-density.adoc
+3-7Lines changed: 3 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ $ oc create sa -n wasp wasp
39
39
+
40
40
[source,terminal]
41
41
----
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
43
43
----
44
44
+
45
45
[source,terminal]
@@ -52,13 +52,10 @@ $ oc adm policy add-scc-to-user -n wasp privileged -z wasp
52
52
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.
53
53
====
54
54
+
55
-
. Deploy `wasp-agent`:
56
-
+
57
-
.. Create a `DaemonSet` object as follows:
55
+
. Deploy `wasp-agent` by creating a `DaemonSet` object as follows:
.. 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.
116
112
. Configure the `kubelet` service to permit swap:
117
113
.. Create a `KubeletConfiguration` file as shown in the example:
0 commit comments