5.7.2. Removing the wasp-agent component


If you no longer need memory overcommitment, you can remove the wasp-agent component and associated resources from your cluster.

Prerequisites

  • You have logged in to the cluster with the cluster-admin role.
  • You have installed the OpenShift CLI (oc).

Procedure

  1. Revert the memory overcommitment configuration by running the following command:

    $ oc -n openshift-cnv patch HyperConverged/kubevirt-hyperconverged \
      --type='json' \
      -p='[{"op": "remove", "path": "/spec/higherWorkloadDensity"}]'
  2. Delete the MachineConfig that provisions swap memory by running the following command:

    $ oc delete machineconfig 90-worker-swap

Verification

  • Confirm that swap is no longer enabled on a node, by running the following command and observing the output:

    $ oc debug node/<selected_node> -- free -m

    Ensure that the Swap: row shows 0 or that no swap space shows as provisioned.

Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

Red Hat ドキュメントについて

Legal Notice

Theme

© 2026 Red Hat
トップに戻る