// 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[]
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[]
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.
