Questions tagged [etcd]

A highly-available key value store for shared configuration and service discovery

etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines. It’s open-source and available on GitHub. etcd gracefully handles master elections during network partitions and will tolerate machine failure, including the master.

Your applications can read and write data into etcd. A simple use-case is to store database connection details or feature flags in etcd as key value pairs. These values can be watched, allowing your app to reconfigure itself when they change.

Advanced uses take advantage of the consistency guarantees to implement database master elections or do distributed locking across a cluster of workers.

76 questions
2
votes
0 answers

Kubernetes on Flatcar Linux will not start up kube API server after a reboot of the master node

Thank you for reading and taking your time to review this problem. I have a problem using my Kubernetes cluster. It is running Flatcar Linux, made by Kinvolk, recently acquired by Microsoft. I have setup the cluster using their Lokomotive (lokoctl)…
jonasclaes
  • 101
  • 7
2
votes
0 answers

Kubernetes V1.19.13 - kubeapi servers not able connecting to different etcd database

I have upgraded Kubernets cluster ( 3 master, 3 etcd servers database) from 1.18 to v1.19.13 and ETCD to 3.4.13. since than API servers are not stable, keep switching different etcd server, because of this cluster is not working properly. these…
sfgroups
  • 243
  • 2
  • 4
  • 14
2
votes
1 answer

How can we modify the heartbeat synchronization time of the etcd cluster on Kubernetes

I want to modify heartbeat-interval of embedded etcd cluster running on kubernetes, I know while installation we can do with kubeadm extraargs but how to do in running cluster? Before modifying I want to know current values too. EDIT1: To get…
ImranRazaKhan
  • 150
  • 3
  • 15
2
votes
2 answers

Kubernetes - kubeadm join - Connection refused after new control plane joined

Issue I am trying to join a second control-plane node to a K8S cluster. The first node has a IP of 10.1.50.4 where the second node has a IP of 10.1.50.5. There is a load balancer Virtual IP for the control-plane nodes of 10.1.50.250. K8S Version:…
Pie
  • 301
  • 1
  • 6
  • 17
2
votes
1 answer

Why do kubernetes kube-api server need etcd-keyfile and kubelet-client-key

As I understand kube-api server acts as a client when communicating with ETCD and Kubelet. Both ETCD and Kubelet act as servers for kube-api. With secure environment (two way SSL authentication), kube-api server needs the ETCD and Kubelet…
srinu259
  • 123
  • 3
1
vote
0 answers

Etcd: machines can't connect to cluster

I reconfigurated my etcd cluster for working with certificates and now when i trying to start i'm getting First machine: Nov 05 16:24:43 Dm3Ch-Server-Node1 etcd[13999]: 21b9ef35413b514 received vote from 21b9ef35413b514 at term 493 Nov 05 16:24:43…
Dm3Ch
  • 111
  • 1
1
vote
2 answers

"EtcdException: Could not get the list of servers" while running calico rkt container on coreos

I have two coreos stable v1122.2.0 machines, each one with etcd2 configured with tls. I created the certificates using https://github.com/coreos/etcd/tree/master/hack/tls-setup. now I'm trying to configure calico-node to operate on my coreos master…
ufk
  • 333
  • 3
  • 8
  • 31
1
vote
1 answer

Multiple Core-OS clusters with a single etcd cluster?

Is it possible to create different core os clusters all linked up to 1 etcd cluster ? If yes, how ? I have a scenario where I need to create multiple clusters but I want to keep one etcd cluster. Currently I end up having all instances in the same…
Hazim
  • 113
  • 7
1
vote
1 answer

SSH fails on CoreOS when substituting etcd cloud-config variables

I have a minimal cloud-config that works without problems on DigitalOcean. I added some hardening for SSH, which requires restarting sshd.socket to become effective: units: - name: sshd.socket command: restart Adding this unit alone (no…
Rolf W.
  • 111
  • 2
1
vote
2 answers

Does a CoreOS member need to have a public ip to join an etcd2 cluster?

I am starting 5 coreos EC2 members all in a private subnet. Then assign one elastic ip to one of the members. It seems that only that one with an ip assigned can join the etcd2 cluster, and is perpetually waiting for the other 4. here is my…
theRemix
  • 111
  • 3
1
vote
1 answer

Issuing a single command from a cluster of servers?

I have a cluster of servers that will be running a simple ruok command with fallover. The command will be something simple like curl -X POST http://foo.com/status. Due to the fact that I will have anywhere from 3 to 300 nodes in this pool, I want to…
ehime
  • 597
  • 2
  • 7
  • 15
1
vote
1 answer

ETCD fails to start, running CoreOS on AWS,EC2

I use ami-05ffb06f, t2.micro EC2 instance. I use cloud-config to start etcd, but it fails to start Error: client: etcd cluster is unavailable or misconfigured error #0: dial tcp 127.0.0.1:4001: connection refused error #1: dial tcp…
1
vote
3 answers

Kubernetes, flannel and exposing services

I have a kubernetes setup running nicely, but I can't seem to expose services externally. I'm thinking my networking is not set up correctly: kubernetes services addresses: --service-cluster-ip-range=172.16.0.1/16 flannel network config: etcdctl…
jaxxstorm
  • 606
  • 6
  • 10
1
vote
1 answer

Kubernetes service etcd références

If someone with quite good kubernetes's services understanding could confirm me that once you require a new service to be created kubernetes push a reference of it on the etcd database and what is the URL to request it would be wonderful!!!
Dr I
  • 955
  • 17
  • 33
1
vote
0 answers

Configure cloud-config using Azure Powershell 1.0

I have spent some significant time getting an Azure PS script starting up a few CoreOS instances. I have everything working except I have no clue how to get the cloud-config added. Using the CLI, you can do something like: azure vm create…
Dave
  • 123
  • 1
  • 3