1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/virt-applying-node-placement-rules.adoc
2025-11-18 16:29:25 +01:00

33 lines
1.0 KiB
Plaintext

// Module included in the following assemblies:
//
// * virt/post_installation_configuration/virt-node-placement-virt-components.adoc
:_mod-docs-content-type: PROCEDURE
[id="virt-applying-node-place-rules_{context}"]
= Applying node placement rules
ifndef::openshift-rosa,openshift-dedicated[]
[role="_abstract"]
You can apply node placement rules by editing a `Subscription`, `HyperConverged`, or `HostPathProvisioner` object using the command line.
endif::openshift-rosa,openshift-dedicated[]
ifdef::openshift-rosa,openshift-dedicated[]
[role="_abstract"]
You can apply node placement rules by editing a `HyperConverged` or `HostPathProvisioner` object using the command line.
endif::openshift-rosa,openshift-dedicated[]
.Prerequisites
* The `oc` CLI tool is installed.
* You are logged in with cluster administrator permissions.
.Procedure
. Edit the object in your default editor by running the following command:
+
[source,terminal,subs="attributes+"]
----
$ oc edit <resource_type> <resource_name> -n {CNVNamespace}
----
. Save the file to apply the changes.