Skip to content

2.2. Running

Rafał Lorenz edited this page Jun 30, 2019 · 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 helm-install

6. Update the source code and the Helm chart

7. Deploy update

make helm-upgrade

8. Remove release

make helm-delete
Clone this wiki locally