Questions tagged [etcd]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
48 views

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/
-2
votes
1answer
71 views

etcd: Max Storage Size Update [closed]

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 ...
0
votes
1answer
235 views

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 ...
1
vote
2answers
1k views

Kubernetes OCI runtime exec failed - starting container process caused “exec: \”etcdctl\“: executable file not found in $PATH”: unknown

Background Created a fresh Kubernetes cluster using kubeadm init --config /home/kube/kubeadmn-config.yaml --upload-certs and then joining the 2nd control plane node by running the below. kubeadm join ...
0
votes
1answer
45 views

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 ...
0
votes
2answers
61 views

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 ...
0
votes
0answers
107 views

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 ...
1
vote
2answers
1k views

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 ...
0
votes
0answers
19 views

Best way to bootstrap 5 etcd docker containers on a single VM

I need to bootstrap 5 etcd containers onto a single node (temporary measure, eventually they'll have their own nodes). I'm not sure of the best way to go about it, I've tried many ways, with no ...
0
votes
0answers
26 views

Update kube-apiserver static pod after etcd member removal

I have created a 3 master 3 worker cluster with kubeadm along with etcd cluster as system services running on master nodes.Configured etcd clusters as external endpoints and they are running on the ...
0
votes
1answer
923 views

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 ...
0
votes
0answers
128 views

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": [""], "...
1
vote
1answer
574 views

TLS handshake issues with etcd

We are using external etcd cluster for k8s cluster. We connected master to this etcd server but receive "tls: first record does not look like a TLS handshake" How to fix this issues? (for ...
0
votes
0answers
139 views

Etcd okd 3.11 error

Hello I have problem with OKD (3.11) which is installing over ansible. Installing process ended good. But I have problem with etcd. ETCD return error E0721 18:43:54.226873 1 watcher.go:208] ...
0
votes
2answers
649 views

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 ...
2
votes
1answer
49 views

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-...
0
votes
1answer
228 views

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 ...
1
vote
2answers
201 views

Own etcd cluster for Kubernetes

I want to build my own Kubernetes cluster across two locations (300 km distance) and integrate it into GitLab. Let me list my ideas. My question is if I have a mistake in my thinking somewhere and ...
0
votes
1answer
385 views

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 ...
0
votes
1answer
352 views

kube-calico bird: Mesh_172_26_178_195: Socket error: bind: Address not available

Issue appears when kube-calico service on node trying to connect master: Dec 17 12:03:41 a docker[27052]: bird: Mesh_47_105_189_58: Socket error: bind: Address not available Dec 17 12:03:41 a docker[...
2
votes
1answer
2k views

missing '=' etcd when defining service file

I'm struggling while following Kelsey Hightower's "Kubernetes the Hard Way" tutorial. I've gone off script, because I'm trying to bootstrap k8s on a local server. I've got the point where I'm ...
0
votes
1answer
190 views

Is there a way to determine to which etcd server the Kubernetes-apiserver is communicating with?

In the following scenario, is there a way to determine to which etcd server the Kubernetes-apiserver is communicating with?? Let's say we have 3 Master nodes with an external load balancer and 3 etcd'...
0
votes
1answer
165 views

Does etcd resources are encrypted on gke master nodes?

I do not find any information on etcd database managed by google on kubernetes master nodes. I see how resources (pod/nodes/...) communicates, but I don't know if the data are encrypted before being ...
0
votes
1answer
338 views

etcd on GCE-load balancing and health checks

I'm trying to set up a secure etcd cluster on CoreOS on top of GCE. I want to distribute load between several etcd nodes with some kind of load balancing. I want a load balancer that would have an ...
2
votes
1answer
465 views

CoreOS 1353.4.0 - How should I configure Ignition for an etcd cluster member with dynamic discovery?

Using CoreOS 1353.4.0, on DigitalOcean, how should I write an Ignition config for a machine that is to join an etcd cluster with dynamic discovery? I've written the following Ignition config (...
2
votes
0answers
338 views

Weighting an etcd instance to have two quorum votes

For obvious reasons, best practice in building clusters that require distributed consensus is to use 3, 5, or another node count that has a tiebreaker in place. Sometimes, however, one has two ...
13
votes
1answer
2k views

Graceful shutdown of Kubernetes cluster

We have a 4 node Kubernetes cluster, installed using Juju 2.0 and the official canonical Kubernetes charm. The sole purpose of this very local and private installation is development and testing. One ...
1
vote
0answers
668 views

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 ...
1
vote
2answers
768 views

“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 ...
5
votes
1answer
2k views

Why would using MongoDB in lieu of etcd as a key value store be a good or bad idea? [closed]

I'd like to get general thoughts from the community as to why MongoDB for key/value would OR would not be a suitable replacement for etcd or other purpose-built key/value store system (consol, ...
2
votes
1answer
896 views

problems configuring etcd2 for TLS

I have at home two CoreOS stable v1122.2.0 machines. both of them are registered at discovery.etcd.io properly. (i see both of them registered at https://ip:2380 when i browse to the discovery url). ...
0
votes
1answer
2k views

kubelet not able to update node status

kubernetes node status reports as below. root@csp-nso-server78:~# kubectl get nodes 10.213.5.78 NAME STATUS AGE 10.213.5.78 NotReady 1h The kubelet logs show below error E0812 11:...
1
vote
1answer
214 views

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. ...
0
votes
1answer
197 views

etcd & kubernetes: No connection possible to etcd instance

currently I am following the k8s guide "from scratch" (found here: LINK, up to this point everything seems pretty clear, though I start without doing all that certificate stuff. I started kubelet on ...
0
votes
1answer
701 views

OpenShift Origin asks for credentials

I had a cluster OpenShift with a master and a node. Today, it doesn't work anymore, OpenShift continously asks me the credentials, the following is the command and the output: [root@openshift-master ~...
2
votes
1answer
95 views

Why doesn't CoreOS start etcd2 automatically, even though my cloud-config says so?

I am running CoreOS beta 991.1.0 on a Google Compute Engine instance, where cloud-config is configured via the user_data metadata variable. My cloud-config looks like this: #cloud-config write_files: ...
1
vote
1answer
431 views

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 ...
1
vote
2answers
292 views

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 ...
0
votes
2answers
2k views

etcd2 will not start via systemctl on CoreOS

Really hoping somebody can help me out here. I had a CoreOS etcd2 member's disk fill up. After a reboot etcd2 was in a bad way. Ultimately I removed the /var/lib/etcd2/member data directory and went ...
1
vote
1answer
44 views

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 ...
1
vote
1answer
958 views

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: ...
3
votes
0answers
256 views

etcd cluster setup with chef - determining initial-cluster-state

I am writing chef scripts to setup an etcd cluster. The list of nodes (including their IPs) will be hardcoded in the chef script (as an attribute) and it will pass them to etcd using static ...
0
votes
2answers
1k views

CoreOS: Inject a real private IP in etcd2 cloud-config

I have three networks on Rackspace: Public network Service network 10.181.XXX.XXX (they call it a private network sometimes but it is not private per-se, it is datacenter-wide private so their ...
1
vote
3answers
1k views

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=...
2
votes
1answer
431 views

Docker container can't communicate with etcd

I created 3 coreos machines at digitalocean using this cloud-config.yml: https://gist.github.com/socketwiz/d6fe23d19180a1ad8b5a where token was replaced with the one I retrieved from: $ curl -w "\n" ...
1
vote
1answer
265 views

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 ...
1
vote
0answers
89 views

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, ...
2
votes
1answer
2k views

etcd2 fails on my CoreOS with my very simple setup

I want to setup a 3 nodes cluster running my own discovery service and I am following this simple guide for static discovery. I know my 3 machines IP addresses and here is when I try to start etcd2 on ...
3
votes
2answers
4k views

etcd2 fails to start on my CoreOS node

I am trying to start etcd2 in my CoreOS node. I have this in my cloud-config: coreos: etcd2: discovery: https://discovery.etcd.io/new?size=1 advertise-client-urls: http://127.0.0.1:2379,...
3
votes
1answer
1k views

PostgreSQL failover with Kubernetes

I've got master slave replication working with Kubernetes, but would now like to implement failover. I have pods running with the service=postgresql and role=master or role=slave roles. When the ...