Files
Kubernetes-Build/Development.md
T
Janik von Rotz bda11ee865 feat(docs): restructure documentation and improve task script
- Move deployment guides to separate files (APPUiO.md, Infomaniak.md, K3s.md)
- Create dedicated Development.md and Backup.md documentation
- Extract troubleshooting content to Troubleshooting.md
- Rewrite task script with improved bash practices and consistent formatting
- Update odoo chart documentation with complete secret setup instructions
- Modify backup.yaml to include ingress host in S3 bucket path
- Refactor task script functions to use lowercase variable names and proper quoting
- Remove obsolete minikube commands and simplify kind cluster management
- Improve hosts setup in task script with consistent formatting
- Update README.md to reference new documentation files
2025-11-04 20:14:38 +01:00

1.6 KiB

Development

Setup a local Kubernetes cluster and deploy the Helm charts.

Requirements

Setup the required tools:

Clone the repository:

git clone git@github.com:Mint-System/Kubernetes-Build.git
cd Kubernetes-Build

Start Kubernetes cluster

Start cluster with kind.

task start-kind

Deploy Odoo chart

Add Helm chart repos.

task add-repos

Setup the local hostnames.

task setup-hosts

Install the CloudNativePG chart:

task install-chart cnpg values/knd.local.yaml

Install ingress-nginx in the current cluster.

task install-chart ingress-nginx values/knd.local.yaml

Install k8up in the current cluster.

task install-chart k8up values/knd.local.yaml

Load the local image into the cluster.

task load-image mintsystem/odoo:18.0.20251008

Setup secrets according to the Odoo chart readme.

Install the Odoo chart:

task install-chart odoo values/odoo.knd.local.yaml

The Odoo database will be initialized automatically.

Forward the ingress-nginx port.

task forward ingress-nginx

Setup haproxy ingress

Install haproxy-ingress in the current cluster.

task install-chart haproxy-ingress values/knd.local.yaml

Forward the haproxy-ingress port.

task forward haproxy-ingress