Kubernetes Build
The Mint System collection of Helm Charts.
- 🚀 Install: Install Helm repository and get started with Odoo.
- 🛠️ Develop: Deploy Odoo and Postgres to a local Kubernetes cluster.
- 🏗️ Build: Fork and build your own Helm Charts.
Usage
Add this Helm repository.
helm repo add kubernetes-build https://kubernetes.build
Install a chart.
helm install "$NAME" "kubernetes-build/$NAME"
APPUiO
Setup and deploy the Helm charts with APPUiO.
Setup Helm repository
In your zone open Helm > Repositories > Create > Repository and enter:
- Name: kubernetes-build
- Display name: Kubernetes Build
- Description: The Mint System collection of Helm Charts.
- URL: https://kubernetes.build
Apply Postgres
Depending on your zone setup the Postgres template:
- ExoScale: https://docs.appcat.ch/exoscale-dbaas/postgresql/create.html
- cloudscale.ch: https://docs.appcat.ch/vshn-managed/postgresql/create.html
Create Odoo release
In your zone open Helm > Helm Releases > Create > Helm Release and filter Odoo
. Click on the Hem Chart and select Create and confirm with Create.
Charts
List of charts:
Develop
Setup a local Kubernetes cluster and deploy the Helm charts locally.
Requirements
- Install Helm and kubectl
- Setup kind or minikube
- 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 Kubernetes with kind
.
task start-kind
Or start Kubernetes with minikube
.
task start-minikube
Deploy Odoo to Kubernetes
Ensure you have kubectl
installed and can access the cluster.
The following command applies the Postgres and Odoo charts:
task install-chart postgres
task install-chart odoo
The Odoo database will initialized automtically.
Forward Odoo service
Once the pod is ready, run this command to port forward the service:
task forward-odoo
Release
Adjust the version in the Chart.yaml
files.
Create new packages for all charts.
task package-repo
Update index file.
task index-repo