- Update all documentation guides (Exoscale, Infomaniak, K3s, Development, Backup) to use ingress-nginx instead of haproxy-ingress - Replace haproxy-ingress references in task commands and scripts with ingress-nginx equivalents - Update Helm chart configurations (hugo, nextcloud, odoo, taskfileBuild, vuepress) to use nginx ingress class - Modify ingress templates to include nginx-specific annotations and TLS configurations - Add ingress-nginx as an external chart and remove haproxy-ingress related code - Update Odoo chart to support python package installation and storage class configuration - Adjust cert-manager cluster issuers to use nginx ingress class name
1.8 KiB
1.8 KiB
Development
Setup a local Kubernetes cluster and deploy the Helm charts.
Requirements
Setup the required tools:
- helm, kubectl and kubctx
- Setup kind
- Optional: bash/zsh alias
task='./task'with completion.
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 ingress-nginx in the current cluster.
task install-chart ingress-nginx 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 ingress-nginx port.
task forward ingress-nginx
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 ingress-nginx port.
task forward ingress-nginx