|
| 1 | +:_content-type: ASSEMBLY |
| 2 | +[id="microshift-embedded-apps-on-rhel-edge"] |
| 3 | += Options for embedding {product-title} applications in a {op-system-ostree} image |
| 4 | +include::_attributes/attributes-microshift.adoc[] |
| 5 | +:context: microshift-embedded-apps-on-rhel-edge |
| 6 | + |
| 7 | +toc::[] |
| 8 | + |
| 9 | +You can embed microservices-based workloads and applications in a {op-system-ostree-first} image to run in a {product-title} cluster. Embedded applications can be installed directly on edge devices to run in air-gapped, disconnected, or offline environments. |
| 10 | + |
| 11 | +[id="microshift-add-app-RPMs-to-rpm-ostree-image_{context}"] |
| 12 | +== Adding application RPMs to an rpm-ostree image |
| 13 | +If you have an application that includes APIs, container images, and configuration files for deployment such as manifests, you can build application RPMs. You can then add the RPMs to your {op-system-ostree} system image. |
| 14 | + |
| 15 | +The following is an outline of the procedures to embed applications or workloads in an fully self-contained operating system image: |
| 16 | + |
| 17 | +* Build your own RPM that includes your application manifest. |
| 18 | +* Add the RPM to the blueprint you used to install {product-title}. |
| 19 | +* Add the workload container images to the same blueprint. |
| 20 | +* Create a bootable ISO. |
| 21 | + |
| 22 | +For a step-by-step tutorial about preparing and embedding applications in a {op-system-ostree} image, use the following tutorial: |
| 23 | + |
| 24 | +* xref:../microshift_running_apps/microshift-embedding-apps-tutorial.adoc#microshift-embedding-apps-tutorial[Embedding applications tutorial] |
| 25 | + |
| 26 | +[id="microshift-add-app-manifests-to-image_{context}"] |
| 27 | +== Adding application manifests to an image for offline use |
| 28 | +If you have a simple application that includes a few files for deployment such as manifests, you can add those manifests directly to a {op-system-ostree} system image. |
| 29 | + |
| 30 | +See the "Create a custom file blueprint customization" section of the following {op-system-ostree} documentation for an example: |
| 31 | + |
| 32 | +* link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/composing_installing_and_managing_rhel_for_edge_images/composing-a-rhel-for-edge-image-using-image-builder-command-line_composing-installing-managing-rhel-for-edge-images#image-customizations_composing-a-rhel-for-edge-image-using-image-builder-command-line[Create a custom file blueprint customization] |
| 33 | + |
| 34 | +[id="microshift-embed-apps-for-offline-use_{context}"] |
| 35 | +== Embedding applications for offline use |
| 36 | +If you have an application that includes more than a few files, you can embed the application for offline use. See the following procedure: |
| 37 | + |
| 38 | +* xref:../microshift_running_apps/microshift-embed-apps-offline-use.adoc#microshift-embed-apps-offline-use[Embedding applications for offline use] |
| 39 | + |
| 40 | +//additional resources for assembly |
| 41 | +[id="additional-resources_microshift-embed-apps-on-rhel-edge_{context}"] |
| 42 | +[role="_additional-resources"] |
| 43 | +== Additional resources |
| 44 | +* xref:../microshift_install/microshift-embed-in-rpm-ostree.adoc#microshift-embed-in-rpm-ostree[Embedding {product-title} in an RPM-OSTree image] |
| 45 | + |
| 46 | +* link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/{op-system-version-major}/html/composing_installing_and_managing_rhel_for_edge_images/index[Composing, installing, and managing {op-system-ostree} images] |
| 47 | + |
| 48 | +* xref:../microshift_install/microshift-embed-in-rpm-ostree.adoc#preparing-for-image-building_microshift-embed-in-rpm-ostree[Preparing for image building] |
| 49 | + |
| 50 | +* link:https://cloud.redhat.com/blog/meet-red-hat-device-edge-with-microshift[Meet Red Hat Device Edge] |
| 51 | + |
| 52 | +* link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/{op-system-version-major}/html-single/composing_installing_and_managing_rhel_for_edge_images/index#composing-a-rhel-for-edge-image-using-image-builder-command-line_composing-installing-managing-rhel-for-edge-images[Composing a RHEL for Edge image using image builder command-line] |
| 53 | + |
| 54 | +* link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/{op-system-version-major}/html-single/composing_installing_and_managing_rhel_for_edge_images/index#edge-image-builder-system-requirements_setting-up-image-builder[Image Builder system requirements] |
| 55 | + |
| 56 | +//* link:https://www.redhat.com/sysadmin/create-rpm-package[How to create a Linux RPM package] |
0 commit comments