Questions tagged [etcd]

etcd is a highly-available key value store for shared configuration and service discovery, inspired by Apache ZooKeeper and doozer.

etcd is a highly-available key value store for shared configuration and service discovery, inspired by Apache ZooKeeper and doozer, with a focus on being:

  • Simple: curl'able user facing API (HTTP+JSON)
  • Secure: optional SSL client cert authentication
  • Fast: benchmarked 1000s of writes/s per instance
  • Reliable: properly distributed using Raft

etcd is written in Go and uses the Raft consensus algorithm to manage a highly-available replicated log.

543 questions
5
votes
3 answers

How do I do backup and (point-in-time) recovery for etcd?

I understand that etcd stores its data in some kind of distributed log. Are there tools to back up these logs and do recovery from them? Does that also support point-in-time recovery (and how far back can we go)? Extra points: do these logs also…
Thilo
  • 257,207
  • 101
  • 511
  • 656
4
votes
1 answer

Argo and Kubernetes "Request entity to large: limit is 3145728"

I've been trying to deploy a workflow in Argo with Kubernetes and I'm getting this error Can someone help me to know the root of the issue? I’ve tried several things but I’ve been unsuccessful.
Derek Menénedez
  • 2,003
  • 11
  • 20
4
votes
1 answer

how to reset restart count in kubeclt get pods

How can I reset RESTART counts to zero in below Kubernetes command output. I know stats are saved in etcd, but how to reset/erase the data? /home/mytest>kubectl get pods -A -o wide NAMESPACE NAME …
myquest4 sh
  • 371
  • 4
  • 16
4
votes
1 answer

Getting "rpc error: code = Unavailable desc = error reading from server: EOF" when trying to create a new etcdv3 client

I'm trying to access my ETCD database from a K8s controller, but getting rpc error/EOF when trying to open ETCD client. My setup: ETCD service is deployed in my K8s cluster and included in my Istio service mesh (its DNS record:…
magnes
  • 139
  • 1
  • 2
  • 11
4
votes
1 answer

Is the following output of "etcdctl member list" correct and ETCD cluster is in good state?

I am new to k8s, and i was trying to build a etcd cluster. Now i have completed all the steps and got the desired output. ubuntu@controller0:/etc/systemd/system$ sudo ETCDCTL_API=3 etcdctl member list --endpoints=https://10.240.0.10:2379…
user11573215
4
votes
2 answers

Does etcd store its key-value data directly in the Raft log?

I know that etcd uses the Raft protocol to achieve consensus among multiple nodes. Raft is usually presented as storing data as key-value pairs in the replicated log; does etcd store its key-value data directly in that Raft log, or is there some…
DylanSp
  • 1,379
  • 13
  • 27
4
votes
1 answer

Can etcd detect problems and elect leaders for other clusters?

To my knowledge, etcd uses Raft as a consensus and leader selection algorithm to maintain a leader that is in charge of keeping the ensemble of etcd nodes in sync with data changes within the etcd cluster. Among other things, this allows etcd to…
Josh
  • 11,979
  • 17
  • 60
  • 96
4
votes
4 answers

Errors when using etcdctl on Kubernetes cluster: "certificates signed by unknown authority"

I have minikube running and I am trying to list the keys on my ETCD. I downloaded the latest etcdctl client from github: https://github.com/etcd-io/etcd/releases/download/v3.3.18/etcd-v3.3.18-linux-amd64.tar.gz I tried to run it with the…
E235
  • 11,560
  • 24
  • 91
  • 141
4
votes
1 answer

how to handle etcdserver: unhealthy cluster

When I add node in master of etcd cluster using this command: curl http://127.0.0.1:2379/v3beta/members \ -XPOST -H "Content-Type: application/json" \ -d '{"peerURLs": ["http://172.19.104.230:2380"]}' It shows {"error":"etcdserver: unhealthy…
Dolphin
  • 29,069
  • 61
  • 260
  • 539
4
votes
2 answers

How can I restore etcd cluster from snapshot in docker image on CoreOS?

I have a Kubernetes cluster (v1.5.6) with 3 nodes etcd cluster (etcd version 3.1.5) on vmware. This etcd nodes are running in three docker containers(on three hosts) on coreos on vmware. I try to backup etcd with the following solution: docker run…
almi
  • 43
  • 1
  • 5
4
votes
2 answers

Installing devtsack using ./stack.sh fails at devstack@etcd.service

I'm trying to run devstack on Ubuntu 16.04 VM using ./stack.sh +lib/etcd3:start_etcd3:61 sudo systemctl daemon-reload +lib/etcd3:start_etcd3:62 sudo systemctl enable devstack@etcd.service Created symlink from…
Suren Konathala
  • 3,497
  • 5
  • 43
  • 73
4
votes
1 answer

How fix this error "watch chan error: etcdserver: mvcc: required revision has been compacted"?

I have a kubernetes cluster with two nodes, and two nodes for etcd,also I am using authentication for my kubernetes. When I run this command: kubectl get cs I get this output: NAME STATUS MESSAGE …
Ladan Nekuii
  • 185
  • 1
  • 6
  • 18
4
votes
3 answers

Docker Swarm with etcd

If Docker in the Swarm mode has a built-in discovery system, what is the advantage of running Swarm mode using another service discovery like etcd ?
4m1nh4j1
  • 4,289
  • 16
  • 62
  • 104
4
votes
1 answer

How do Kubernetes modules communicate with etcd?

I know that Kubernetes has 5 modules: kube-apiserver, kube-controller-manager, kube-scheduler in Master nodes and kubelet, kube-proxy in Minion nodes. How do they communicate with etcd? Will they all query or set data in etcd? or only some of them…
hsluoyz
  • 2,739
  • 5
  • 35
  • 59
4
votes
2 answers

etcd error when trying to start service rejected send message

I am using ubuntu 14.04 and Im configuring etcd for use with calico, but the service does not work. This is my etcd.conf file: # vim:set ft=upstart ts=2 et: description "etcd" author "etcd maintainers" start on stopped rc RUNLEVEL=[2345] stop on…
Asier Gomez
  • 6,034
  • 18
  • 52
  • 105