Skip to content

Commit 1e8f26d

Browse files
committed
Nodes are rebooted when cert is rotated
1 parent ec3793f commit 1e8f26d

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

modules/troubleshooting-disabling-autoreboot-mco.adoc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,19 @@
55
[id="troubleshooting-disabling-autoreboot-mco_{context}"]
66
= Disabling the Machine Config Operator from automatically rebooting
77

8-
When configuration changes are made by the Machine Config Operator (MCO), {op-system-first} must reboot for the changes to take effect. Whether the configuration change is automatic, such as when a `kube-apiserver-to-kubelet-signer` certificate authority (CA) is rotated, or manual, an {op-system} node reboots automatically unless it is paused.
8+
When configuration changes are made by the Machine Config Operator (MCO), {op-system-first} must reboot for the changes to take effect. Whether the configuration change is automatic or manual, an {op-system} node reboots automatically unless it is paused.
99

1010
[NOTE]
1111
====
1212
The following modifications do not trigger a node reboot:
1313
14-
* changes to the SSH key in the `spec.config.ignition.passwd.users.sshAuthorizedKeys` parameter of a machine config
15-
* changes to the global pull secret or pull secret in the `openshift-config` namespace
16-
* changes to the `/etc/containers/registries.conf` file, such as adding or editing an `ImageContentSourcePolicy` object
14+
* When the MCO detects any of the following changes, it applies the update without draining or rebooting the node:
1715
18-
When the MCO detects any of these changes, it drains the corresponding nodes, applies the changes, and uncordons the nodes.
16+
** Changes to the SSH key in the `spec.config.ignition.passwd.users.sshAuthorizedKeys` parameter of a machine config.
17+
** Changes to the global pull secret or pull secret in the `openshift-config` namespace.
18+
** Automatic rotation of the `/etc/kubernetes/kubelet-ca.crt` certificate authority (CA) by the Kubernetes API Server Operator.
19+
20+
* When the MCO detects changes to the `/etc/containers/registries.conf` file, such as adding or editing an `ImageContentSourcePolicy` object, it drains the corresponding nodes, applies the changes, and uncordons the nodes.
1921
====
2022

2123
To avoid unwanted disruptions, you can modify the machine config pool (MCP) to prevent automatic rebooting after the Operator makes changes to the machine config.

modules/understanding-machine-config-operator.adoc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,12 @@ To prevent the nodes from automatically rebooting after machine configuration ch
4747
4848
The following modifications do not trigger a node reboot:
4949
50-
* changes to the SSH key in the `spec.config.ignition.passwd.users.sshAuthorizedKeys` parameter of a machine config
51-
* changes to the global pull secret or pull secret in the `openshift-config` namespace
52-
* changes to the `/etc/containers/registries.conf` file, such as adding or editing an `ImageContentSourcePolicy` object
50+
* When the MCO detects any of the following changes, it applies the update without draining or rebooting the node:
5351
54-
When the MCO detects any of these changes, it drains the corresponding nodes, applies the changes, and uncordons the nodes.
52+
** Changes to the SSH key in the `spec.config.ignition.passwd.users.sshAuthorizedKeys` parameter of a machine config.
53+
** Changes to the global pull secret or pull secret in the `openshift-config` namespace.
54+
** Automatic rotation of the `/etc/kubernetes/kubelet-ca.crt` certificate authority (CA) by the Kubernetes API Server Operator.
55+
56+
* When the MCO detects changes to the `/etc/containers/registries.conf` file, such as adding or editing an `ImageContentSourcePolicy` object, it drains the corresponding nodes, applies the changes, and uncordons the nodes.
5557
====
5658

0 commit comments

Comments
 (0)