Questions tagged [etcd3]

58 questions
0
votes
1 answer

ETCD Snapshot restore + DNS discovery issue

I'm trying to restore a 5 node ETCD cluster(using DNS discovery) on Amazon ECS from a snapshot, but whats happening is that each node is starting up as a single-node cluster, and the nodes aren't adding each other as members. The start script inside…
pragman
  • 1,564
  • 16
  • 19
0
votes
1 answer

How to use etcd3 nodejs client for differnt port than standard?

I am using https://github.com/microsoft/etcd3 for etcd3 NodeJS client, but it is by default taking default port 2379 or 2380 for gRPC. But I am running multiple etcd docker container instances. How to create multiple clients based on multiple…
code veda
  • 87
  • 1
  • 6
0
votes
0 answers

python etcd3 raising grpc._channel._InactiveRpcError

I'm using the this module [1]: https://github.com/kragniz/python-etcd3 to communicate with etcdv3. I have created all the necessary certs and tested client secure connection with curl. However atempting a simple get operation fails. Code snippet and…
dcrearer
  • 1,972
  • 4
  • 24
  • 48
0
votes
1 answer

grcp failure while posting in etcd via spring boot

I'm running a simple etcd connection with springbok example. I keep getting an error w.r.t grcp in both my spring boot logs and server logs. How can I fix this? @Scheduled(fixedRate = 5000) public void test() throws EtcdException,…
user3310115
  • 1,372
  • 2
  • 18
  • 48
0
votes
1 answer

etcdadm init with 3.4.7 version, command fails with unknown flag

I am using etcdadm command to create the etcd cluster, init fails with --version unkown flag. How to create etcd cluster with latest etcd version? # ./etcdadm --version "3.4.7" init INFO[0000] [install] extracting etcd archive…
sfgroups
  • 18,151
  • 28
  • 132
  • 204
0
votes
1 answer

Service loses connection to Etcd DB when pod restarts

I have a Go Lang REST service and ETCD DB in one container, deployed in kubernetes cluster using Deployment type. Whenever I try to restart the service pod, the service loses connectivity to ETCD, I have tried using stateful sets instead of…
0
votes
0 answers

etcd 3rd pod not getting scheduled on master node due to peers expecting old cert

needed hint to resolve etcd cert issue on two etcd server pods I have 2(3) etcd server pods and these are reporting for 3rd pod that x.509 cert is valid for etc.test1.com and not for etc.test2.com so, my assumption is, issue is etcd server pod 2 & 3…
user10724620
0
votes
1 answer

Is there a way to determine to which etcd host the kubernetes apiserver is talking to?

Only apiserver talks directly to etcd. In the etcd cluster there are many hosts. I would like to see to which etcd host the apiserver is talking to. This may be different for each api resource like Pod or Node. I prefer to see etcd host information…
Hakan Baba
  • 1,897
  • 4
  • 21
  • 37
0
votes
1 answer

Writing to all members in etcd v3 benchmark

The following is what is used to benchmark "write to all members". # write to all members benchmark --endpoints=${HOST_1},${HOST_2},${HOST_3} --conns=100 --clients=1000 put --key-size=8 --sequential-keys --total=100000 --val-size=256 My…
foo
  • 166
  • 9
0
votes
1 answer

how to perform a protobuf deserialization in etcd v3 with kubernetes 1.6?

In kubernetes 1.6,the information store in etcd v3,I use "etcdctl get" command to get the information as follow: my question is how to deserialize the information?how to deserialize the information by "protoc --raw" command?I read the paper on a…
Jay
  • 113
  • 8
0
votes
1 answer

Retrieving endpoints from kubernetes-etcd for haproxy

I trying to retrieve kubernetes endpoints from my kubernetes-etcd-cluster for haproxy using confd. When executing confd it always returns an error, that key '/registry' cant be found: $ ./confd-0.12.0-linux-amd64 -config-file confd.toml ... INFO…
Volker S.
  • 1
  • 2
0
votes
1 answer

How do I add a default value to a key in etcd3 if one does not already exist?

In etcd2, I could populate a default value as follows: curl -Ss -XPUT "${ETCDCTL_PEERS}/v2/keys/mykey?prevExist=false" -d value=defaultValue How can I achieve the same logic with etcdv3?
J0hnG4lt
  • 4,337
  • 5
  • 24
  • 40
0
votes
1 answer

migrating ContainerOS (CoreOS) alpha from etcd2 to etcd3

I have Container Linux by CoreOS 1353.1.0 installed and it uses etcd2 by default. I can't even find an etcd3 service file (systemctl | grep etcd only shows etcd2.service). I wanna play with etcd3. especially because it's the default storage backend…
ufk
  • 30,912
  • 70
  • 235
  • 386
1 2 3
4