Waldur Helm
Waldur is a platform for creating hybrid cloud solutions. It allows building enterprise-grade systems and providing self-service environment for the end-users.
Introduction
This chart bootstraps a Waldur deployment on a Kubernetes cluster using the Helm package manager.
Installing prerequisites
- Install Kubernetes server (1.23 or later), for example, using minikube
- Install Kubernetes client, i.e. kubectl
- Install Helm
Installing the chart
-
Add the Waldur Helm repository
helm repo add waldur-charts https://waldur.github.io/waldur-helm/ -
Install dependencies or enable them in Helm values
2.1. Quick setup:
In
values.yamlset:postgresql.enabledtotruerabbitmq.enabledtotrue
One-liner:
helm install my-waldur --set postgresql.enabled=true --set rabbitmq.enabled=true waldur-charts/waldur2.2. Advanced setup of dependencies Setup database using one of:
- Bundled PostgreSQL subchart: instructions or
- Integrate with external DB or a Postgres operator: instructions
Install RabbitMQ for task queue: instructions
-
Install the Helm chart
helm install my-waldur waldur-charts/waldur -f path/to/values.yml
NB After this command, Waldur release will run in default namespace.
Please, pay attention in which namespace which release is running.
For instance, you can install Waldur release
in test namespace in the following way:
-
Create
testnamespace:kubectl create namespace test -
Install release:
helm install waldur waldur-charts/waldur --namespace test
However, postgresql release and waldur should be installed in the same namespace in order to share a common secret with DB credentials.
Adding admin user
Open waldur-mastermind-worker shell and execute the following command:
-
Get waldur-mastermind-worker pod name
# Example: kubectl get pods -A | grep waldur-mastermind-worker # --> # default waldur-mastermind-worker-6d98cd98bd-wps8n 1/1 Running 0 9m9s -
Connect to pod via shell
# Example: kubectl exec -it deployment/waldur-mastermind-worker -- /bin/bash -
Execute command to add admin user
waldur createstaffuser -u user -p password -e admin@example.com
Waldur Helm chart release upgrading
No jobs need to be deleted by hand first: the init-whitelabeling job is a Helm hook that Helm replaces on every upgrade.
Upgrade Waldur dependencies and release:
helm dep update waldur/
helm upgrade waldur waldur/
Settings the chart renders are locked in the admin UI, and settings it no
longer renders are handed back to administrators with their current values.
Before upgrading from a chart that rendered its defaults, see “Upgrading”
under “Settings managed by the chart” in
docs/whitelabeling.md: a copied values file or
--reuse-values keeps those defaults set and locked.
Restart deployments to apply configmaps changes:
kubectl rollout restart deployment waldur-mastermind-beat
kubectl rollout restart deployment waldur-mastermind-api
kubectl rollout restart deployment waldur-mastermind-worker
kubectl rollout restart deployment waldur-homeport
Private registry setup
A user can use private registry for Docker images.
For this, the corresponding credentials should be registered in a secret,
name of which should be placed in .Values.imagePullSecrets.
A secret can be created trough CLI.
Configuration docs
Configuration documentation: index
Remote MCP server
waldur.mcp.enabled runs waldur mcp_server and routes /mcp and the OAuth
endpoints on the API host; see docs/mcp.md. Each MCP pod holds
up to waldur.mcp.dbThreads Postgres connections, so
waldur.mcp.replicas × waldur.mcp.dbThreads counts against Postgres
max_connections, on top of the API and Celery pods.
Extension hooks
Each application deployment (api, worker, beat, homeport) exposes
Bitnami-style extension hooks so site-specific configuration can be added
without forking the chart:
<component>.extraEnvVars— extra container env vars<component>.extraEnvVarsCM/<component>.extraEnvVarsSecret— ConfigMap / Secret asenvFrom<component>.extraVolumes/<component>.extraVolumeMounts— extra volumes and mounts<component>.podAnnotations/<component>.podLabels— extra pod metadata
Two related top-level blocks tune the runtime:
gunicorn.*—timeout,workers,maxRequests, etc. for the API container (renders intoGUNICORN_CMD_ARGS)celery.concurrency—CELERYD_CONCURRENCYfor worker pods
Cross-cutting ingress annotations (merged onto every rendered Ingress) live under ingress.annotations. The canonical use case is controlling DNS TTL via external-dns:
ingress:
annotations:
external-dns.alpha.kubernetes.io/ttl: "60"
See docs/components.md for the full reference (section “Tuning and Extension Hooks”).