Back to Charts

⚠️ Repo Archive Notice

stable/zetcd/README.md

latest5.0 KB
Original Source

⚠️ Repo Archive Notice

As of Nov 13, 2020, charts in this repo will no longer be updated. For more information, see the Helm Charts Deprecation and Archive Notice, and Update.

⚠️ Chart Deprecated

CoreOS zetcd chart

This chart runs zetcd, a ZooKeeper "personality" for etcd.

Introduction

This chart bootstraps zetcd and optionally an etcd-operator

Official Documentation

Official project documentation found here

Prerequisites

  • Kubernetes 1.4+ with Beta APIs enabled
  • Suggested: PV provisioner support in the underlying infrastructure to support backups of etcd

Installing the Chart

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

bash
$ helm install stable/zetcd --name my-release

Note: By default etcd-operator is installed with zetcd. cluster.enabled is set on install but it will have no effect. Before you create a zetcd deployment, the TPR must be installed by the operator, so this option is ignored during helm installs. Alternatively, the release can be upgraded after install to launch the etcd cluster pods.

Uninstalling the Chart

To uninstall/delete the my-release deployment:

bash
$ helm delete my-release

The command removes all the Kubernetes components EXCEPT the persistent volume.

Updating

Updating the TPR resource will not result in the cluster being update until kubectl apply for TPRs is fixed see kubernetes/issues/29542 Work around options are documented here

Configuration

The following table lists the configurable parameters of the zetcd chart and their default values. Check the etcd-operator chart for additional configuration options

ParameterDescriptionDefault
replicaCountNumber of zetcd replicas to create1
image.repositoryzetcd container imagequay.io/coreos/zetcd
image.tagzetcd container image tagv0.0.3
image.pullPolicyzetcd container image pull policyIfNotPresent
resources.limits.cpuCPU limit per zetcd pod
resources.limits.memoryMemory limit per zetcd pod
resources.requests.cpuCPU request per zetcd pod
resources.requests.memoryMemory request per zetcd pod
nodeSelectorNode labels for pod assignment{}
etcd.operatorEnabledWhether to use etcd-operator to launch a clustertrue
etcd.endpointsExisting etcd endpoints to be used when etcd-operator is disabledlocalhost:2379
etcd.tls.existingSecretName of the secret containing certificate, key and CA certificate
etcd.tls.caKey in TLS secret that contains CA certificate
etcd.tls.certKey in TLS secret that contains client certificate
etcd.tls.keyKey in TLS secret that contains private key

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

bash
$ helm install --name my-release --set image.tag=v0.0.3 stable/zetcd

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

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