Dogu operator and custom resource definition
A controller is a Kubernetes application that is informed about state changes of resources that it listens for. Since the operator pattern is used for this, they are also called operators.
Such operators often come into play in the context of Custom Resource Definitions (CRD) when Kubernetes is to be extended with custom resource types. The Dogu operator is such an operator, which takes care of the management of Dogus in terms of Kubernetes resources.
The basic idea of the operator is relatively simple. It takes care of successful execution of Dogu in a cluster. The operator specifies the resources to be used based on these information:
- dogu.json
- container image
- CES instance credential
in order to create all required Kubernetes resources, e.g.:
- Container
- Persistent Volume Claim
- Persistent Volume
- Service
- Ingress
Each of the Kubernetes resources must be created by a description (usually in YAML format). Because of the amount of resources and the amount of properties per resource, a Dogu installation quickly becomes tedious and error-prone. The Dogu operator provides useful support here by automatically taking care of resource management in Kubernetes. With a few lines of dogu description, a dogu can be installed like this (see below).
The following graphic shows different tasks during a Dogu installation.

Dogu management
The CRD (Custom Resource) description for Dogus looks something like this:
Example: ldap.yaml
apiVersion: k8s.cloudogu.com/v2
kind: Dogu
metadata:
name: ldap
labels:
k8s.cloudogu.com/dogu.name: ldap
app: ces
spec:
name: official/ldap
version: 2.4.48-3[!IMPORTANT]
metadata.nameand the simple name of the dogu inspec.namemust be equal. The simple name is the part after the slash (/), so without the dogu namespace. For example, for a dogu withspec.nameofofficial/jenkinsthemetadata.nameofjenkinswould be ok, whileofficial/jenkinswould not.
To install the LDAP dogu, a simple call is enough:
kubectl apply -f ldap.yamlWith the introduction of the Dogu CRD, Dogus we can use native Kubernetes resources, for example:
# lists a single dogu
kubectl get dogu ldap
# lists all installed dogus
kubectl get dogus
# delete a single dogu
kubectl delete dogu ldapv3 dogus
Besides the v2 dogus described here, the dogu operator also installs v3 dogus. They are delivered as Helm charts and installed with Flux. Installation, configuration and operation are described in v3 dogus.
dogu operator vs cesapp
In terms of their function, dogu operator and cesapp are very comparable because both take care of managing and orchestrating dogus in their respective execution environments.
However, in the long run, the Dogu operator will not reach the size and complexity of cesapp because its function is very much related to installing, updating and uninstalling Dogus.
Kubernetes volumes vs Docker volumes.
With few exceptions, Dogus often define volumes in their dogu.json where their state should be persisted. In the previous EcoSystem, this was solved by Docker volumes that the cesapp set up and assigned to the container during installation.
In Kubernetes, persistence is more decoupled. A Persistent Volume Claim (PVC) defines the size of the desired volume, which in turn is a persistent volume provisioned by a storage provider.
Unlike a Docker volume, a Kubernetes volume cannot easily resize because it is immutable. In addition, separate processes may be started for each Kubernetes volume, which again consume main memory.
The dogu operator creates a single volume for these reasons. All volumes defined in dogu.json are then mounted as subdirectories in the volume.
Last updated on 11/11/2026