Skip to content

Latest commit

 

History

History
 
 

kubedb

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

This chart is DEPRECATED and moved to https://github.com/appscode/charts

KubeDB

KubeDB by AppsCode - Making running production-grade databases easy on Kubernetes

TL;DR;

$ helm install stable/kubedb

Introduction

This chart bootstraps a KubeDB controller deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.9+

Installing the Chart

To install the chart with the release name my-release:

$ helm install stable/kubedb --name my-release

The command deploys 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/delete the my-release:

$ 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 KubeDB chart and their default values.

Parameter Description Default
replicaCount Number of kubedb operator replicas to create (only 1 is supported) 1
dockerRegistry Docker registry used to pull KubeDB related images kubedb
imageTags.operator Tag of KubeDB operator image 0.8.0-beta.2
imageTags.exporter Tag of KubeDB operator image 0.8.0-beta.2
imageTags.apiserver Tag of KubeDB server image 0.1.0-beta.2
imagePullSecrets Specify image pull secrets nil (does not add image pull secrets to deployed pods)
imagePullPolicy Image pull policy IfNotPresent
criticalAddon If true, installs KubeDB operator as critical addon false
rbac.create If true, create and use RBAC resources true
serviceAccount.create If true, create a new service account true
serviceAccount.name Service account to be used. If not set and serviceAccount.create is true, a name is generated using the fullname template ``
apiserver.groupPriorityMinimum The minimum priority the group should have. 10000
apiserver.versionPriority The ordering of this API inside of the group. 15
apiserver.enableAdmissionWebhook Configure apiserver as admission webhooks for KubeDB CRDs false
apiserver.ca CA certificate used by main Kubernetes api server ``

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example:

$ helm install --name my-release --set image.tag=v0.2.1 stable/kubedb

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example:

$ helm install --name my-release --values values.yaml stable/kubedb

RBAC

By default the chart will not install the recommended RBAC roles and rolebindings.

You need to have the flag --authorization-mode=RBAC on the api server. See the following document for how to enable RBAC.

To determine if your cluster supports RBAC, run the following command:

$ kubectl api-versions | grep rbac

If the output contains "beta", you may install the chart with RBAC enabled (see below).

Enable RBAC role/rolebinding creation

To enable the creation of RBAC resources (On clusters with RBAC). Do the following:

$ helm install --name my-release stable/kubedb --set rbac.create=true