diff --git a/docs/configuration.md b/docs/configuration.md index 53c57233..89c0b7b1 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -16,7 +16,7 @@ others, for example: ## Configuring higher workload density with the wasp-agent -[wasp-agent] is an component to enable an OpenShift cluster to assign +[wasp-agent] is a component to enable an OpenShift cluster to assign SWAP resources to burstable VM workloads only. SWAP usage is supported on worker nodes only. @@ -52,7 +52,7 @@ $ oc adm policy add-scc-to-user -n wasp privileged -z wasp Create a `KubeletConfiguration` according to the following [example](../manifests/kubelet-configuration-with-swap.yaml). -4. Create `MachineConfig` to provision swap +4. Create `MachineConfig` to provision swap according to the following [example](../manifests/machineconfig-add-swap.yaml) > [!IMPORTANT] > In order to have enough swap for the worst case scenario, it must diff --git a/manifests/prep-hco.yaml b/manifests/prep-hco.yaml index 35ec84f1..70f96880 100644 --- a/manifests/prep-hco.yaml +++ b/manifests/prep-hco.yaml @@ -1,20 +1,8 @@ apiVersion: hco.kubevirt.io/v1beta1 kind: HyperConverged -metadata: metadata: name: kubevirt-hyperconverged namespace: openshift-cnv - annotations: - kubevirt.kubevirt.io/jsonpatch: |- - [ - { - "op": "add", - "path": "/spec/configuration/developerConfiguration/memoryOvercommit", - "value": 200 - }, - { - "op": "add", - "path": "/spec/configuration/developerConfiguration/useEmulation", - "value": true - } - ] +spec: + higherWorkloadDensity: + memoryOvercommitPercentage: 150