Files
deprecated-helm-charts/stable/etcd-operator
Lachlan Evenson f26a5a8cf4 CoreOS etcd-operator (#214)
* initial commit

* update NOTES.txt, enable cluster by default

* update default etcd version
add README
rename default values
update NOTES.txt

* add quotes to app label value

* disable cluster by default as TPR get's created by operator

* update PV provisioner comments
2016-12-05 12:48:13 -08:00
..
2016-12-05 12:48:13 -08:00
2016-12-05 12:48:13 -08:00
2016-12-05 12:48:13 -08:00
2016-12-05 12:48:13 -08:00
2016-12-05 12:48:13 -08:00

CoreOS etcd-operator

etcd-operator Simplify etcd cluster configuration and management.

DISCLAIMER: While this chart has been well-tested, the etcd-operator is still currently in alpha. Current project status is available here

Introduction

This chart bootstraps an etcd-operator and allows the deployment of etcd-cluster(s).

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

Installing the Chart

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

$ helm install stable/etcd-operator --name my-release

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ 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 tables lists the configurable parameters of the etcd-operator chart and their default values.

Parameter Description Default
replicaCount Number of etcd-operator replicas to create (only 1 is supported) 1
image.repository etcd-operator container image quay.io/coreos/etcd-operator
image.tag etcd-operator container image tag latest
image.pullPolicy etcd-operator container image pull policy IfNotPresent
resources.limits.cpu CPU limit per etcd-operator pod 100m
resources.limits.memory Memory limit per etcd-operator pod 128Mi
resources.requests.cpu CPU request per etcd-operator pod 100m
resources.requests.memory Memory request per etcd-operator pod 128Mi
cluster.enabled Whether to enable provisioning of and etcd-cluster true
cluster.name etcd cluster name etcd-cluster
cluster.version etcd cluster version v3.1.0-rc.0
cluster.size etcd cluster size 3
cluster.backup.enabled Whether to create PV for cluster backups true
cluster.backup.provisioner Which PV provisioner to use kubernetes.io/gce-pd (kubernetes.io/aws-ebs)
cluster.backup.config.snapshotIntervalInSecond etcd snapshot interval in seconds 30
cluster.backup.config.maxSnapshot maximum number of snapshots to keep 5
cluster.backup.config.volumeSizeInMB size of backup PV 512MB
cluster.backup.config.storageType Type to storage to provision PersistentVolume

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

$ helm install --name my-release --set cluster.version=v3.1.0-alpha.1  stable/etcd-operator

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/etcd-operator