kanister-operator
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 install <helm-repo>/kanister-operator
$ helm install stable/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 --name my-release <helm-repo>/kanister-operator
$ helm install --name my-release stable/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
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 kanister-operator 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 | v0.2.0 |
image.pullPolicy | controller container image pull policy | IfNotPresent |
resources | k8s pod resorces | None |
profile.create | flag to indicate creation of profile | false |
profile.defaultProfile | flag to create fallback profile for the namespace | false |
profile.defaultProfileName | profile name used when creating defaultProfile | default-profile |
profile.profileName | profile name to be used when not creating a defaultProfile | None |
profile.s3.bucket | s3 bucket, required if creating a profile | None |
profile.s3.endpoint | Endpoint to the s3 bucket | None |
profile.s3.prefix | Prefix to the s3 bucket | None |
profile.s3.region | Region of the s3 bucket <us-west-1, us-east-1 etc> | None |
profile.s3.accessKey | aws access key id, required if creating a profile | None |
profile.s3.secretKey | aws secret access key, required if creating a profile | None |
profile.verifySSL | flag to verify ssl certs | true |
Specify each parameter you'd like to override using a YAML file as described above in the [installation](#Installing the Chart) section.
You can also specify any non-array parameter using the --set key=value[,key=value] argument to helm install. For example,
You can also specify any non-array parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
$ helm install <helm-repo>/kanister-operator --name my-release \
--set rbac.create=false
$ helm install stable/kanister-operator --name my-release \
To install a default S3 profile with the operator, you can use the following command:
$ helm install <helm-repo>/kanister-operator --name my-release \
--set profile.create=true,profile.defaultProfile=true, \
profile.s3.bucket=<aws_bucket>,profile.s3.accessKey=<aws_access_key>,profile.s3.secretKey=<aws_secret_access_key>
$ helm install stable/kanister-operator --name my-release \
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.3.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