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.

426 questions
4
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
  • 2,613
  • 3
  • 15
  • 50
4
votes
2 answers

In a Kubernetes cluster, is there a way to migrate etcd from external to internal?

I made a Kubernetes cluster one year ago with an external etcd cluster (3 members). A the time, I did not know that it was possible to make an etcd internal, so I made an external cluster and connected Kubernetes to it. Now I am seeing that an…
Nurza
  • 91
  • 9
4
votes
1 answer

Where does ConfigMap data gets stored?

I created ConfigMap using kubectl and I can also see it using: kubectl get cm I am just curious where kubernetes stores this data/information within the cluster? Does it store in etc? How do I view it, if it stored in etcd? Does it store in any…
Ramesh
  • 133
  • 2
  • 5
4
votes
2 answers

How to backup etcd on a Kubernetes cluster created with kubeadm - rpc error: code = 13

I have a K8s cluster created with kubeadm that consists of a master node and two workers. I am following this documentation article regarding the etcd backup:…
codependent
  • 18,032
  • 17
  • 110
  • 225
4
votes
1 answer

What is Kubernetes HA cluster failure behaviour in split-brain scenarios between racks?

I am interested in the behaviour of multi-master Kubernetes in the event of different types of failure, particularly if the masters are on different racks. Scenario: 2 racks, R1, R2. API Masters: M1 on R1, M2 on R2. Worker nodes: W1 on R1, W2…
John
  • 7,605
  • 10
  • 46
  • 108
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
  • 175
  • 1
  • 4
  • 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
  • 3,658
  • 12
  • 55
  • 88
4
votes
5 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
  • 89
  • 1
  • 8
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…
Yang Luo
  • 2,049
  • 2
  • 26
  • 50
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
  • 4,779
  • 15
  • 42
  • 92
4
votes
1 answer

Kubernetes deployment on local Ubuntu cluster

I'm simply trying to install Kubernetes on local Ubuntu cluster using the original documentation.(http://kubernetes.io/docs/getting-started-guides/ubuntu/). The problem is that when i try the kube-up, after creating the binaries, i get the following…
4
votes
1 answer

Etcd cluster setup failure

I am trying to setup 3 node etcd cluster on Ubuntu machines as docker data store for networking. I successfully created etcd cluster using etcd docker image. Now when I am trying to replicate it, the steps fail on one node. Even after removing the…
pmann
  • 499
  • 1
  • 7
  • 13
4
votes
1 answer

Can Pod/Service still work if kube-master or etcd service down?

If kube-master or etcd service down in my kubernetes cluster, can my Pod/Service still work? Also, if the network is still work?
X.G
  • 75
  • 2
4
votes
0 answers

etcd - Is it possible to setup pubsub using etcd?

I would like to setup etcd / redis to store configuration params, applicable to all the docker containers (right now, only within a single host). Would very much also need pub/sub mechanism - so that issuing certain commands is easy (like 'do git…
rsmoorthy
  • 2,152
  • 22
  • 25
4
votes
1 answer

CoreOS, Fleet and Etcd2 fault tolerance

I have a 23 node cluster running CoreOS Stable 681.2.0 on AWS across 4 availability zones. All nodes are running etcd2 and flannel. Of the 23 nodes, 8 are dedicated etcd2 nodes, the rest are specifically designated as etcd2 proxies. Scheduled to the…
1 2
3
28 29