- Update .gitignore to ignore all manifest files - Refactor Development.md to focus on setup steps and remove redundant requirements section - Consolidate and expand requirements in README.md to include helm and kind - Add enterprise Odoo download and addon cloning steps to deploy-staging.yaml and deploy.yaml - Simplify deployment script execution by removing redundant /entrypoint.sh calls
1.5 KiB
1.5 KiB
Development
Setup a local Kubernetes cluster and deploy the Helm charts.
Setup
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_values/knd.local.yaml
Install ingress-nginx in the current cluster.
task install-chart ingress-nginx test_values/knd.local.yaml
Install k8up in the current cluster.
task install-chart k8up test_values/knd.local.yaml
Deploy Odoo chart
Load the local image into the cluster.
task load-image mintsystem/odoo:18.0.20251121
Setup secrets according to the Odoo chart readme.
Install the Odoo chart:
task install-chart odoo test_values/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_values/nextcloud.knd.local.yaml
The Odoo database will be initialized automatically.
Forward the ingress-nginx port.
task forward ingress-nginx