Files
Kubernetes-Build/Development.md
T
Janik von Rotz f82724a5cb feat(ingress): complete migration from ingress-nginx to Traefik
- Replace all instances of ingress-nginx with Traefik in documentation and task scripts
- Add new Traefik installation and forwarding tasks
- Update add-repos to include Traefik repo and deprecate ingress-nginx
- Add uninstall-ingress-nginx task for cleanup
- Update test-chart-nextcloud and start-and-prepare to use Traefik
- Update documentation across Exoscale.md, Development.md, and K3s.md
- Mark ingress-nginx as deprecated in list-external-charts
- Add new prompt file for Traefik migration task
- Update ingress class names in clusterIssuer and odoo values to traefik
- Add Migration.md guide for transitioning from ingress-nginx to Traefik
2026-04-01 17:19:03 +02:00

77 lines
1.2 KiB
Markdown

# Development
Setup a local Kubernetes cluster and deploy the Helm charts.
## Setup
Clone the repository:
```bash
git clone git@github.com:Mint-System/Kubernetes-Build.git
cd Kubernetes-Build
```
Setup the local hostnames.
```bash
task setup-hosts
```
## Start and prepare Kubernetes cluster
The following command will start the kind cluster and install the base charts.
```bash
task start-and-prepare
```
It also load the Odoo image into the cluster.
## Deploy Odoo chart
Setup secrets according to the Odoo chart readme.
Install the Odoo chart:
```bash
task install-chart odoo test_values/odoo.knd.local.yaml
```
The Odoo database will be initialized automatically.
Select the default namespace.
```bash
kubectl-ns default
```
Forward the traefik port.
```bash
task forward traefik
```
## Deploy Nextcloud chart
Load the local image into the cluster.
```bash
task load-image nextcloud:32-apache
```
Setup secrets according to the Nextcloud chart readme.
Install the Nextcloud chart:
```bash
task install-chart nextcloud test_values/nextcloud.knd.local.yaml
```
The Odoo database will be initialized automatically.
Forward the traefik port.
```bash
task forward traefik
```