Skip to content

Commit 49f3d2d

Browse files
authored
Merge pull request #35086 from sabrinajess/12482
CNV-12482: New content for skip node annotation
2 parents 31f460a + 8b76c33 commit 49f3d2d

File tree

3 files changed

+44
-1
lines changed

3 files changed

+44
-1
lines changed

_topic_map.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2674,7 +2674,7 @@ Topics:
26742674
- Name: SMCP configuration reference
26752675
File: ossm-reference-smcp
26762676
- Name: Jaeger configuration reference
2677-
File: ossm-reference-jaeger
2677+
File: ossm-reference-jaeger
26782678
- Name: Uninstalling Service Mesh
26792679
File: removing-ossm
26802680
- Name: Service Mesh 1.x
@@ -2951,6 +2951,8 @@ Topics:
29512951
File: virt-automatic-certificates
29522952
- Name: Managing node labeling for obsolete CPU models
29532953
File: virt-managing-node-labeling-obsolete-cpu-models
2954+
- Name: Preventing node reconciliation
2955+
File: virt-preventing-node-reconciliation
29542956
# Node Networking
29552957
- Name: Node networking
29562958
Dir: node_network

modules/virt-using-skip-node.adoc

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// Module included in the following assembly:
2+
//
3+
// * virt/node_maintenance/virt-preventing-node-reconciliation.adoc
4+
//
5+
6+
[id="virt-using-skip-node_{context}"]
7+
= Using skip-node annotation
8+
9+
If you want the `node-labeller` to skip a node, annotate that node by using the `oc` CLI.
10+
11+
.Prerequisites
12+
* You have installed the OpenShift CLI (`oc`).
13+
14+
.Procedure
15+
16+
* Annotate the node that you want to skip by running the following command:
17+
18+
+
19+
[source,terminal]
20+
----
21+
$ oc annotate node <node_name> node-labeller.kubevirt.io/skip-node=true <1>
22+
----
23+
<1> Replace `<node_name>` with the name of the relevant node to skip.
24+
+
25+
Reconciliation resumes on the next cycle after the node annotation is removed or set to false.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[id="virt-using-skip-node"]
2+
= Preventing node reconciliation
3+
include::modules/virt-document-attributes.adoc[]
4+
include::modules/common-attributes.adoc[]
5+
:context: virt-preventing-node-reconciliation
6+
7+
toc::[]
8+
9+
Use `skip-node` annotation to prevent the `node-labeller` from reconciling a node.
10+
11+
include::modules/virt-using-skip-node.adoc[leveloffset=+1]
12+
13+
[id="additional-resources_{context}"]
14+
== Additional resources
15+
16+
* xref:../../virt/node_maintenance/virt-managing-node-labeling-obsolete-cpu-models.adoc#virt-managing-node-labeling-obsolete-cpu-models[Managing node labeling for obsolete CPU models]

0 commit comments

Comments
 (0)