Files
Kubernetes-Build/Development.md
T
Janik von Rotz b5f2eb7952 feat(helm): replace ingress-nginx with haproxy-ingress across all charts and documentation
- Switch default ingress class from `nginx` to `haproxy` in all chart values files
- Update ingress templates to remove nginx-specific configurations and annotations
- Replace all references to `ingress-nginx` with `haproxy-ingress` in documentation and task scripts
- Remove nginx-related helper functions and config maps from chart templates
- Add Exoscale deployment guide and update cluster issuer templates to use haproxy ingress class
- Update task script commands and forwarding functions to use haproxy-ingress
- Remove ingress-nginx repository and installation logic from task helpers
- Adjust backup and development documentation to reflect haproxy-ingress usage
- Clean up obsolete nginx-specific parameters and examples throughout the project
2025-11-13 09:56:12 +01:00

1.8 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

Prepeare cluster

Add Helm chart repos.

task add-repos

Setup the local hostnames.

task setup-hosts

Install the CloudNativePG chart:

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

Install haproxy-ingress in the current cluster.

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

Install k8up in the current cluster.

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

Deploy Odoo chart

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 test/odoo.knd.local.yaml

The Odoo database will be initialized automatically.

Forward the haproxy-ingress port.

task forward haproxy-ingress

Deploy Nextcloud chart

Load the local image into the cluster.

task load-image nextcloud:32-apache

Setup secrets according to the Nextcloud chart readme.

Install the Nextcloud chart:

task install-chart nextcloud test/nextcloud.knd.local.yaml

The Odoo database will be initialized automatically.

Forward the haproxy-ingress port.

task forward haproxy-ingress