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
8
votes
1 answer

ETCD Cluster getting rpc error: code = DeadlineExceeded desc = context deadline exceeded

just looking for some clarification here I have a 2 node etcd cluster: master01=http://10.1.1.21:2379,master02=http://10.1.1.22:2379 all running fine. If I login to master01 and do the following: etcdctl --cluster=true endpoint health i get a…
tinashe.chipomho
  • 387
  • 2
  • 8
  • 17
8
votes
1 answer

minikube : not able to connect a locally deployed nginx service

I have installed minikube on my ubuntu 16.04 machine and have started a cluster, with a message "Kubernetes is available at https://192.168.99.100:443" Next, I deployed nginx service with the following command > kubectl.sh run my-nginx…
soupybionics
  • 4,200
  • 6
  • 31
  • 43
8
votes
1 answer

Flannel and docker don't start

I'm trying to set up a kubernetes cluster on 2 nodes , centos 7.1 using this guide. However when I attempt to start the services on the minion like so: for SERVICES in kube-proxy kubelet docker flanneld; do systemctl restart $SERVICES …
Jonathan
  • 10,792
  • 5
  • 65
  • 85
8
votes
3 answers

How to run an etcd cluster among pod replicas?

I have a pod/service running an application that consumes etcd as a synchronization system and datastore. I want to run etcd within the pod, such that all of the replicas form a coherent cluster. In other words, so the application in replica #1 can…
bk0
  • 1,300
  • 10
  • 12
8
votes
1 answer

Unable to discover docker containers

I am following this tutorial for service discovery http://jasonwilder.com/blog/2014/07/15/docker-service-discovery Briefly: I created an etcd host running at x.y.z.d:4001 docker run -d --name etcd -p 4001:4001 -p 7001:7001 coreos/etcd Created a…
user_mda
  • 18,148
  • 27
  • 82
  • 145
7
votes
1 answer

Minikube : remote error tls: bad certificate

I'm following a Kubernetes tutorial, and cannot run first command (minikube start --vm-driver=hyperkit). I'm using a MacBook Pro Intel on macOs Monterey. I cannot make it work because of TLS error. $ minikube start --vm-driver=hyperkit minikube…
Jean
  • 1,707
  • 3
  • 24
  • 43
7
votes
2 answers

How is ETCD a highly available system, even though it uses Raft which is a CP algorithm?

This is from Kubernetes documentation: Consistent and highly-available key value store used as Kubernetes' backing store for all cluster data. Does Kubernetes have a separate mechanism internally to make ETCD more available? or does ETCD use,…
7
votes
0 answers

Performance difference in Redis vs etcdv3

I was going through benchmark documentation page of Redis and Etcd. From the benchmark data it seems Etcd is as efficient as…
Rahul
  • 326
  • 2
  • 10
7
votes
2 answers

Master can't connect to cluster

After a cluster upgrade, one of three masters can't connect back to the cluster. I have a HA cluster running in us-east-1a, us-east-1b and us-east-1c, my master that is running in us-east-1a can't join back to the cluster. I tried to scale down the…
7
votes
2 answers

Why do I need to put ETCDCTL_API=3 in front of etcdctl for etcdctl snapshot save to work?

I did a customized installation of Kubernetes the hardway and installed it successfully on a 2 node cluster in Hyper V (1 master 1 worker), everything works, but there's this thing that makes me scratch my head and I was wondering if anyone could…
neoakris
  • 4,217
  • 1
  • 30
  • 32
7
votes
1 answer

duplicate key given in txn request while trying to remove all keys by prefix and put them again

Trying to use coreos/jetcd for updating haproxy settings in etcd from Java-code. What I want to achieve is: remove all endpoints for single host add an updated data for given host I want to remove all keys by prefix and put actual data in etcd as…
Kirill
  • 6,762
  • 4
  • 51
  • 81
7
votes
6 answers

etcd cluster id mistmatch

Hey I have a cluster id mismatch for some reason, i had it on 1 node then disapperead after clearing data dir few times , changing cluster token and node names, but apperead on another here is the script i…
davidear
  • 129
  • 1
  • 1
  • 9
6
votes
2 answers

Is the information stored inside GKE "etcd" encrypted?

I am using GKE(Google Kubernetes Engine) 1.13.6-gke.6 and I need to provide etcd encryption evidence for PCI purposes. I have used --data-encryption-key flag and used a KMS key to encrypt secrets following this documentation. I need to give a set of…
Amit Yadav
  • 4,422
  • 5
  • 34
  • 79
6
votes
1 answer

etcd ETCD_ADVERTISE_CLIENT_URLS flag

I don't understand what the ETCD_ADVERTISE_CLIENT_URLS flag does despite reading the documentation: https://coreos.com/etcd/docs/latest/op-guide/configuration.html The description states: List of this member's client URLs to advertise to the rest of…
MarMan29
  • 719
  • 9
  • 22
6
votes
1 answer

Running etcd in Docker container

I want to run etcd in a Docker container with this command: docker run -p 2379:2379 -p 4001:4001 --name etcd -v /usr/share/ca-certificates/:/etc/ssl/certs quay.io/coreos/etcd:v2.3.0-alpha.1 and seems that everything is ok: 2016-02-23…
Héctor
  • 24,444
  • 35
  • 132
  • 243
1
2
3
36 37