Addon platform
The addon platform lets a kURL distribution assemble a Kubernetes cluster from selected, versioned services. It connects core cluster software with network, storage, observability, administration, and supporting services while keeping each service independently deliverable and replaceable.
Platform model
Addon catalog
The addon catalog describes the services that a kURL distribution can select. Each catalog entry names a service and maps it to the capability it provides, the capabilities it needs, and any useful companion service.
The catalog groups services by capability rather than by product vendor:
| Capability group | Purpose | Examples |
|---|---|---|
| Networking | Connects pods and supports cluster network traffic. | Antrea, Calico, Flannel, Weave |
| Storage | Provides persistent volumes or object storage. | Longhorn, OpenEBS, Rook, MinIO |
| Observability | Collects metrics and network health data. | Prometheus, Metrics Server, Goldpinger, Fluentd |
| Administration | Supports cluster checks and maintenance. | EKCO, Sonobuoy |
| Supporting services | Provides ingress, certificates, application management, registries, snapshots, and cloud integration. | Contour, cert-manager, KOTS, Registry, Velero, AWS |
The catalog can also represent services that do not yet have a public capability description. This keeps the package model open for platform services without making every package a selectable catalog feature.
References: addons/README.md• L3-19 addons/…/categories.json• L1-6 addons/…/categories.json• L1-6 addons/…/categories.json• L1-6
Capability relationships
An addon can provide one or more capability roles. A role is a contract such as CNI Plugin, PVC Provisioner, or Object Store; a service that needs a role names that role instead of naming one provider. A recommendation describes a helpful companion, but it does not create a hard dependency.
This model lets the distribution compose compatible services. For example, Rook can provide both persistent volumes and an object store, while Velero needs an object store and Prometheus needs a persistent volume provider. Read the child pages for the choices within each service group:
- Network addons covers pod networking.
- Storage addons covers persistent volumes and object storage.
- Operational service addons covers observability, administration, and supporting services.
References: addons/…/categories.json• L1-6 addons/…/categories.json• L1-6 addons/…/categories.json• L1-6 addons/…/categories.json• L1-6
Packaging model
Versioned addon packages
An addon package is a versioned unit that carries the resources and actions for one service. It can include Kubernetes manifests, an install action, container images, host packages, downloaded files, and built image archives when the service needs support outside Kubernetes.
The package is built from the addon's version directory and its Manifest. The manifest declares the assets that release packaging must save with the package. This makes an addon version usable in an air-gapped install without rebuilding or fetching its images and host assets during installation.
Packages use the addon-version.tar.gz form. Online installs obtain the selected archive from the distribution store. Air-gapped installs use the same archive from the installer bundle or local package area. A package can therefore represent a fixed service state across a first install and later upgrades.
Current packages show the range of supported assets. Containerd includes host packages, runtime binaries, operating-system-specific images, and a pause image. Flannel packages its network images as named image assets. Prometheus packages the images for its monitoring stack, while its install action applies CRDs and service resources. Metrics Server adds its service image to the package and applies the cluster resources that expose node and pod metrics.
References: addons/README.md• L5-19 addons/README.md• L84-96 bin/build-addon-package.sh• L12-32 addons/…/Manifest• L1-14 addons/…/Manifest• L1-2 addons/…/Manifest• L1-9 addons/…/Manifest• L1 addons/…/install.sh• L1-13
Catalog metadata
The platform publishes catalog metadata separately from addon packages. One generated file describes the catalog entries and their capability roles. Installer version data lists supported versions for each addon and places the default version first for most addons; Kubernetes is the exception because its versions are sorted by the generator.
The generator reads category files and version directories. Preferred versions can replace the discovered order, while special version names such as alpha, nightly, and MinIO release tags receive separate handling. Kubernetes and the fio host package also appear in the supported-version data because installer selection uses the same view.
References: bin/generate-addons.js• L49-75 bin/generate-addons.js• L79-114 bin/generate-addons.js• L116-140 web/…/versions.js• L2-10
Addon lifecycle
Installation lifecycle
The addon lifecycle turns a selected name and version into cluster and host state. The common lifecycle obtains the package, loads its assets, runs checks and setup actions, applies the service, and records the selected configuration so later runs can identify the service state.
The main flow is:
flowchart LR
A[Selected addon and version] --> B[Obtain package]
B --> C[Load assets and actions]
C --> D[Run host checks and setup]
D --> E[Apply cluster or host service]
E --> F[Wait for service readiness]
F --> G[Record applied configuration]
G --> H[Apply remote-node changes when needed]
The same flow supports installation, upgrade, and repeat runs. Addon actions are expected to be safe to apply again. A service may also migrate data or clean up old resources before its new state becomes active, so an addon version change can be a cluster operation rather than only a package replacement.
References: addons/README.md• L21-30 addons/README.md• L35-70 scripts/…/addon.sh• L4-42 scripts/…/addon.sh• L66-115 scripts/…/addon.sh• L347-363
Cluster and host scope
An addon can affect both Kubernetes and the node operating system. Cluster work includes resources, custom resource definitions, storage classes, and service readiness. Host work includes runtimes, packages, system services, binaries, and node-join settings.
The containerd addon illustrates this combined scope. It selects a runtime for new and joining nodes, checks host support, adapts kubeadm runtime settings to the Kubernetes configuration version, handles Docker migration, and installs runtime assets. Its 2.x package also preserves operator configuration across the containerd schema change and validates the merged result before restart. EKCO provides another example by maintaining cluster services while installing reboot and node-purge support on hosts. When an addon has host work, the installer produces a remote-node update path so all nodes receive the same service state.
References: scripts/…/addon.sh• L24-42 scripts/…/addon.sh• L105-115 scripts/…/addon.sh• L288-334 addons/…/install.sh• L6-46 addons/…/install.sh• L241-448 addons/…/install.sh• L82-129
Air-gapped delivery
Air-gapped delivery treats addon archives as local inputs. The installer first checks its package cache and bundle. If the exact package is missing, it asks for the archive when prompts are possible and stops with a required file path when they are not.
Several selected addons can also be delivered in one combined archive. The installer still unpacks and applies each addon as its own versioned unit. This keeps service boundaries intact while allowing an offline bundle to move the required service set together.
References: scripts/…/addon.sh• L156-188 scripts/…/addon.sh• L190-256 addons/README.md• L21-34 addons/…/Manifest• L1-14
Addon families
Networking addons
Networking addons provide the pod network capability that most other cluster services require. The platform treats the network as a role provider, so dependent services can require CNI Plugin without depending on one network product.
The current family includes Antrea, Calico, Flannel, and Weave. The choice can also affect the container runtime and the safety of a network migration. For example, Flannel requires containerd, checks node connectivity before a Weave migration, and carries its network images in the addon package. Its migration path now reports failures while restoring EKCO with an accurate scale-up message. Read Network addons for the network choices and their cluster-level trade-offs.
References: addons/…/categories.json• L1-6 addons/…/categories.json• L1-6 addons/…/Manifest• L1-2 addons/…/install.sh• L13-23 addons/…/install.sh• L95-119 addons/…/install.sh• L259-289
Storage addons
Storage addons provide the data services that stateful applications need. A persistent volume provider supplies Kubernetes volumes. An object store supplies bucket-style data. Rook can provide both roles, while OpenEBS, Longhorn, and MinIO provide focused choices.
Storage changes can include data migration and changes to backup or registry storage. OpenEBS checks the source and destination before moving persistent volume data. MinIO can migrate an older object-store layout or data from Rook. Velero 1.18.4 requires an S3-compatible object store for newer snapshot modes and can migrate older local-volume snapshot data when the required provider is available. Read Storage addons for provider choices and migration boundaries.
References: addons/…/categories.json• L1-6 addons/…/categories.json• L1-6 addons/…/categories.json• L1-6 addons/…/install.sh• L17-20 addons/…/install.sh• L51-110 addons/…/install.sh• L12-35 addons/…/install.sh• L37-69
Operational service addons
Operational service addons make a cluster usable and supportable after its base network and storage are available. They provide measurements, network health, logs, certificates, ingress, application control, registries, snapshots, cluster checks, and cloud integration.
These services use the same capability relationships. Prometheus can connect its monitoring resources to Rook and Longhorn. Goldpinger can add network metrics to a Prometheus installation. Metrics Server exposes Kubernetes resource metrics through the metrics API so cluster tools and administrators can inspect node and pod use. Registry can use an object store or a persistent volume and can move between those storage modes. Cert-manager provides certificate control, while Contour exposes application traffic through Envoy. The Prometheus package also carries its monitoring images and applies its CRDs before the monitoring resources. Read Operational service addons for the service choices and their relationships.
References: addons/…/categories.json• L1-6 addons/…/categories.json• L1-6 addons/…/categories.json• L1-6 addons/…/categories.json• L1-6 addons/…/categories.json• L1-6 addons/…/Manifest• L1-9 addons/…/install.sh• L18-26 addons/…/install.sh• L72-79 addons/…/components.yaml• L98-202 addons/…/install.sh• L5-13
Change checklist
When these files or sections are changed, remember to consider these:
- When an addon version or category definition changes, regenerate catalog and supported-version metadata and check the preferred version list.
- When the installer version map changes, check the default-version order and the special Kubernetes sorting rule against generated catalog data.
- When a package manifest changes, confirm that the release archive contains every image, host package, binary, and generated asset that the install action expects.
- When an addon adds host work, confirm that preflight, node-join, and remote-node update paths receive the same host settings.
- When a role requirement changes, review every dependent addon and the installer choices that select its provider.
- When a network or runtime addon changes kubeadm patches, check both init and join configuration shapes for the supported Kubernetes API versions.
- When containerd configuration behavior changes across runtime schema versions, check default configuration generation, user overrides, merged-configuration validation, and upgrade backup behavior together.
- When a storage, registry, or backup mode changes, review the migration guard and the data contract between the old and new providers.
- When a generated upstream service changes, check its readiness checks, resource patches, and package image list together.
- When an observability addon changes its image or cluster API resources, keep the package image declaration, deployed image, API exposure, and readiness check aligned.
- When Rook image source rules or generated versions change, verify secure image rewriting, CSI image discovery, the generated manifest, and the step-version data remain aligned.
- When a Flannel migration changes service scale-down or scale-up behavior, check the migration recovery path and its operator status messages together.
- When Metrics Server changes its image, API resources, or trust settings, check the package image, kubelet address, TLS settings, API exposure, and readiness path together.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| The exact addon archive is absent during an air-gapped install. | The installer cannot apply the selected service. | Put the versioned archive in the local package area or provide it when prompted. |
| Category or installer version data changes without regeneration. | Clients show stale capabilities or do not offer the intended version. | Run the catalog generation step before release. |
| A manifest declares an asset that the package does not contain. | Package creation or service startup fails in an offline install. | Build the archive through the manifest asset step and inspect the resulting package. |
| A required role has no selected provider. | A dependent addon cannot operate even if its own resources apply. | Select a provider for every required capability first. |
| Host addon work is applied only to the first node. | Joining or existing remote nodes can run different runtime or service state. | Complete the generated remote-node update path. |
| Flannel is selected with Docker or without node-to-node UDP 8472 access. | The network addon stops before install or migration. | Use containerd and open the required node communication path. |
| A storage or snapshot upgrade has no valid migration target. | The upgrade stops to protect persistent data or backup restore ability. | Keep source and destination providers healthy and use a supported object-store path. |
| Containerd is selected on an unsupported host operating system. | The intended runtime cannot be installed or the install stops at preflight. | Use a supported host and the matching containerd package path. |
| A containerd 2.x override uses the old runtime configuration tables. | The custom setting has no effect, or merged configuration validation stops the install. | Use the containerd 2.x table layout and confirm the effective merged configuration. |
| Rook generation cannot find or verify the required CSI images. | The generated package can omit images needed by the storage service. | Require image discovery to succeed and verify the generated manifest before release. |
| Flannel cannot restore EKCO after a network migration. | Cluster operations that depend on EKCO can remain unavailable after migration. | Treat the scale-up failure as a migration issue and verify EKCO readiness before completion. |
| Metrics Server cannot reach kubelets with the selected trust settings. | The metrics API can remain unavailable even when the deployment exists. | Keep the kubelet address and TLS settings compatible with the cluster nodes, then verify deployment readiness. |
Key files
| File | Why to read it |
|---|---|
| addons/README.md | Defines the addon directory, package, manifest, and lifecycle contract. |
| scripts/…/addon.sh | Shows how the installer fetches, loads, applies, records, and distributes addon state. |
| bin/build-addon-package.sh | Shows how a version directory and manifest become a distributable archive. |
| bin/generate-addons.js | Shows how category entries and version directories become published catalog metadata. |
| web/…/versions.js | Shows the supported installer versions and the default ordering used for addon selection. |
Makefile | Shows how addon archives are assembled with the common kURL distribution artifacts. |
| addons/…/categories.json | Shows one service providing both persistent volumes and object storage. |
| addons/…/categories.json | Shows a service that requires an object store for snapshots. |
addons/containerd/2.4.2/Manifest | Shows a package that delivers images, host packages, runtime binaries, and OS-specific assets. |
| addons/…/install.sh | Shows how the runtime action handles node setup, schema changes, user overrides, migrations, and readiness. |
| addons/…/install.sh | Shows network installation, guarded migration from another network provider, and service restoration after migration. |
addons/prometheus/0.94.1-92.13.1/Manifest | Shows how a monitoring stack declares its image set for packaging. |
| addons/…/install.sh | Shows CRD readiness, storage-aware monitoring resources, and service exposure choices. |
addons/metrics-server/0.9.1/Manifest | Shows how an observability addon declares its service image for packaging. |
| addons/…/components.yaml | Shows how Metrics Server exposes resource metrics through Kubernetes resources. |
| addons/…/install.sh | Shows the package action that applies the metrics service and waits for readiness. |
| addons/…/generate.sh | Shows how a generated storage addon selects versions, discovers images, and rewrites images for package delivery. |
| .github/…/test-addon-pr.yaml | Shows how changed addon versions enter the pre-merge validation matrix. |