kubedb-provisioner

by AppsCode Inc.

Helm chartv0.69.0App v0.69.0Verified publisher

KubeDB Provisioner by AppsCode - Community features for KubeDB

About this chart

KubeDB Provisioner

KubeDB Provisioner by AppsCode - Community features for KubeDB by AppsCode

TL;DR;

$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/kubedb-provisioner --version=v0.69.0
$ helm upgrade -i kubedb-provisioner appscode/kubedb-provisioner -n kubedb --create-namespace --version=v0.69.0

Introduction

This chart deploys a KubeDB Provisioner 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-provisioner:

$ helm upgrade -i kubedb-provisioner appscode/kubedb-provisioner -n kubedb --create-namespace --version=v0.69.0

The command deploys a KubeDB Provisioner 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-provisioner:

$ helm uninstall kubedb-provisioner -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-provisioner chart and their default values.

ParameterDescriptionDefault
nameOverrideOverrides name template""
fullnameOverrideOverrides fullname template""
replicaCountNumber of KubeDB operator replicas to create (only 1 is supported)1
licenseLicense for the product. Get a license by following the steps from here. Example: helm install appscode/kubedb-ops-manager \ --set-file license=/path/to/license/file or helm install appscode/kubedb-ops-manager \ --set license=<license file content>""
licenseSecretNameName of Secret with the license as key.txt key""
registryFQDNDocker registry fqdn used to pull KubeDB related images Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image}ghcr.io
insecureRegistriesSpecify an array of insecure registries. Example: helm template charts/kubedb-ops-manager \ --set insecureRegistries[0]=hub.company.com \ --set insecureRegistries[1]=reg.example.com[]
operator.registryDocker registry used to pull KubeDB operator imagekubedb
operator.repositoryKubeDB operator container imagekubedb-provisioner
operator.tagKubeDB operator container image tag""
operator.securityContextSecurity options this container should run with{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"runAsUser":65534,"seccompProfile":{"type":"RuntimeDefault"}}
operator.resourcesCompute Resources required by this container{}
waitfor.registryDocker registry used to pull KubeDB enterprise kubectl-nonroot imageappscode
waitfor.repositoryKubeDB enterprise kubectl-nonroot container imagekubectl-nonroot
waitfor.tagKubeDB enterprise kubectl-nonroot container image tag"1.34"
imagePullSecretsSpecify an array of imagePullSecrets. Secrets must be manually created in the namespace. Example: helm template charts/kubedb-provisioner \ --set imagePullSecrets[0].name=sec0 \ --set imagePullSecrets[1].name=sec1[]
imagePullPolicyContainer image pull policyIfNotPresent
criticalAddonIf true, installs KubeDB operator as critical addonfalse
logLevelLog level for operator3

Deploy kubedb-provisioner with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubedb-provisioner 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-provisioner is pinned at v0.69.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