Skip to main content

Bring Your Own Operating System (BYOOS)

The Bring Your Own Operating System (BYOOS) enables you to use a custom Operating System (OS) with Palette. Palette comes with several operating systems out-of-the-box, but the existing OS list may not meet all users' needs.

Using your custom OS provides several benefits, including the ability to control your own dependencies, improve performance, and ensure compatibility with your existing applications. With BYOOS, you can choose the OS that best fits your needs, whether it's a commercial or open-source distribution, and integrate it with your Kubernetes clusters. The BYOOS pack can be used with both Edge and non-Edge environments.

Versions Supported

1.0.x


Prerequisites


  • Edge Provider images you have created and uploaded to a container registry. Refer to the Bring Your Own OS guide to learn how to create a custom OS. Refer to the Build Images guide for steps on how to create the Edge artifacts and how to upload your custom OS to a registry.

  • Palette 3.3.0 or greater.

Parameters

The BYOS Edge OS pack supports the following parameters.

Parameters

ParameterDescriptionType
pack:content:Specifies the content of the BYOS Edge OS pack.map
pack.content.imagesSpecifies a list of OS images to use with the pack.list
pack.content.images.imageAn OS image to use with the pack.string
system.uriThe system URI specifies the location of BYOOS image.string
pack:
content:
images:
- image: "{{.spectro.pack.edge-native-byoi.options.system.uri}}"
# - image: example.io/my-other-images/example:v1.0.0
# - image: example.io/my-super-other-images/example:v1.0.0

options:
system.uri: example.io/my-images/example-custom-os:v1.4.5

Usage

BYOOS enables you to use a custom OS for your Edge host. You can use this feature to customize the desired specifications of your OS layer in the Edge host. You can reference the custom OS through the BYOOS pack.

To use a custom OS, you must include all the Edge artifacts and provider images required by the Edge Installer in the custom OS. Refer to the Bring Your Own OS guide for steps on how to create a custom OS that includes all the required components for the Edge Installer.

Select the BYOOS pack and fill out the required parameters during the cluster profile creation process. The system.uri parameter specifies the location of the BYOOS image. Refer to the Build Images guide to learn how to create Edge Artifacts.

A view of the Kubernetes pack editor with a YAML configuration

Terraform

You can retrieve details about the BYOOS Edge OS agent pack using the following Terraform code.


data "spectrocloud_registry" "public_registry" {
name = "Public Repo"
}

data "spectrocloud_pack_simple" "byoos" {
name = "edge-native-byoi"
version = "1.0.0"
type = "helm"
registry_uid = data.spectrocloud_registry.public_registry.id

References