Setting up and configuring IBM Confidential Computing Containers for Red Hat OpenShift Container Platform
This section explains the procedure to set up and configure IBM Confidential Computing Containers for Red Hat OpenShift Container Platform.
Prerequisites
Procedure
You can deploy IBM Confidential Computing Containers for Red Hat OpenShift Container
Platform by
performing the following steps:
- For Bare Metal
-
- Make sure that you have downloaded and registered IBM Confidential Computing Containers for Red Hat OpenShift Container Platform image.
- Perform the following steps from Deploying confidential containers on IBM Z and IBM LinuxONE bare
metal.Note: You will be shown a link to continue to the third-party screen. Click Continue or the link to proceed.
- Preparing the environment for deploying the confidential containers on IBM Z and IBM LinuxONE bare metal.
- Installing the OpenShift sandboxed containers Operator.
- Configuring auto-detection of TEEs.
- Enabling the confidential containers.
- Create the
kata-addon-artifactsconfig map.Important:During this step, you must set theaddonImageto the image that was pushed to the remote registry during Prerequisites. For example:addonImage: "icr.io/<image_namespace>/<image_name>" kernelPath: "<kernel_path>"- <image_namespace>: Replace this with your namespace in the registry. For example:
ibm-confidential-computing. - <image_name>: Replace this with the actual image you want to deploy. For example:
container-image:1.2.1 - <kernel_path>: Replace this with the actual kernel path. For example:
/image/cc-kernel-1.2.1.img.
Note: If you face deployment or runtime issues, make sure the CCCO container image version and the Kata RPM file version from OpenShift Container Platform (OCP) matches. For more information, see Troubleshooting. - <image_namespace>: Replace this with your namespace in the registry. For example:
- Create the
KataConfigcustom resource.
- For Peerpod
-
- Make sure that you have downloaded and registered IBM Confidential Computing Containers for Red Hat OpenShift Container Platform image.
- Perform the following steps from Deploying OpenShift sandboxed containers on IBM Z and IBM
LinuxONE.Note: You will be shown a link to continue to the third-party screen. Click Continue or the link to proceed.
- Peer pod resource requirements
- Installing the OpenShift sandboxed containers Operator.
- Optional: Modifying the number of peer pod VMs per node.
- Optional: Configuring the libvirt volume.
- Creating the peer pods secret.
- Creating the peer pods config map.
- Creating the peer pod VM image config map.Important:
During this step, you must set the
PODVM_IMAGE_URIto the image that was pushed to the remote registry during Prerequisites. For example:PODVM_IMAGE_URI: "oci::icr.io/ibm_hpcc/ibm-ccco-podvm-container-image:v1.2.1::/image/ccco-v1.2.1.qcow2" - Creating the KVM host secret.
- Creating the KataConfig custom resource.