|
9 | 9 |
|
10 | 10 | 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.
|
11 | 11 |
|
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}. |
13 | 13 |
|
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[] |
15 | 16 |
|
16 | 17 | .Procedure
|
17 | 18 |
|
@@ -79,6 +80,38 @@ $ oc label machineset.machine ci-ln-hmy310k-72292-5f87z-worker-a update-boot-ima
|
79 | 80 |
|
80 | 81 | .Verification
|
81 | 82 |
|
| 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 | +
|
82 | 115 | . Get the boot image version by running the following command:
|
83 | 116 | +
|
84 | 117 | [source,terminal]
|
|
0 commit comments