On-cluster image mode known limitations
Note the following limitations when working with the on-cluster layering feature:
-
On-cluster image mode is not supported on multi-architecture compute machines.
-
Using multiple
MachineOSConfigobjects on the same machine config pool is not supported. You need a separateMachineOSConfigCR for each machine config pool where you want to use a distinct custom layered image. -
If you scale up a machine set that uses a custom layered image, the nodes reboot two times. The first, when the node is initially created with the base image and a second time when the custom layered image is applied.
-
Node disruption policies are not supported on nodes with a custom layered image. However, the following machine configuration changes do not cause a new image build or the reboot of a node with an on-cluster custom layered image:
-
Modifying the configuration files in the
/varor/etcdirectory -
Adding or modifying a systemd service
-
Changing SSH keys
-
Removing mirroring rules from
ICSP,ITMS, andIDMSobjects -
Changing the trusted CA, by updating the
user-ca-bundleconfigmap in theopenshift-confignamespace
-
-
The following machine configuration changes do cause a new image build and a node reboot:
-
Changing the kernel arguments
-
Changing the
OSImageURLparameter -
Adding or removing extensions
-
-
The images used in creating custom layered images take up space in your push registry. Always be aware of the free space in your registry and prune the images as needed. You can automatically remove an on-cluster custom layered image from the repository by deleting the
MachineOSBuildobject that created the image. Note that the credentials provided by the registry push secret must also grant permission to delete an image from the registry. For more information, see "Removing an on-cluster custom layered image".