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.

74 questions
0
votes
0 answers

how install and run haproxy postgres and patroni under docker

I'm trying to run haproxy on a docker, but it doesn't work. 1-I create haproxy.cfg under /etc/haproxy/haproxy.cfg: global log 127.0.0.1 local2 chroot /var/lib/haproxy pidfile /var/run/haproxy.pid user haproxy group …
ksalhi
  • 1
  • 1
0
votes
0 answers

How to fix etcd within a kuberentes cluster?

I have a bare-metal (kubeadm) kubernetes cluster that's really unstable, and I traced it back to an etcd issue. From the etcd pod's description I get: Image: k8s.gcr.io/etcd:3.4.13-0 Liveness: ... #success=1 #failure=8 Startup: ... #success=1…
Antoine
  • 281
  • 3
  • 8
0
votes
1 answer

Kubernetes: kubeadm join fails in private network

I'm trying to set up a HA Kubernetes cluster on Hetzner Cloud following this guide. I've created 6 servers, 3 control plane hosts and 3 workers. When trying to use kubeadm to join the second server to the cluster I get the following errors: On…
mway-niels
  • 11
  • 1
  • 3
0
votes
1 answer

Centos 7, HA postgresql12, patroni with etcd v3.4

I followed this document but dont know how to enable v2 so that patroni can work with, can anyone help? https://computingforgeeks.com/setup-etcd-cluster-on-centos-debian-ubuntu/
0
votes
1 answer

ETCD database cluster certificate renewal for Kubernets external database setup

I have deployed 3 node external ETCD database (etcdctl version: 3.4.7) cluster for my Kubernetes v1.18.6 cluster using etcdadm tool. my certificate is expring in couple of months. I believe kubeadm alpha certs renew all command will renew kubernetes…
sfgroups
  • 193
  • 3
  • 13
0
votes
1 answer

Kubernetes API: Compare and update config map key

Etcd has a concept of Atomic Compare-and-Update by comparing the key's value before executing an update. I'd like to use this feature for updating a ConfigMap in my Kubernetes cluster. I'd like to update the config map only if the existing config…
xpepermint
  • 267
  • 3
  • 9
0
votes
2 answers

Upgrade multi etcd cluster running inside docker container

Currently my k8s cluster is on v1.16.x and I want to upgrade it to v1.17.x for which ETCD has to be upgraded to 3.4 (currently 3.3). My setup is bit complex as I'm running ETCD outside the master nodes and it's a 3 node etcd cluster running as…
jagatjyoti
  • 101
  • 2
0
votes
0 answers

Kubernetes etcd panic: store.keyindex: put with unexpected smaller revision

After an ungraceful shutdown of our Kubernetes cluster, the API server didn't start working. After some investigation, I found the following errors in each etcd member on each node. How can I recover the cluster? Master1 2021-01-12 13:34:54.273559 I…
Ahmad Ahmadi
  • 101
  • 3
0
votes
1 answer

Error response from daemon: {“message”:“No such container: kubelet”}

When adding a new node to a Kubernetes cluster I end up with this error : + docker start kubelet Error response from daemon: {"message":"No such container: kubelet"} Error: failed to start containers: kubelet + sleep 2 This error occurs on a…
TheoV
  • 1
  • 1
0
votes
0 answers

ETCD client connection to etcd servers from k8s api server issue

We expect the following issue with etcd cluster. We generated certificate with the following configuration: { "CN": "client", "hosts": [""], "key": { "algo": "ecdsa", "size": 256 }, "names": [ { …
0
votes
2 answers

How to recover from master failure in kubernetes

I have three nodes multi-master kubernetes(1.17.3) cluster(Stacked control plane and etcd nodes), 11.11.11.1 - master1 11.11.11.2 - master2 11.11.11.3 - master3 So before going to productions, I am trying possible failures and did below…
ImranRazaKhan
  • 115
  • 2
  • 13
0
votes
1 answer

Include own/external etcd cluster in kubeadm init

I have a running etcd cluster with five members (Own etcd cluster for Kubernetes). How can I include this in the kubeadm init command? My idea is that I generate the configuration, edit it manually and then run it. In theory, these are two commands,…
uav
  • 494
  • 3
  • 16
0
votes
1 answer

Installing kubernetes with external etcd - calico problems

I faced multiple problems during installation of k8s multimaster cluster with external etcd. I did it before twice, on other sites, successfully, but this time I need help. calico was installed from the recommended in guide yaml:…
Paul K.
  • 125
  • 1
  • 1
  • 9
-2
votes
1 answer

etcd: Max Storage Size Update

Can anyone confirm whether the improvements mentioned How Does Alibaba Ensure the Performance of System Components in a 10,000-node Kubernetes Cluster? have actually been included in etcd 3.4.0? Docs still say the recommended limit is 8GB. Article…
Rob
  • 1
  • 3
1 2 3 4
5