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-using-skip-node.adoc
Avital Pinnick 1f6da87721 Update node docs
Signed-off-by: Avital Pinnick <apinnick@redhat.com>
2023-08-30 16:04:05 +03:00

27 lines
720 B
Plaintext

// Module included in the following assembly:
//
// * virt/nodes/virt-preventing-node-reconciliation.adoc
//
:_content-type: PROCEDURE
[id="virt-using-skip-node_{context}"]
= Using skip-node annotation
If you want the `node-labeller` to skip a node, annotate that node by using the `oc` CLI.
.Prerequisites
* You have installed the OpenShift CLI (`oc`).
.Procedure
* Annotate the node that you want to skip by running the following command:
+
[source,terminal]
----
$ oc annotate node <node_name> node-labeller.kubevirt.io/skip-node=true <1>
----
<1> Replace `<node_name>` with the name of the relevant node to skip.
+
Reconciliation resumes on the next cycle after the node annotation is removed or set to false.