Oracle Cloud Infrastructure Compute Images
Describes OCK images used to create Kubernetes nodes on Oracle Cloud Infrastructure.
Creating clusters with the Oracle Cloud Infrastructure provider requires a custom compute image in the target compartment. The bootable container image must be customized to work in Oracle Cloud Infrastructure, and must be converted into an appropriate format. After an appropriate image has been created, it must be imported to the target compartment.
Images can be created using the ocne image create
command with the
--type oci
option. By default, the image is created for the
architecture of the system where the command is run. Images can be created for other
architectures using the --arch
option.
The resulting image can be imported into Oracle Cloud Infrastructure using
the ocne image upload
command, and used as the boot volume for compute
instances. When you use the ocne image upload
command to upload a Qcow2
image, the conversion to the appropriate format is performed automatically.
The image is uploaded to an Oracle Cloud Infrastructure Object Storage bucket. After the upload is complete, the object is imported as a custom compute image.
Note:
The object in the bucket isn't automatically removed, and must be cleaned up manually.
The custom image can then be used to create compute instances for a Kubernetes cluster.