Skip to content

Commit a0715fc

Browse files
author
Michael Burke
committed
[enterprise-4.17] OSDOCS 15615 Clarity on bootimage changes on AWS and GCP
1 parent f55117a commit a0715fc

File tree

2 files changed

+30
-3
lines changed

2 files changed

+30
-3
lines changed

machine_configuration/mco-update-boot-images.adoc

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,14 @@ include::snippets/technology-preview.adoc[]
2323

2424
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.
2525

26-
To view the current boot image used in your cluster, examine a machine set:
26+
To view the current boot image used in your cluster, examine a machine set.
2727

28-
.Example machine set with the boot image reference
28+
[NOTE]
29+
====
30+
The location and format of the boot image within the machine set differs, based on the platform. However, the boot image is always listed in the `spec.template.spec.providerSpec.` parameter.
31+
====
32+
33+
.Example GCP machine set with the boot image reference
2934

3035
[source,yaml]
3136
----
@@ -51,6 +56,28 @@ spec:
5156
----
5257
<1> This boot image is the same as the originally-installed {product-title} version, in this example {product-title} 4.12, regardless of the current version of the cluster. The way that the boot image is represented in the machine set depends on the platform, as the structure of the `providerSpec` field differs from platform to platform.
5358

59+
.Example AWS machine set with the boot image reference
60+
61+
[source,yaml]
62+
----
63+
apiVersion: machine.openshift.io/v1beta1
64+
kind: MachineSet
65+
metadata:
66+
name: ci-ln-hmy310k-72292-5f87z-worker-a
67+
namespace: openshift-machine-api
68+
spec:
69+
# ...
70+
template:
71+
# ...
72+
spec:
73+
# ...
74+
providerSpec:
75+
value:
76+
ami:
77+
id: ami-0e8fd9094e487d1ff
78+
# ...
79+
----
80+
5481
If you configure your cluster to update your boot images, the boot image referenced in your machine sets matches the current version of the cluster.
5582

5683
include::modules/mco-update-boot-images-configuring.adoc[leveloffset=+1]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,4 @@ spec:
146146
image: projects/rhcos-cloud/global/images/<boot_image> <1>
147147
# ...
148148
----
149-
<1> This boot image is the same as the current {product-title} version.
149+
<1> This boot image is the same as the current {product-title} version. The location and format of the boot image within the machine set differs, based on the platform. However, the boot image is always listed in the `spec.template.spec.providerSpec.` parameter.

0 commit comments

Comments
 (0)