Prerequisites
MijnBureau has minimal prerequisites, requiring only a Kubernetes cluster and a domain name with TLS certificates.
☸️ Kubernetes Cluster
Minimum Requirements
- A CNCF certified Kubernetes or Haven compliant Kubernetes.
- AMD64 platform.
- A LoadBalancer (or more) if you want to host video conferencing backend
- A CloudNativePG operator
- A routing solution — one of:
- Ingress controller: Traefik (default), NGINX or HAProxy (OpenShift).
- Gateway API controller: any conformant Gateway API implementation (e.g. Nginx Gateway Fabric, Cilium, Envoy Gateway, Istio).
- Access to DNS domain records
Ingress with Traefik is the primary and default routing option. Gateway API support is available as an alternative for clusters that already run a Gateway API controller. Note: For ingress mode, the Traefik (default), nginx and HAProxy (OpenShift) controllers are supported via
cluster.ingress.type. Additional controllers can be added if needed.
Cluster Operators
MijnBureau uses CloudNativePG for every PostgreSQL
database. Install the operator and its CRDs before running helmfile apply,
otherwise the Cluster resources are rejected:
helm repo add cnpg https://cloudnative-pg.github.io/charts
helm repo update
helm install cnpg cnpg \
--namespace cnpg-system \
--create-namespace \
--set crds.create=true
Verify the CRDs are present:
kubectl get crd clusters.postgresql.cnpg.io
kubectl -n cnpg-system get pods
Each application gets its own CNPG Cluster in the demo environment. The operator
needs a default StorageClass (or per-cluster pvc.<app>.storageClass) to provision the
database volumes. See PostgreSQL for the database
configuration.
The cert-manager operator is only required when you use the bundled TLS issuance, and a Gateway API
controller only when cluster.gateway is enabled.
The external secret manager operator is only required when using the external secret option. and a SOPS operator is needed if you want to use SOPS secrets.
An argocd operator is recommended when using gitops method.
Kubernetes Resources
MijnBureau simplifies resource setup with a global size parameter that adjusts resource usage for all components. Below is the expected resource usage based on the size parameter only. For precise calculations, use the ./scripts/predicted_resources.py script.
Resource Usage by Size
| Size | Environment | CPU Requested | CPU Limits | Memory Requested | Memory Limits |
|---|---|---|---|---|---|
| none | Demo | 0.0 cores | 0.0 cores | 0.0 GiB | 0.0 GiB |
| Production | 0.0 cores | 0.0 cores | 0.0 GiB | 0.0 GiB | |
| nano | Demo | 4.7 cores | 7.2 cores | 7.5 GiB | 12.3 GiB |
| Production | 2.4 cores | 3.8 cores | 4.6 GiB | 7.9 GiB | |
| micro | Demo | 11.1 cores | 16.9 cores | 13.0 GiB | 20.6 GiB |
| Production | 5.4 cores | 8.3 cores | 7.1 GiB | 11.7 GiB | |
| small | Demo | 21.9 cores | 33.0 cores | 24.0 GiB | 37.1 GiB |
| Production | 10.4 cores | 15.7 cores | 12.2 GiB | 19.5 GiB | |
| medium | Demo | 21.9 cores | 33.0 cores | 46.0 GiB | 70.1 GiB |
| Production | 10.4 cores | 15.8 cores | 22.5 GiB | 34.8 GiB | |
| large | Demo | 43.4 cores | 65.2 cores | 90.1 GiB | 136.1 GiB |
| Production | 20.4 cores | 30.8 cores | 43.0 GiB | 65.5 GiB | |
| xlarge | Demo | 43.4 cores | 129.7 cores | 134.1 GiB | 268.3 GiB |
| Production | 20.4 cores | 60.7 cores | 63.5 GiB | 127.0 GiB | |
| 2xlarge | Demo | 43.4 cores | 258.8 cores | 134.1 GiB | 532.5 GiB |
| Production | 20.4 cores | 120.8 cores | 63.5 GiB | 250.0 GiB |
None will not set any resources and will share the available resources among all applications. The None options is not recommended for production setups.
🛠️ Tools
To install MijnBureau on Kubernetes, you need the following tools:
- Helmfile: Installation Guide
- Helm: Installation Guide
Secrets Management
If you plan to store secrets like credentials, we recommend using an encryption tool or secret manager. This documentation uses SOPS, but you can choose another tool based on your organization’s needs:
- SOPS: Documentation
- AGE: Documentation
There is also support for External Secret Operator. which makes it possible to store secrets in OpenBao or other secret manager.
🌐 Domain Configuration
MijnBureau is a browser-based suite that requires a domain or subdomain (e.g., mijnbureau.example.com) that you control to make the application accessible to users. For detailed DNS configuration guidance, see the DNS documentation.