1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 06:46:36 +01:00
Files
installer/docs/dev/pinned-coreos.md
Saqib Ali 8bf1f6345b docs/dev/pinned-coreos.md: update rhcos-stream.json example
The file data/data/rhcos-stream.json was deleted in
d773ee5573
and the corresponding data now lives in data/data/coreos/rhcos.json. Let's update
the documentation to reflect this change.
2021-12-06 13:42:36 -05:00

1.7 KiB

CoreOS and the installer

A key decision made before the release of OpenShift 4 is to pin the CoreOS bootimage in the installer: e080f04947

That is still the case today; when one gets an openshift-install binary, that binary contains the 2-tuple (CoreOS, release image), meaning the result of an install will be the same thing each time.

More background:

Stream metadata

As of 4.8 the stream metadata enhancement is in progress which provides a standardized JSON format and injects that data into the cluster as well.

Updating pinned stream metadata

To update the bootimage for one or more architectures, use e.g.

$ plume cosa2stream --target data/data/coreos/rhcos.json --distro rhcos  x86_64=48.83.202102230316-0 s390x=47.83.202102090311-0 ppc64le=47.83.202102091015-0 --url https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases --no-signatures

For more information on this command, see:

Origin of stream metadata

For historical reference, the initial file data/data/rhcos-stream.json was generated this way:

$ plume cosa2stream --name rhcos-4.8 --distro rhcos  x86_64=48.83.202102230316-0 s390x=47.83.202102090311-0 ppc64le=47.83.202102091015-0 > data/data/rhcos-stream.json

NOTE: the data for data/data/rhcos-stream.json now lives in data/data/coreos/rhcos.json