kubedb-one
KubeDB and Stash by AppsCode - Production ready databases on Kubernetes
About this chart
KubeDB
KubeDB by AppsCode - Making running production-grade databases easy on Kubernetes
TL;DR;
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/kubedb-one --version=v2024.1.26-rc.0
$ helm upgrade -i kubedb appscode/kubedb-one -n kubedb --create-namespace --version=v2024.1.26-rc.0
Introduction
This chart deploys a KubeDB operator on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.20+
Installing the Chart
To install/upgrade the chart with the release name kubedb:
$ helm upgrade -i kubedb appscode/kubedb-one -n kubedb --create-namespace --version=v2024.1.26-rc.0
The command deploys a KubeDB 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 the kubedb:
$ helm uninstall kubedb -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-one chart and their default values.
| Parameter | Description | Default |
|---|---|---|
| global.license | License for the product. Get a license by following the steps from here. Example: helm install appscode/kubedb \ --set-file global.license=/path/to/license/file or helm install appscode/kubedb \ --set global.license=<license file content> | "" |
| global.licenseSecretName | Name of Secret with the license as key.txt key | "" |
| global.registry | Docker registry used to pull KubeDB related images | "" |
| global.registryFQDN | Docker registry fqdn used to pull KubeDB related images. Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | "" |
| global.insecureRegistries | Specify an array of insecure registries. Example: helm template charts/kubedb-ops-manager \ --set global.insecureRegistries[0]=hub.company.com \ --set global.insecureRegistries[1]=reg.example.com | [] |
| global.imagePullSecrets | Specify an array of imagePullSecrets. Secrets must be manually created in the namespace. Example: helm template charts/kubedb \ --set global.imagePullSecrets[0].name=sec0 \ --set global.imagePullSecrets[1].name=sec1 | [] |
| global.featureGates.Druid | false | |
| global.featureGates.Elasticsearch | true | |
| global.featureGates.FerretDB | false | |
| global.featureGates.Kafka | true | |
| global.featureGates.MariaDB | true | |
| global.featureGates.Memcached | false | |
| global.featureGates.MicrosoftSQLServer | false | |
| global.featureGates.MongoDB | true | |
| global.featureGates.MySQL | true | |
| global.featureGates.PerconaXtraDB | false | |
| global.featureGates.PgBouncer | false | |
| global.featureGates.Pgpool | false | |
| global.featureGates.Postgres | true | |
| global.featureGates.ProxySQL | false | |
| global.featureGates.RabbitMQ | false | |
| global.featureGates.Redis | true | |
| global.featureGates.Singlestore | false | |
| global.featureGates.Solr | false | |
| global.featureGates.ZooKeeper | false | |
| global.monitoring.agent | Name of monitoring agent (one of "prometheus.io", "prometheus.io/operator", "prometheus.io/builtin") | "" |
| global.monitoring.serviceMonitor.labels | Specify the labels for ServiceMonitor. Prometheus crd will select ServiceMonitor using these labels. Only usable when monitoring agent is prometheus.io/operator. | {} |
| kubedb-crd-manager.enabled | If enabled, installs the kubedb-crd-manager chart |
Deploy kubedb-one with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubedb-one 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-one is pinned at v2024.1.26-rc.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