Skip to content

Commit 85cca2a

Browse files
authored
Merge pull request #81291 from mburke5678/mco-node-disruption-fix-tp
MCO node disruption policy typo fixes
2 parents ceef524 + 7e7f68f commit 85cca2a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

modules/machine-config-node-disruption-example.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ spec:
103103

104104
In the following example, when changes are made to the `auditd.service` systemd unit, the MCO drains the cluster nodes, reloads the `crio.service`, reloads the systemd manager configuration, and restarts the `crio.service`.
105105

106-
.Example node disruption policy for a configuration file change
106+
.Example node disruption policy for a systemd unit change
107107
[source,yaml]
108108
----
109109
apiVersion: operator.openshift.io/v1
@@ -127,9 +127,9 @@ spec:
127127
serviceName: crio.service
128128
----
129129

130-
In the following example, when changes are made to the files in the `registries.conf` directory, the MCO does not drain or reboot the nodes and applies the changes with no further action.
130+
In the following example, when changes are made to the files in the `registries.conf` directory, such as by editing an `ImageContentSourcePolicy` (ICSP) object, the MCO does not drain or reboot the nodes and applies the changes with no further action.
131131

132-
.Example node disruption policy for a configuration file change
132+
.Example node disruption policy for a registries.conf file change
133133
[source,yaml]
134134
----
135135
apiVersion: operator.openshift.io/v1
@@ -140,6 +140,7 @@ metadata:
140140
# ...
141141
spec:
142142
nodeDisruptionPolicy:
143+
files:
143144
- actions:
144145
- type: None
145146
path: /etc/containers/registries.conf

0 commit comments

Comments
 (0)