From afce28893f353ee595ed897ee12a3eca7e23feb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CShauna=20Diaz=E2=80=9D?= Date: Mon, 15 Sep 2025 08:04:36 -0400 Subject: [PATCH] OSDOCS-16088: adds warning about images power loss --- ...roshift-embed-microshift-image-offline-deploy.adoc | 2 ++ ...microshift-preparing-for-image-building-bootc.adoc | 2 ++ snippets/microshift-power-loss-embed-images.adoc | 11 +++++++++++ 3 files changed, 15 insertions(+) create mode 100644 snippets/microshift-power-loss-embed-images.adoc diff --git a/modules/microshift-embed-microshift-image-offline-deploy.adoc b/modules/microshift-embed-microshift-image-offline-deploy.adoc index e416b4ccfb36..d64a02fa1ac0 100644 --- a/modules/microshift-embed-microshift-image-offline-deploy.adoc +++ b/modules/microshift-embed-microshift-image-offline-deploy.adoc @@ -9,6 +9,8 @@ You can use image builder to create {op-system-ostree} images with embedded {microshift-short} container images. To embed container images, you must add the image references to your image builder blueprint file. +include::snippets/microshift-power-loss-embed-images.adoc[leveloffset=1] + .Prerequisites * You have root-user access to your build host. diff --git a/modules/microshift-preparing-for-image-building-bootc.adoc b/modules/microshift-preparing-for-image-building-bootc.adoc index ed10d21a7542..55cbcd93a219 100644 --- a/modules/microshift-preparing-for-image-building-bootc.adoc +++ b/modules/microshift-preparing-for-image-building-bootc.adoc @@ -13,3 +13,5 @@ Use the following {op-system-base} documentation to understand the full details * Follow the instructions at the following link: ** link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/{op-system-version-major}/html/using_image_mode_for_rhel_to_build_deploy_and_manage_operating_systems/index[Using image mode for RHEL to build, deploy, and manage operating systems] + +include::snippets/microshift-power-loss-embed-images.adoc[leveloffset=1] diff --git a/snippets/microshift-power-loss-embed-images.adoc b/snippets/microshift-power-loss-embed-images.adoc new file mode 100644 index 000000000000..81bf7b08fcc6 --- /dev/null +++ b/snippets/microshift-power-loss-embed-images.adoc @@ -0,0 +1,11 @@ +// Text snippet included in the following modules: +// +// * modules/ +// * modules/ + +:_mod-docs-content-type: SNIPPET + +[WARNING] +==== +For offline or disconnected configurations, embed all container image dependencies as part of the system image. When container images are downloaded without being embedded into the system image, CRI-O wipes them off during unclean shutdowns, such as when a power loss occurs. In this case, you can only restore those container images when the system is online. +====