etcd
etcd is a distributed key-value store designed to securely store data across a cluster. etcd is widely used in production on account of its reliability, fault-tolerance and ease of use.
About this chart
Etcd packaged by Bitnami
etcd is a distributed key-value store designed to securely store data across a cluster. etcd is widely used in production on account of its reliability, fault-tolerance and ease of use.
Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
Azure-ready Charts with Containers from marketplace.azurecr.io
This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
TL;DR
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/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.
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
- PV provisioner support in the underlying infrastructure
Installing the Chart
To install the chart with the release name my-release:
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/etcd
These commands deploy etcd on the Kubernetes cluster in the default configuration. The Parameters 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.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
nameOverride | String to partially override common.names.fullname template (will maintain the release name) | "" |
fullnameOverride | String to fully override common.names.fullname template | "" |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
clusterDomain | Default Kubernetes cluster domain | cluster.local |
extraDeploy | Array of extra objects to deploy with the release | [] |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | false |
diagnosticMode.command | Command to override all containers in the deployment | ["sleep"] |
diagnosticMode.args | Args to override all containers in the deployment | ["infinity"] |
etcd parameters
| Name | Description | Value |
|---|---|---|
image.registry | etcd image registry | docker.io |
image.repository | etcd image name | bitnami/etcd |
image.tag | etcd image tag | 3.5.5-debian-11-r1 |
image.digest | etcd image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
image.pullPolicy | etcd image pull policy | IfNotPresent |
image.pullSecrets | etcd image pull secrets | [] |
image.debug | Enable image debug mode | false |
auth.rbac.create | Switch to enable RBAC authentication | true |
auth.rbac.allowNoneAuthentication | Allow to use etcd without configuring RBAC authentication | true |
auth.rbac.rootPassword | Root user password. The root user is always root | "" |
auth.rbac.existingSecret | Name of the existing secret containing credentials for the root user | "" |
auth.rbac.existingSecretPasswordKey | Name of key containing password to be retrieved from the existing secret | "" |
auth.token.type | Authentication token type. Allowed values: 'simple' or 'jwt' | jwt |
auth.token.privateKey.filename | Name of the file containing the private key for signing the JWT token | jwt-token.pem |
auth.token.privateKey.existingSecret | Name of the existing secret containing the private key for signing the JWT token | "" |
auth.token.signMethod | JWT token sign method | RS256 |
auth.token.ttl | JWT token TTL | 10m |
auth.client.secureTransport | Switch to encrypt client-to-server communications using TLS certificates | false |
auth.client.useAutoTLS | Switch to automatically create the TLS certificates | false |
auth.client.existingSecret | Name of the existing secret containing the TLS certificates for client-to-server communications | "" |
auth.client.enableAuthentication | Switch to enable host authentication using TLS certificates. Requires existing secret | false |
auth.client.certFilename | Name of the file containing the client certificate | cert.pem |
auth.client.certKeyFilename | Name of the file containing the client certificate private key | key.pem |
auth.client.caFilename | Name of the file containing the client CA certificate | "" |
auth.peer.secureTransport | Switch to encrypt server-to-server communications using TLS certificates | false |
auth.peer.useAutoTLS | Switch to automatically create the TLS certificates | false |
auth.peer.existingSecret | Name of the existing secret containing the TLS certificates for server-to-server communications | "" |
auth.peer.enableAuthentication | Switch to enable host authentication using TLS certificates. Requires existing secret | false |
auth.peer.certFilename | Name of the file containing the peer certificate | cert.pem |
auth.peer.certKeyFilename | Name of the file containing the peer certificate private key | key.pem |
auth.peer.caFilename | Name of the file containing the peer CA certificate | "" |
autoCompactionMode | Auto compaction mode, by default periodic. Valid values: "periodic", "revision". | "" |
autoCompactionRetention | Auto compaction retention for mvcc key value store in hour, by default 0, means disabled | "" |
initialClusterState | Initial cluster state. Allowed values: 'new' or 'existing' | "" |
logLevel | Sets the log level for the etcd process. Allowed values: 'debug', 'info', 'warn', 'error', 'panic', 'fatal' | info |
maxProcs | Limits the number of operating system threads that can execute user-level | "" |
removeMemberOnContainerTermination | Use a PreStop hook to remove the etcd members from the etcd cluster on container termination | true |
configuration | etcd configuration. Specify content for etcd.conf.yml | "" |
existingConfigmap | Existing ConfigMap with etcd configuration | "" |
extraEnvVars | Extra environment variables to be set on etcd container | [] |
extraEnvVarsCM | Name of existing ConfigMap containing extra env vars | "" |
extraEnvVarsSecret | Name of existing Secret containing extra env vars | "" |
command | Default container command (useful when using custom images) | [] |
args | Default container args (useful when using custom images) | [] |
etcd statefulset parameters
| Name | Description | Value |
|---|---|---|
replicaCount | Number of etcd replicas to deploy | 1 |
updateStrategy.type | Update strategy type, can be set to RollingUpdate or OnDelete. | RollingUpdate |
podManagementPolicy | Pod management policy for the etcd statefulset | Parallel |
hostAliases | etcd pod host aliases | [] |
lifecycleHooks | Override default etcd container hooks | {} |
containerPorts.client | Client port to expose at container level | 2379 |
containerPorts.peer | Peer port to expose at container level | 2380 |
podSecurityContext.enabled | Enable |
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartetcd is pinned at v8.5.6 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