kubedb-community
KubeDB Community by AppsCode - Community features for KubeDB
About this chart
KubeDB Community
KubeDB Community by AppsCode - Community features for KubeDB by AppsCode
TL;DR;
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm install kubedb-community appscode/kubedb-community -n kubedb
Introduction
This chart deploys a KubeDB Community operator on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.14+
Installing the Chart
To install the chart with the release name kubedb-community:
$ helm install kubedb-community appscode/kubedb-community -n kubedb
The command deploys a KubeDB Community 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 kubedb-community:
$ helm delete kubedb-community -n kubedb
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 kubedb-community chart and their default values.
| Parameter | Description | Default |
|---|---|---|
| nameOverride | Overrides name template | "" |
| fullnameOverride | Overrides fullname template | "" |
| replicaCount | Number of KubeDB operator replicas to create (only 1 is supported) | 1 |
| license | License for the product. Get a license by following the steps from here. Example: helm install appscode/kubedb-enterprise \ --set-file license=/path/to/license/file or helm install appscode/kubedb-enterprise \ --set license=<license file content> | "" |
| registryFQDN | Docker registry fqdn used to pull KubeDB related images Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | "" |
| operator.registry | Docker registry used to pull KubeDB operator image | kubedb |
| operator.repository | KubeDB operator container image | operator |
| operator.tag | KubeDB operator container image tag | v0.24.0 |
| operator.resources | Compute Resources required by the operator container | {} |
| operator.securityContext | requests: cpu: 100m memory: 128Mi Security options the operator container should run with | {} |
| cleaner.registry | Docker registry used to pull Webhook cleaner image | appscode |
| cleaner.repository | Webhook cleaner container image | kubectl |
| cleaner.tag | Webhook cleaner container image tag | v1.16 |
| cleaner.skip | Skip generating cleaner YAML | false |
| imagePullSecrets | Specify an array of imagePullSecrets. Secrets must be manually created in the namespace. Example: helm template charts/kubedb-community \ --set imagePullSecrets[0].name=sec0 \ --set imagePullSecrets[1].name=sec1 | [] |
| imagePullPolicy | Container image pull policy | IfNotPresent |
| criticalAddon | If true, installs KubeDB operator as critical addon | false |
| logLevel | Log level for operator | 3 |
| annotations | Annotations applied to operator deployment | {} |
| podAnnotations | Annotations passed to operator pod(s). | {} |
| nodeSelector | Node labels for pod assignment | {"beta.kubernetes.io/os":"linux"} |
| tolerations | Tolerations for pod assignment | [] |
| affinity | Affinity rules for pod assignment | {} |
| podSecurityContext | Security options the operator pod should run with. | {} |
| serviceAccount.create | Specifies whether a service account should be created | true |
| serviceAccount.annotations | Annotations to add to the service account | {} |
| serviceAccount.name | The name of the service account to use. If not set and create is true, a name is generated using the fullname templat |
Deploy kubedb-community with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubedb-community 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 chartkubedb-community is pinned at v0.24.2 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