Helm chartv2.2.3App 3.3.13

etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines

About this chart

etcd

etcd is an object-relational database management system (ORDBMS) with an emphasis on extensibility and on standards-compliance.

TL;DR;

$ helm install <helm-repo>/etcd

$ helm install bitnami/etcd

Introduction

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

Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters. This Helm chart has been tested on top of Bitnami Kubernetes Production Runtime (BKPR). Deploy BKPR to get automated TLS certificates, logging and monitoring for your applications.

Prerequisites

  • Kubernetes 1.4+ with Beta APIs enabled
  • PV provisioner support in the underlying infrastructure

Installing the Chart

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

$ helm install --name my-release <helm-repo>/etcd

$ helm install --name my-release bitnami/etcd The command deploys etcd 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 deployment:

$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following tables lists the configurable parameters of the etcd chart and their default values.

ParameterDescriptionDefault
global.imageRegistryGlobal Docker image registrynil
global.imagePullSecretsGlobal Docker registry secret names as an array[] (does not add image pull secrets to deployed pods)
image.registryetcd image registrydocker.io
image.repositoryetcd Image namebitnami/etcd
image.tagetcd Image tag{VERSION}
image.pullPolicyetcd image pull policyAlways
image.pullSecretsSpecify docker-registry secret names as an array[] (does not add image pull secrets to deployed pods)
image.debugSpecify if debug values should be setfalse
statefulset.updateStrategyUpdate strategy for the stateful setRollingUpdate
statefulset.rollingUpdatePartitionPartition for Rolling Update strategynil
statefulset.podManagementPolicyPod management policy for the stateful setOrderedReady
statefulset.replicaCountNumber of etcd nodes1
configFileConfigMapConfigMap that contains a etcd.conf.yaml to be mountednil
envVarsConfigMapConfigMap that contains environment variables to be set in the containernil
allowNoneAuthenticationAllow to use etcd without configuring RBAC authenticationtrue
auth.rbac.enabledSwitch to enable the etcd authentication.true
auth.rbac.rootPasswordPassword for the root usernil
auth.rbac.existingSecretName of the existing secret containing the root passwordnil
auth.client.secureTransportSwitch to encrypt client communication using TLS certificatesfalse
auth.client.useAutoTLSSwitch to automatically create the TLS certificatesfalse
auth.client.enableAuthenticationSwitch to enable host authentication using TLS certificates. Requires existing secret.secret
auth.client.existingSecretName of the existing secret containing cert files for client communication.nil
auth.peer.secureTransportSwitch to encrypt peer communication using TLS certificatesfalse
auth.peer.useAutoTLSSwitch to automatically create the TLS certificatesfalse
auth.peer.enableAuthenticationSwitch to enable host authentication using TLS certificates. Requires existing secret.false
auth.peer.existingSecretName of the existing secret containing cert files for peer communication.nil
securityContext.enabledEnable security contexttrue
securityContext.fsGroupGroup ID for the container1001
securityContext.runAsUserUser ID for the container1001
service.dnsBaseKubernetes service cluster dns base namesvc.cluster.local
service.typeKubernetes Service typeClusterIP
service.portetcd client port2379
service.nodePortPort to bind to for NodePort service type (client port)nil
service.peerPortetcd peer port2380
service.peerNodePortPort to bind to for NodePort service type (peer port)nil
service.annotationsAnnotations for etcd service{}
service.loadBalancerIPloadBalancerIP if etcd service type is LoadBalancernil
persistence.enabledEnable persistence using PVCtrue
persistence.storageClassPVC Storage Class for etcd volumenil
persistence.accessModePVC Access Mode for etcd volumeReadWriteOnce
persistence.sizePVC Storage Request for etcd volume8Gi
persistence.annotationsAnnotations for the PVC{}
affinityAffinity and AntiAffinity rules for pod assignment{}
nodeSelectorNode labels for pod assignment{}
tolerationsToleration labels for pod assignment[]
resourcesCPU/Memory resource requests/limitsMemory: 256Mi, CPU: 250m
livenessProbe.enabledTurn on and off liveness probetrue
livenessProbe.initialDelaySecondsDelay before liveness probe is initiated10
livenessProbe.periodSecondsHow often to perform the probe10
livenessProbe.timeoutSecondsWhen the probe times out5
livenessProbe.failureThresholdMinimum consecutive failures for the probe to be considered failed after having succeeded.2
livenessProbe.successThresholdMinimum consecutive successes for the probe to be considered successful after having failed1
readinessProbe.enabledTurn on and off readiness probetrue
readinessProbe.initialDelaySecondsDelay before liveness probe is initiated5
readinessProbe.periodSecondsHow often to perform th

Deploy etcd with OpenTenant

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