kubedb-one

by AppsCode Inc.

Helm chartv2024.1.26-rc.0App v2024.1.26-rc.0Verified publisher

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.

ParameterDescriptionDefault
global.licenseLicense 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.licenseSecretNameName of Secret with the license as key.txt key""
global.registryDocker registry used to pull KubeDB related images""
global.registryFQDNDocker registry fqdn used to pull KubeDB related images. Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image}""
global.insecureRegistriesSpecify 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.imagePullSecretsSpecify 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.Druidfalse
global.featureGates.Elasticsearchtrue
global.featureGates.FerretDBfalse
global.featureGates.Kafkatrue
global.featureGates.MariaDBtrue
global.featureGates.Memcachedfalse
global.featureGates.MicrosoftSQLServerfalse
global.featureGates.MongoDBtrue
global.featureGates.MySQLtrue
global.featureGates.PerconaXtraDBfalse
global.featureGates.PgBouncerfalse
global.featureGates.Pgpoolfalse
global.featureGates.Postgrestrue
global.featureGates.ProxySQLfalse
global.featureGates.RabbitMQfalse
global.featureGates.Redistrue
global.featureGates.Singlestorefalse
global.featureGates.Solrfalse
global.featureGates.ZooKeeperfalse
global.monitoring.agentName of monitoring agent (one of "prometheus.io", "prometheus.io/operator", "prometheus.io/builtin")""
global.monitoring.serviceMonitor.labelsSpecify the labels for ServiceMonitor. Prometheus crd will select ServiceMonitor using these labels. Only usable when monitoring agent is prometheus.io/operator.{}
kubedb-crd-manager.enabledIf 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartkubedb-one is pinned at v2024.1.26-rc.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