Cloudogu EcoSystem Docs

Usage

To create a support archive, apply the crd lib, operator and a support archive custom resource in the cluster. See crd lib for the custom resource format.

The deployment of the operator contains a nginx sidecar container with a shared volume to expose created support archives.

Internal processes

Finalizer

The triggered reconciler first checks the finalizer existence and adds one if no one is defined. With the finalizer, the operator can later delete support archives when the custom resource will be deleted.

Reconciler

In general, the reconciler will always try to requeue the custom resource to avoid blocking. This happens, e.g. after adding the finalizer or executing one single collector to fetch data.

State

When creating the support archive, the operator always checks the metadata from the actual state of the archive first. Every collector type has its own state file .done in each archive /data/work/<namespace/<name>/<type> and is not accessible from the nginx sidecar. The existence of the file indicates that the collector fetched successfully.

The operator persists the state (the resulting archive) as a ZIP under following path /data/supportarchives/namespace/name. To avoid memory exhaustion, it is recommended to implement a buffered stream.

Collectors

Collectors are responsible to fetch individual data sections for the archive, e.g. logs, kubernetes resources, health. A list of collectors defines the completeness of a support archives.

Last updated on 7/14/2026