Skip to content

2.2. Running

Rafał Lorenz edited this page Jul 3, 2021 · 4 revisions

To deploy application to the Kubernetes cluster using Helm you will typically follow these steps:

1. Add application to cmd directory

2. Build the Docker image

To build services repeat following steps for every one defined in ./cmd/ directory. Changing BIN= value to directory name from ./cmd/{service_name} path.

make docker-build BIN=user

3. Publish the Docker image

4. Create the Helm Chart (extend microservice chart)

Install dependencies

make helm-dependencies

5. Deploy release to cluster

make terraform-install

6. Update the source code and the Helm chart

7. Deploy update

terraform apply

8. Remove release

make terraform-destroy