Questions tagged [etcd]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
81 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
24 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
0answers
16 views

Change auto-compaction settings of an existing Etcd cluster

I'm trying to enable auto-compaction and increase quota for an existing Etcd cluster. Simply adding options to the command line (--quota-backend-bytes 8589934592 --auto-compaction-retention=1)and ...
0
votes
1answer
105 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
144 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
176 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
157 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[...
0
votes
0answers
78 views

Restore snapshot of dockerized Etcd with standalone etcdctl binary

I run an Etcd cluster in Docker containers. When I try to restore a backup using etcdctl, I get error messages like these: # ETCDCTL_API=3 etcdctl snapshot restore snapshot.db --name etcd01 --initial-...
2
votes
1answer
926 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
107 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
156 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
0answers
1k views

etcd service failed to start (put with unexpected smaller revision)

Introduction After a recent power outage, the etcd service on a RHEL7 server fails to start. Details Here's the output of journalctl which is relevant to this error: -- Subject: Unit etcd.service ...
0
votes
1answer
320 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
456 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
292 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
579 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
621 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
831 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
176 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
177 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
553 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
92 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
408 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
291 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
43 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
942 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
250 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
930 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
412 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
259 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
83 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
1k 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 ...
1
vote
3answers
691 views

Recover from failed etcd2 / CoreOS cluster

I've got a cluster of 3 CoreOS machines running on Azure. I rebooted two at the same time and the cluster failed as expected. I need to replace the discovery token, cloud-config is read on every ...
2
votes
1answer
243 views

Resizing Digital Ocean Droplets that use CoreOS break the CoreOs Cluster

I'm new to CoreOs and I have been experimenting with it on DigitalOcean. Let me start out by saying, I'm not sure if this is a DigitalOcean issue or CoreOS issue. How to replicate: Spin up 2 CoreOS ...
0
votes
1answer
58 views

on etcd node, where can I find standby mode indicator?

In 0.4 branch, how can I determine, that node is in standby mode? I can tell if it is follower/leader by using /v2/stats/self API call, but no standby info in there. https://coreos.com/blog/etcd-0.4....
1
vote
1answer
3k views

Removing a stale CoreOS node from discovery.etcd.io

I removed a node from a CoreOS cluster and brought up a fresh one in its place. Unfortunately, it picked up the same IP as the old machine. This stopped etcd from discovering the rest of the cluster, ...