Operational service addons
Operational service addons extend a kURL cluster with the services needed to observe, protect, administer, and maintain it. They cover resource metrics, durable monitoring, log collection, backup and restore, certificate handling, cluster health checks, and node or control-plane care. The addons work with the cluster platform and with network and storage services rather than replacing those core systems. See Addon platform, Network addons, and Storage addons.
Operational capability groups
The addons provide separate capabilities that combine into an operational layer around the Kubernetes control plane and workloads. Each capability has a different output and dependency boundary.
| Capability | Operational purpose | Primary addon or addons |
|---|---|---|
| Resource metrics | Expose node and pod usage to Kubernetes clients and autoscaling-related tools. | Metrics Server |
| Monitoring and dashboards | Store and view cluster and addon metrics. | Prometheus |
| Log collection | Collect node or workload logs. Optionally add search and dashboard services. | Fluentd and Collectd |
| Cluster health | Show node-to-node reachability and provide support data. | Goldpinger |
| Backup and restore | Save cluster resources and application data, then restore them on the same or another cluster. | Velero |
| Administration | Provide the operator UI, application management, and cluster-facing administration tools. | KOTS Admin |
| Certificate services | Issue and renew certificates for Kubernetes services and applications. | cert-manager |
| Cluster maintenance | Reconcile health-related state, manage selected platform services, rotate certificates, and support node lifecycle work. | EKCO |
| Conformance diagnostics | Run Kubernetes conformance checks and make the related test image available. | Sonobuoy |
References: addons/README.md• L21-34 addons/…/install.sh• L1-13 addons/…/install.sh• L3-26 addons/…/install.sh• L8-63 addons/…/install.sh• L1-29 addons/…/install.sh• L2-41 addons/…/install.sh• L72-101 addons/…/install.sh• L3-43 addons/…/install.sh• L3-39 addons/…/configmap.tmpl.yaml• L7-53 addons/…/install.sh• L2-19
Addon installation lifecycle
Operational services follow the common addon lifecycle. The installer obtains the selected package, loads its install logic, prepares cluster or host resources, applies Kubernetes resources, and then checks that the service is ready. A join operation repeats only the node-level work that a new node needs.
When the same version and settings are already present, an addon can use an already-applied path instead of rebuilding all resources. This matters for services with persistent data or upgrade rules because a repeat install must preserve state while still handling required migrations.
The lifecycle turns an addon into a controlled part of cluster setup:
- The installer loads the addon assets for an online or air-gapped cluster.
- Pre-init work checks host and cluster conditions.
- The addon creates or renders its resources.
- Kubernetes applies the resources and the addon waits for readiness where needed.
- Join and post-init work connects the service to new nodes or to other addons.
References: addons/README.md• L35-74 addons/…/install.sh• L1-13 addons/…/install.sh• L72-122 addons/…/install.sh• L25-39 addons/…/install.sh• L9-19
Observability services
Observability services turn cluster activity into data that operators can query and use during an incident. Metrics Server supplies current node and pod metrics through the Kubernetes metrics API. Prometheus adds durable metric collection with Grafana and Alertmanager user interfaces, and it can discover metrics from storage addons such as Rook and Longhorn.
The current Prometheus release installs its monitoring APIs before the main monitoring resources and waits until those APIs can serve monitoring objects. Its metrics adapter exposes selected collected data as Kubernetes custom metrics. The user interfaces use internal services by default or fixed NodePorts when that service type is selected.
Logging has two operating modes. Fluentd can run alone as a log collector, or it can install a full EFK stack with Elasticsearch and Kibana for log storage and search. Collectd is a host service that gathers system measurements and keeps local RRD data, so it complements Kubernetes-level metrics rather than serving as their replacement.
Goldpinger adds a view of node reachability. Its support-bundle integration turns that view into focused support data when a network or node problem needs review.
The relationship between these services is shown below. Metrics Server serves short-lived usage data, while Prometheus and the log services provide broader history and analysis.
flowchart LR
N[Nodes and pods] --> MS[Metrics Server]
N --> C[Collectd]
N --> F[Fluentd]
MS --> P[Prometheus]
C --> P
P --> D[Grafana and Alertmanager]
F --> L[Elasticsearch and Kibana]
N --> G[Goldpinger]
G --> S[Support bundle]
References: addons/…/components.yaml• L1-50 addons/…/install.sh• L18-26 addons/…/install.sh• L67-79 addons/…/kustomization.yaml• L1-28 addons/…/adapter.yaml• L18-100 addons/…/longhorn.yaml• L1-16 addons/…/rook-ceph-rolebindings.yaml• L1-38 addons/…/install.sh• L25-63 addons/…/install.sh• L4-28 addons/…/troubleshoot.yaml• L1-19
Backup and restore services
Velero protects Kubernetes resources and application data through a backup storage location. Current Velero versions use an S3-compatible object store and a node agent for file-system backup. Older Velero versions can use Local Volume Provider destinations such as a host path, NFS, or an internal persistent volume.
The change from Velero 1.16 to 1.17 and later is an upgrade boundary. Velero 1.17+ uses Kopia and does not support the older Local Volume Provider destinations. When an in-cluster object store is available, the upgrade can reconfigure Velero to use it. This is a configuration cut-over rather than a data conversion, so snapshots made with the older restic-based path are not restorable by the newer path. The old data remains available on its original storage for manual recovery.
The current migration path checks for an available MinIO or Rook object store and for a KOTS Admin version that will not restore the old destination. Velero 1.18.4 requires KOTS Admin 1.131.6 or later for this cut-over. If the required object store or KOTS Admin version is not available, the installer stops before it changes the backup service.
Restore crosses addon boundaries. Velero includes KOTS Admin restore settings and can rewrite a restored persistent volume claim's storage class when the target cluster uses a different storage addon. This lets backup data follow the target cluster's storage choice without making Velero own that storage.
The supported backup transition is shown below. The legacy local path remains separate from the current object-store path.
flowchart TD
R[Cluster resources and application data] --> V[Velero]
V --> O[S3-compatible object store]
V --> T[Restored cluster]
L[Legacy local snapshot destination] --> U[Velero 1.17+ upgrade gate]
U --> O
U --> T
K[KOTS Admin] --> U
ST[Storage addon] --> O
ST --> T
References: addons/…/install.sh• L19-33 addons/…/install.sh• L37-69 addons/…/install.sh• L82-122 addons/…/install.sh• L254-337 addons/…/install.sh• L338-403 addons/…/tmpl-change-storageclass.yaml• L1-10 addons/…/tmpl-kotsadm-restore-config.yaml• L1-13 addons/…/tmpl-internal-snaps-pvc.yaml• L1-14
Administration services
KOTS Admin is the cluster administration surface for managing applications and cluster-facing settings. It uses a web endpoint and persistent state. It can use object storage for its archive path or use a stateful storage path when object storage is disabled.
KOTS Admin state is labeled for backup and connected to Velero restore settings. This makes administration state part of cluster recovery while keeping backup scheduling in Velero.
References: addons/…/install.sh• L3-43 addons/…/install.sh• L78-126 addons/…/install.sh• L151-169 addons/…/install.sh• L251-262 addons/…/install.sh• L344-441
Certificate services
cert-manager provides a shared certificate service for the cluster. It installs certificate controllers and their custom resources. Applications and other addons can request and renew certificates through this service instead of managing certificate lifetimes themselves.
The current cert-manager release is packaged with SecureBuild images while preserving the upstream component versions. The addon waits for its controller, certificate injection, and webhook services before it reports readiness. It also preserves issuer resources during an upgrade from the older v1.0.3 service and reapplies issuers that the new version can accept.
EKCO has a separate certificate role for cluster operations. It manages certificates in the Kubernetes certificate directory and supports rotation for cluster services. It also updates API server certificates when the API load-balancer address changes. cert-manager handles in-cluster certificate requests. EKCO protects certificates needed for the cluster itself to keep operating.
References: addons/…/Manifest• L1-4 addons/…/install.sh• L11-39 addons/…/generate.sh• L5-27 addons/…/cert-manager.yaml• L17-35 addons/…/configmap.tmpl.yaml• L21-36 addons/…/install.sh• L205-277 addons/…/regen-cert-pod.yaml• L1-23
Cluster maintenance services
EKCO is the main cluster maintenance service. It runs in the kurl namespace and reconciles selected health and platform tasks. These tasks include dead-node handling, minimum ready node counts, storage placement, service health, certificate rotation, and optional high-availability support for MinIO and KOTS Admin.
The service also supports node lifecycle work. It can install a reboot service, provide a command to purge a dead node, and bootstrap or update an internal API load balancer. The internal load balancer uses the packaged HAProxy image and can run before Kubernetes is ready, which lets joining nodes reach the API during bootstrap. Its operating context changes when Rook, MinIO, KOTS Admin, or Contour is enabled. Those addons therefore affect the maintenance work EKCO performs.
EKCO provides a controlled path for an API load-balancer address change. It adds the new address to API server certificates, updates remote kubeconfigs, and removes the old address after the new path is in place. This keeps nodes connected while the cluster endpoint changes.
The operator runs on a control-plane node and exposes a health-checked service. A configuration change causes the operator to be recreated so it reads the new maintenance settings.
References: addons/…/README.md• L2-4 addons/…/Manifest• L1-2 addons/…/configmap.tmpl.yaml• L7-53 addons/…/deployment.tmpl.yaml• L1-77 addons/…/install.sh• L6-68 addons/…/install.sh• L82-145 addons/…/install.sh• L168-203 addons/…/install.sh• L205-277 addons/…/install.sh• L279-395 addons/…/install.sh• L407-429 addons/…/ekco-purge-node.sh• L1-16
Diagnostics and conformance services
Sonobuoy supports Kubernetes conformance checks. It provides the Sonobuoy command-line tool on the primary node and makes the version-matched conformance image available to the cluster. In an air-gapped cluster it keeps image names compatible with the container runtime in use.
Goldpinger and the addon troubleshooting specifications support diagnosis during normal operations. Goldpinger reports node health and supplies a focused support-bundle collector and analyzer. Other operational addons attach troubleshooting data to their deployed resources so an incident can be examined in the same environment that runs the service.
References: addons/…/install.sh• L2-45 addons/…/install.sh• L47-73 addons/…/troubleshoot.yaml• L1-19 addons/…/install.sh• L26-41 addons/…/tmpl-troubleshoot.yaml• L1-18
Cross-addon operating model
Operational addons share data and readiness contracts with the network, storage, Kubernetes distribution, and application administration layers. The addon platform selects and orders them. Each operational addon owns the service behavior that it adds to the cluster.
The most important dependencies are:
- Prometheus can add monitoring for Rook and Longhorn when those storage services are present.
- Velero 1.17+ needs an S3-compatible object store. An upgrade from a Local Volume Provider destination also needs a KOTS Admin version that will not restore the old setting.
- EKCO changes its maintenance work when Rook, MinIO, KOTS Admin, or Contour is enabled.
- KOTS Admin uses Velero labels and restore settings so its state can take part in cluster recovery.
- Goldpinger support data and the other troubleshooting specifications feed the cluster support process.
- Sonobuoy depends on the Kubernetes version so its conformance image matches the cluster.
- cert-manager depends on the network path used by its selected certificate challenge solver.
These links mean that an operational addon is not an isolated package. A change to a storage provider, API address, node runtime, network path, or monitoring selection can change how an operational service must be installed or upgraded.
References: addons/…/install.sh• L25-26 addons/…/install.sh• L141-155 addons/…/install.sh• L44-69 addons/…/install.sh• L269-330 addons/…/install.sh• L16-27 addons/…/install.sh• L59-67 addons/…/install.sh• L118-125 addons/…/install.sh• L5-6 addons/…/cert-manager.yaml• L651-657
Change checklist
When these files or sections are changed, remember to consider these:
- Check that each Velero version and its generated template use compatible backup plugins and file-system backup behavior.
- Check that Velero 1.17+ upgrade checks still require an S3-compatible object store and a KOTS Admin version that will not restore a Local Volume Provider setting.
- Check that the legacy Local Volume Provider path remains limited to versions that support it and that old snapshot data is retained during a 1.17+ cut-over.
- Check that the Velero migration prompt, saved recovery data, and new object-store configuration describe the same upgrade boundary.
- Check that Velero's restore configuration still maps recovered persistent volume claims to the target storage class.
- Check that Prometheus discovery and access rules still match the Rook and Longhorn resources that it monitors.
- Check that Prometheus CRDs are applied before dependent monitoring resources and that the custom metrics adapter still targets the Prometheus service.
- Check that the monitoring CRD schemas and any preserve-unknown-field patches remain valid for the Kubernetes versions supported by the addon.
- Check that the Prometheus service exposure remains consistent between the selected service type and the documented access ports.
- Check that the SecureBuild image rules in the cert-manager and Prometheus generators match the image names in each versioned manifest.
- Check that EKCO permissions and settings still cover every optional service that it maintains.
- Check that the HAProxy image named by
EKCO_HAPROXY_IMAGEremains in the EKCO manifest with the same image reference used by internal load-balancer bootstrap. - Check that API address changes update both server certificates and remote node kubeconfigs.
- Check that certificate service upgrades preserve issuers and keep the controller, injector, and webhook readiness checks valid.
- Check that Kubernetes version changes keep the Sonobuoy conformance image and the metrics service compatible.
- Check that KOTS Admin state labels and Velero restore configuration still describe the same recovery boundary.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| Velero 1.17+ is selected while S3-compatible backup storage is disabled. | The install stops because the current backup path needs an object store. | The pre-init gate rejects the selection and gives the supported storage choices. |
| A cluster uses a Local Volume Provider destination during a Velero 1.17+ upgrade and no usable object store is available. | The upgrade stops before it changes the backup service. | The upgrade checks for a usable in-cluster object store or requires an external S3-compatible store. |
| An older KOTS Admin version can reapply the Local Volume Provider setting after a Velero cut-over. | The upgrade is blocked because the backup service could be returned to an unsupported state. | The installer requires KOTS Admin 1.131.6 or later for this transition. |
| A Local Volume Provider to object-store cut-over is accepted. | Snapshots made with the old restic path are not restorable by Velero 1.17+ Kopia. | The installer asks for confirmation and retains the old snapshot data for manual recovery. |
| A legacy object-store to internal-volume migration does not complete. | The old object-store path must remain because the new backup location is not ready. | The migration waits for success and stops before cleanup when it fails. |
| The generated Velero plugin versions do not match the selected Velero release. | Backup or restore support for the selected storage provider can fail. | Keep versioned install scripts and the base template aligned. |
| Prometheus resources are applied before its monitoring APIs are ready. | Service monitors and monitoring components cannot be created reliably. | The addon applies the monitoring CRDs first and waits until the monitoring resource APIs are available. |
| Prometheus cannot reach a storage addon's metrics endpoints. | Storage health and capacity data are missing from the monitoring view. | Enable the matching Rook or Longhorn discovery and access resources when that storage addon is present. |
| The API load-balancer address changes without certificate and kubeconfig updates. | Nodes can lose access to the Kubernetes API. | EKCO updates API certificates and remote kubeconfigs before it removes the old address. |
| The internal load-balancer image reference changes in the installer but not in the addon manifest. | Air-gapped bootstrap or node join cannot start the local API load balancer. | Keep EKCO_HAPROXY_IMAGE and the packaged HAProxy image reference aligned. |
| A certificate issuer cannot complete its selected HTTP or DNS challenge. | Certificate issuance or renewal remains pending or fails. | The issuer must have a reachable challenge path and the required DNS or gateway integration. |
| The Sonobuoy image name does not match the runtime or Kubernetes version. | Conformance checks cannot start in an air-gapped cluster. | The addon prepares a version-matched image name for the active runtime. |
| The cluster has no object store while KOTS Admin S3 use remains enabled. | KOTS Admin installation is rejected because its archive path has no provider. | KOTS Admin validates object storage or requires S3 to be disabled. |
Key files
| File | Why to read it |
|---|---|
| addons/README.md | Defines the shared addon lifecycle and how addons join cluster installation. |
| addons/…/install.sh | Shows the legacy Local Volume Provider and object-store backup paths. |
| addons/…/install.sh | Shows the current object-store backup path, restore integration, migration guards, and node-agent readiness behavior. |
| addons/…/tmpl-change-storageclass.yaml | Shows how restored persistent volume claims can use the target storage class. |
| addons/…/tmpl-kotsadm-restore-config.yaml | Shows how KOTS Admin restore settings join the Velero recovery flow. |
| addons/…/tmpl-s3-migration-deployment-patch.yaml | Shows the bridge from legacy object-store data to the current internal path during migration. |
| addons/…/install.tmpl.sh | Defines the shared version template for Velero backup behavior and upgrade boundaries. |
| addons/…/generate.sh | Shows how Velero versions, plugins, and the migration image become a packaged addon. |
| addons/…/install.sh | Shows the conditions that control the node-agent settling wait. |
| addons/…/k8s-docker.yaml | Shows fresh, air-gapped, and upgrade coverage for backup and restore behavior. |
| addons/…/install.sh | Shows the administration service, state handling, and operator entry points. |
| addons/…/install.sh | Shows the shared certificate service upgrade and readiness contract. |
| addons/…/generate.sh | Shows version discovery and the SecureBuild image transition for certificate services. |
addons/prometheus/0.94.1-92.13.1/Manifest | Defines the monitoring stack images that the current Prometheus addon uses. |
| addons/…/install.sh | Shows monitoring API readiness, storage-addon discovery, upgrade cleanup, and service exposure. |
| addons/…/kustomization.yaml | Shows the monitoring resource definitions applied before dependent resources. |
| addons/…/adapter.yaml | Shows how collected data becomes Kubernetes custom metrics. |
| addons/…/longhorn.yaml | Shows monitoring discovery for Longhorn. |
| addons/…/rook-ceph-rolebindings.yaml | Shows access for monitoring Rook Ceph services. |
| addons/…/nodeport-services.yaml | Shows the fixed NodePorts used for the Prometheus, Grafana, and Alertmanager interfaces. |
| addons/…/tmpl-grafana-secret.yaml | Shows the generated Grafana administrator credential boundary. |
| addons/…/generate.sh | Shows how the Prometheus stack and adapter become versioned addon assets. |
| addons/…/k8s-docker.yaml | Shows fresh, air-gapped, and upgrade coverage for monitoring. |
addons/ekco/0.28.15/Manifest | Defines the EKCO and HAProxy images required by the maintenance service and its internal API load balancer. |
| addons/…/configmap.tmpl.yaml | Shows the high-level maintenance areas and links to other platform services. |
| addons/…/install.sh | Shows node lifecycle work, load-balancer changes, image packaging, and optional service management. |
| addons/…/deployment.tmpl.yaml | Shows the operator placement and health boundary. |
| addons/…/troubleshoot.yaml | Shows how node health becomes support-bundle data. |
| addons/…/install.sh | Shows conformance tool setup and air-gap image handling. |