1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 06:46:26 +01:00

MCO Fix Configuring updated boot images

This commit is contained in:
Michael Burke
2024-10-17 15:37:34 -04:00
committed by openshift-cherrypick-robot
parent de13c51b3d
commit bf124c78fa

View File

@@ -23,7 +23,7 @@ include::snippets/technology-preview.adoc[]
$ oc edit MachineConfiguration cluster
----
.. Optional: Configure the boot image update feature for all the machine sets:
* Optional: Configure the boot image update feature for all the machine sets:
+
[source,yaml]
----
@@ -44,7 +44,7 @@ spec:
<1> Activates the boot image update feature.
<2> Specifies that all the machine sets in the cluster are to be updated.
.. Optional: Configure the boot image update feature for specific machine sets:
* Optional: Configure the boot image update feature for specific machine sets:
+
[source,yaml]
----
@@ -61,10 +61,10 @@ spec:
apiGroup: machine.openshift.io
selection:
mode: Partial
partial:
machineResourceSelector:
matchLabels:
update-boot-image: "true" <2>
partial:
machineResourceSelector:
matchLabels:
update-boot-image: "true" <2>
----
<1> Activates the boot image update feature.
<2> Specifies that any machine set with this label is to be updated.
@@ -84,7 +84,7 @@ $ oc label machineset.machine ci-ln-hmy310k-72292-5f87z-worker-a update-boot-ima
+
[source,terminal]
----
$ oc get machine configuration <machineset_name> -n openshift-machine-api -o yaml
$ oc get machineconfiguration cluster -n openshift-machine-api -o yaml
----
+
.Example machine set with the boot image reference