1 Introduction

Describes the Oracle Container Host for Kubernetes Image Builder utility.

The Oracle Container Host for Kubernetes Image Builder (OCK Image Builder) is a tool that builds Oracle Container Host for Kubernetes (OCK) images for Oracle Cloud Native Environment (Oracle CNE) deployments.

For more information about OCK images, see Oracle Cloud Native Environment: Kubernetes Clusters.

Use OCK Image Builder to build custom OCK images for situations where the standard OCK image isn't adequate. For example, consider creating a custom OCK image if you require:

  • A different partition layout to the standard OCK image partition layout.

  • Extra packages not included in the standard OCK image.

  • Device drivers for devices that aren't available in the standard OCK image.

OCK Image Builder consists of a set of shell scripts, the main one of which is ock-forge, and image-specific configuration files that can be used and edited as necessary.

For a specific configuration, OCK Image Builder can generate:

  • A bootable Qcow2 image, to create cluster nodes.

  • An OSTree container image, which Oracle CNE uses to update nodes in a running cluster.

OCK images are configured using rpm-ostree treefiles and therefore require knowledge of OSTree and rpm-ostree.

For more information about OCK Image Builder, see the OCK Image Builder GitHub repository.