Skip to content

Commit 1943af9

Browse files
committed
Feature Gates: Add steps to verify
1 parent d55e7e7 commit 1943af9

File tree

2 files changed

+90
-0
lines changed

2 files changed

+90
-0
lines changed

modules/nodes-cluster-enabling-features-cli.adoc

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,53 @@ spec:
4040
* `TechPreviewNoUpgrade` enables specific Technology Preview features.
4141
--
4242
+
43+
After you save the changes, new machine configs are created, the machine config pools are updated, and scheduling on each node is disabled while the change is being applied.
44+
+
4345
[NOTE]
4446
====
4547
Enabling the `TechPreviewNoUpgrade` feature set cannot be undone and prevents upgrades. These feature sets are not recommended on production clusters.
4648
====
49+
50+
.Verification
51+
52+
You can verify that the feature gates are enabled by looking at the `kubelet.conf` file on a node after the nodes return to the ready state.
53+
54+
. Start a debug session for a node:
55+
+
56+
[source,terminal]
57+
----
58+
$ oc debug node/<node_name>
59+
----
60+
61+
. Change your root directory to the host:
62+
+
63+
[source,terminal]
64+
----
65+
sh-4.2# chroot /host
66+
----
67+
68+
. View the `kubelet.conf` file:
69+
+
70+
[source,terminal]
71+
----
72+
sh-4.2# cat /etc/kubernetes/kubelet.conf
73+
----
74+
+
75+
.Sample output
76+
+
77+
[source,terminal]
78+
----
79+
...
80+
featureGates:
81+
InsightsOperatorPullingSCA: true,
82+
LegacyNodeRoleBehavior: false
83+
...
84+
----
85+
+
86+
The features that are listed as `true` are enabled on your cluster.
87+
+
88+
[NOTE]
89+
====
90+
The features listed vary depending upon the {product-title} version.
91+
====
92+

modules/nodes-cluster-enabling-features-console.adoc

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,51 @@ spec:
4141
* `TechPreviewNoUpgrade` enables specific Technology Preview features.
4242
--
4343
+
44+
After you save the changes, new machine configs are created, the machine config pools are updated, and scheduling on each node is disabled while the change is being applied.
45+
+
4446
[NOTE]
4547
====
4648
Enabling the `TechPreviewNoUpgrade` feature set cannot be undone and prevents upgrades. These feature sets are not recommended on production clusters.
4749
====
50+
51+
.Verification
52+
53+
You can verify that the feature gates are enabled by looking at the `kubelet.conf` file on a node after the nodes return to the ready state.
54+
55+
. From the *Administrator* perspective in the web console, navigate to *Compute* -> *Nodes*.
56+
57+
. Select a node.
58+
59+
. In the *Node details* page, click *Terminal*.
60+
61+
. In the terminal window, change your root directory to the host:
62+
+
63+
[source,terminal]
64+
----
65+
sh-4.2# chroot /host
66+
----
67+
68+
. View the `kubelet.conf` file:
69+
+
70+
[source,terminal]
71+
----
72+
sh-4.2# cat /etc/kubernetes/kubelet.conf
73+
----
74+
+
75+
.Sample output
76+
+
77+
[source,terminal]
78+
----
79+
...
80+
featureGates:
81+
InsightsOperatorPullingSCA: true,
82+
LegacyNodeRoleBehavior: false
83+
...
84+
----
85+
+
86+
The features that are listed as `true` are enabled on your cluster.
87+
+
88+
[NOTE]
89+
====
90+
The features listed vary depending upon the {product-title} version.
91+
====

0 commit comments

Comments
 (0)