Updates for exercise 4-6.
This commit is contained in:
@ -14,8 +14,7 @@ However, for an interesting scenario let's explore the possibility of what we co
|
||||
|
||||
This is where the concept of **Source to Image** or "s2i" comes in. OpenShift has built in support for building container images using source code from an existing repository. This is accomplished using the [source-to-image](https://github.com/openshift/source-to-image) project.
|
||||
|
||||
OpenShift runs the S2I process inside a special **Pod**, called a **Build Pod**, and thus builds are subject to quotas, limits, resource scheduling, and other aspects of OpenShift. A full discussion of S2I is beyond the scope of this class, but you can find more information about it in the [OpenShift S2I documentation](https://docs.openshift.com/container-platform/4.14/openshift_images/create-images.html).
|
||||
|
||||
OpenShift runs the S2I process inside a special **Pod**, called a **Build Pod**, and thus builds are subject to quotas, limits, resource scheduling, and other aspects of OpenShift. A full discussion of S2I is beyond the scope of this class, but you can find more information about it in the [OpenShift S2I documentation](https://docs.openshift.com/container-platform/4.16/openshift_images/create-images.html).
|
||||
|
||||
## 6.1 - Starting a source to image build
|
||||
|
||||
@ -46,12 +45,11 @@ Scroll down and under the **General** header click the **Application** drop down
|
||||
Scroll down reviewing the other options then click **Create**.
|
||||
|
||||
<Zoom>
|
||||
| |
|
||||
| |
|
||||
|:-------------------------------------------------------------------:|
|
||||
| *Creating a source to image build in OpenShift* |
|
||||
</Zoom>
|
||||
|
||||
|
||||
## 6.2 - Monitoring the build
|
||||
|
||||
To see the build logs, in **Topology** view of the **Developer** perspective, click the nationalparks python icon, then click on **View Logs** in the **Builds** section of the **Resources** tab.
|
||||
@ -89,10 +87,8 @@ After the build has completed and successfully:
|
||||
|
||||
To conclude, when issuing the `oc get pods` command, you will see that the build **Pod** has finished (exited) and that an application **Pod** is in a ready and running state.
|
||||
|
||||
|
||||
## 6.3 - Bonus objective: Podman
|
||||
|
||||
If you have time, take a while to understand how [Podman](https://developers.redhat.com/articles/2022/05/02/podman-basics-resources-beginners-and-experts) can be used to build container images on your device outside of an OpenShift cluster.
|
||||
|
||||
|
||||
Well done, you've finished exercise 6! 🎉
|
||||
|
||||
Reference in New Issue
Block a user