Skip to content

Running with Kubernetes (helm)

Prerequisites:

  • A Kubernetes cluster

You must have Kubernetes installed. As example: Get started with Amazon EKS

By default, kubectl looks for a file named config in the $HOME/.kube directory. You can specify other kubeconfig files by setting the KUBECONFIG environment variable or by setting the --kubeconfig flag.

Verify Kubernetes setup:

kubectl cluster-info
  • Helm installed

Make sure you have Helm installed on your system. For more details, see Installing Helm.

Verify Helm installation:

helm version

Installation Steps:

Initialize a Helm Chart Repository

Once you have Helm ready, you can add a chart repository:

git clone https://git.qix.sx/adentro/flow8-helm.git

Navigate into the project directory:

cd flow8-helm
Create a .env file with environment variables and place in ./api/files/ folder for api.

Read more about in Environment variables section

Create ./api/variables.yaml as provided in example ./api/variables.yaml.example

Read more about in Helm variables section

Install the chart in the Kubernetes cluster:

For api:

helm install flow8-api ./api

For ui app:

helm install flow8-ui ./front

Or for upgrade:

For api:

helm upgrade flow8-api ./api

For ui app:

helm upgrade flow8-ui ./front

Verify the deployment:

kubectl get deployments