diff --git a/docs/configuration.md b/docs/configuration.md index ede2c9eb..41dd931b 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -80,8 +80,7 @@ $ oc wait mcp worker --for condition=Updated=True --timeout=-1s 7. #### Deploy `wasp-agent`
* ##### Determine wasp-agent image pull URL: ```console -$ OCP_VERSION=$(oc get clusterversion | awk 'NR==2' |cut -d' ' -f4 | cut -d'-' -f1) -$ oc get csv kubevirt-hyperconverged-operator.v${OCP_VERSION} -nopenshift-cnv -ojson | jq '.spec.relatedImages[] | select(.name|test(".*wasp-agent.*")) | .image' +oc get csv -n openshift-cnv -l=operators.coreos.com/kubevirt-hyperconverged.openshift-cnv -ojson | jq '.items[0].spec.relatedImages[] | select(.name|test(".*wasp-agent.*")) | .image' ``` * ##### Create a `DaemonSet` with the relevant image URL according to the following [example](../manifests/openshift/ds.yaml). diff --git a/manifests/openshift/ds.yaml b/manifests/openshift/ds.yaml index 76c678fc..8e54e550 100644 --- a/manifests/openshift/ds.yaml +++ b/manifests/openshift/ds.yaml @@ -21,7 +21,7 @@ spec: containers: - env: - name: SWAP_UTILIZATION_THRESHOLD_FACTOR - value: 0.8 + value: "0.8" - name: MAX_AVERAGE_SWAP_IN_PAGES_PER_SECOND value: "1000" - name: MAX_AVERAGE_SWAP_OUT_PAGES_PER_SECOND