Skip to main content

Deploy

In this part we describe how you can deploy mijnBureau to a test kubernetes so you can verify your changes.

KIND

We use Kubernetes in Docker to test MijnBureau locally. KIND Documentatino

Once your install KIND you can create a cluster simply with:

kind create cluster

When you are done with the cluster you can delete it

kind delete cluster

deploy

To deploy MijnBureau to your kind cluster you need to set a variable

export MIJNBUREAU_MASTER_PASSWORD="your-very-secure-password"

Before you install MijnBureau you need to make sure you are connected to the correct Kubernetes. The following commands shows you which Kubernetes cluster you are connected to.

kubectl config current-context

To install MijnBureau onto kubernetes execute helmfile apply.

helmfile -e <environment> apply

If you want to inspect the installation without deploying you can run

helmfile -e <environment> template

where <environment> can be the demo or production environment. if you do not specify the -e <environment> option MijnBureau will use the default environment.

there are many more helmfile commands that you can use, see the helmfile documentation