kanister-operator
by Helm
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.
| Parameter | Description | Default |
|---|---|---|
rbac.create | all required roles and SA will be created | true |
serviceAccount.create | specify if SA will be created | true |
serviceAccount.name | provided service account name will be used | None |
image.repository | controller container image repository | kanisterio/controller |
image.tag | controller container image tag | 0.10.0 |
image.pullPolicy | controller container image pull policy | IfNotPresent |
resources | k8s pod resources | None |
nodeSelector | node labels for pod assignment. Evaluated as template | {} |
tolerations | tolerations for pod assignment. Evaluated as a template | [] |
secureDefaultsForJobPods | Enabling secure default configurations to kanister Job pods | true |
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartkanister-operator is pinned at v0.120.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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