Deploying

Deploying the chart

This guide will guide you through the process of deploying the operator.

Prerequisites

  • A Kubernetes cluster with version >= 1.16
  • Helm 3
  • Docker or a container registry

Deploying the chart on a local cluster (minikube, kind or k3d)

1. Build the operator image

sbt docker:publishLocal

2. Load the image into the cluster

Minikube

minikube image load <name>:<version>

Replace <name> and <version> with the name you provided when generating the project and the current version of your application (default: 0.0.1).

k3d

k3d image import <name>:<version>

kind

kind load docker-image <name>:<version>

3. Deploy the chart

Start by changing the image deployed in the chart/values.yaml file.

image:
  repository: <name>
  tag: <version>

Then, deploy the chart.

helm install <name> ./chart