kanister-operator

by Helm

Helm chartv0.120.0App 0.120.0

Kanister-operator Helm chart for Kubernetes

About this chart

kanister-operator

kanister-operator is a Kubernetes operator for the Kanister framework.

Kanister is a framework that enables application-level data management on Kubernetes. It allows domain experts to capture application specific data management tasks via blueprints, which can be easily shared and extended. The framework takes care of the tedious details surrounding execution on Kubernetes and presents a homogeneous operational experience across applications at scale.

TL;DR

$ helm repo add kanister http://charts.kanister.io
$ helm install --namespace kanister --create-namespace kanister/kanister-operator

Introduction

This chart bootstraps a kanister-operator deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.8+ with Beta APIs enabled

Installing the Chart

To install the chart with the release name my-release:

$ helm install my-release --namespace kanister --create-namespace \
kanister/kanister-operator

The command deploys kanister-operator on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release --namespace kanister

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the nginx-ingress chart and their default values.

ParameterDescriptionDefault
rbac.createall required roles and SA will be createdtrue
serviceAccount.createspecify if SA will be createdtrue
serviceAccount.nameprovided service account name will be usedNone
image.repositorycontroller container image repositorykanisterio/controller
image.tagcontroller container image tag0.10.0
image.pullPolicycontroller container image pull policyIfNotPresent
resourcesk8s pod resourcesNone
nodeSelectornode labels for pod assignment. Evaluated as template{}
tolerationstolerations for pod assignment. Evaluated as a template[]
secureDefaultsForJobPodsEnabling secure default configurations to kanister Job podstrue

Specify each parameter you'd like to override using a YAML file as described above in the installation section.

You can also specify any non-array parameter using the --set key=value[,key=value] argument to helm install. For example,

$ helm install my-release --namespace kanister --create-namespace \
kanister/kanister-operator --set rbac.create=false

Deploy kanister-operator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kanister-operator on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartkanister-operator is pinned at v0.120.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply