Apply a kernel hotfix to RHCOS with out-of-cluster image mode
Ship a kernel errata to RHCOS nodes before it lands in an OpenShift z-stream, by building a custom layered image off-cluster and pointing a MachineConfig at it with osImageURL.
Reference: Image mode for OpenShift. Upstream projects: machine-config-operator, rpm-ostree, bootc.
Prerequisites
oclogged in with cluster-admin.- An entitled RHEL host matching the RHCOS base (same major/minor, EUS repo if applicable) with
dnfandpodman. - The cluster pull secret saved as
pull-secret.json(needed to pull the RHCOS base image). - A container registry reachable from the nodes, and push credentials in
registry-auth.json.
1. Identify the base image and kernel packages
The RHCOS image of the running release must be the FROM of the custom build.