Skip to content

Commit 4c481c5

Browse files
authored
Merge pull request #81396 from mburke5678/mco-boot-image-ga
OSDOCS9578: Update Boot Images for GCP GA
2 parents 62ce8ee + f14ee0f commit 4c481c5

File tree

2 files changed

+39
-4
lines changed

2 files changed

+39
-4
lines changed

machine_configuration/mco-update-boot-images.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ This process could cause the following issues:
1616
* Certificate expiration issues
1717
* Version skew issues
1818
19-
To avoid these issues, you can configure your cluster to update the boot image whenever you update your cluster. By modifying the `MachineConfiguration` object, you can enable this feature. Currently, the ability to update the boot image is available for only Google Cloud Platform (GCP) clusters and is not supported for clusters managed by the Cluster API.
19+
To avoid these issues, you can configure your cluster to update the boot image whenever you update your cluster. By modifying the `MachineConfiguration` object, you can enable this feature. Currently, the ability to update the boot image is available for only Google Cloud Platform (GCP) clusters and as a Technology Preview feature for Amazon Web Services (AWS) clusters. It is not supported for clusters managed by the {cluster-capi-operator}.
2020

21-
:FeatureName: The updating boot image feature
21+
:FeatureName: The updating boot image feature for AWS
2222
include::snippets/technology-preview.adoc[]
2323

24+
If you are not using the default user data secret, named `worker-user-data`, in your machine set, or you have modified the `worker-user-data` secret, you should not use managed boot image updates. This is because the Machine Config Operator (MCO) updates the machine set to use a managed version of the secret. By using the managed boot images feature, you are giving up the capability to customize the secret stored in the machine set object.
25+
2426
To view the current boot image used in your cluster, examine a machine set:
2527

2628
.Example machine set with the boot image reference

modules/mco-update-boot-images-configuring.adoc

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@
99

1010
By default, {product-title} does not manage the boot image. You can configure your cluster to update the boot image whenever you update your cluster by modifying the `MachineConfiguration` object.
1111

12-
.Prerequisites
12+
Currently, the ability to update the boot image is available for only Google Cloud Platform (GCP) clusters and as a Technology Preview feature for Amazon Web Services (AWS) clusters. It is not supported for clusters managed by the {cluster-capi-operator}.
1313

14-
* You have enabled the `TechPreviewNoUpgrade` feature set by using the feature gates. For more information, see "Enabling features using feature gates" in the _Additional resources_ section.
14+
:FeatureName: The updating boot image feature for AWS
15+
include::snippets/technology-preview.adoc[]
1516

1617
.Procedure
1718

@@ -79,6 +80,38 @@ $ oc label machineset.machine ci-ln-hmy310k-72292-5f87z-worker-a update-boot-ima
7980
8081
.Verification
8182
83+
. View the current state of the boot image updates by viewing the machine configuration object:
84+
+
85+
[source,terminal]
86+
----
87+
$ oc get machine configuration <machineset_name> -n openshift-machine-api -o yaml
88+
----
89+
+
90+
.Example machine set with the boot image reference
91+
+
92+
[source,yaml]
93+
----
94+
kind: MachineConfiguration
95+
metadata:
96+
name: cluster
97+
# ...
98+
status:
99+
conditions:
100+
- lastTransitionTime: "2024-09-09T13:51:37Z" <1>
101+
message: Reconciled 1 of 2 MAPI MachineSets | Reconciled 0 of 0 CAPI MachineSets
102+
| Reconciled 0 of 0 CAPI MachineDeployments
103+
reason: BootImageUpdateConfigurationAdded
104+
status: "True"
105+
type: BootImageUpdateProgressing
106+
- lastTransitionTime: "2024-09-09T13:51:37Z" <2>
107+
message: 0 Degraded MAPI MachineSets | 0 Degraded CAPI MachineSets | 0 CAPI MachineDeployments
108+
reason: BootImageUpdateConfigurationAdded
109+
status: "False"
110+
type: BootImageUpdateDegraded
111+
----
112+
<1> Status of the boot image update. {cluster-capi-operator} machine sets and machine deployments are not currently supported for boot image updates.
113+
<2> Indicates if any boot image updates failed. If any of the updates fail, the Machine Config Operator is degraded. In this case, manual intervention might be required.
114+
82115
. Get the boot image version by running the following command:
83116
+
84117
[source,terminal]

0 commit comments

Comments
 (0)