Questions tagged [etcd]

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

1
vote
0answers
45 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
26 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
106 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
484 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
0answers
193 views

etcdctl 3: check if a key exists

For now, in my bash scripts, to test if an etcd key does not exists, I check if the length of the etcdctl get response is zero: [[ -z $(ETCDCTL_API=3 etcdctl --endpoints=http://localhost:2379 get --...
0
votes
1answer
236 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 ...
0
votes
0answers
3k views

etcd: web ui / dashboard and other modules

I am using etcd2 on latest stable (1409.7.0) CoreOS. I read in git history that until etcd 0.4 there was a modules directory with interesting stuff but that got deprecated. Is there any estimate when ...
2
votes
1answer
427 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
248 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
1k 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
477 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
520 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 ...
3
votes
1answer
1k 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
717 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
1k 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
156 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
156 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
432 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
89 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
375 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
290 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
42 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
878 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
217 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
696 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
388 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
245 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
79 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
687 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
239 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
47 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, ...