Questions tagged [etcd3]
58 questions
2
votes
2 answers
etcdctl: command not found
Hi I am using etcd version as follows
{"etcdserver":"3.2.7","etcdcluster":"3.2.0"}
I need to get the version history of the key but for me only curl command are working if I do
etcdctl get --prefix --rev=4 foo
I get:
-bash: etcdctl: command not…

user3649361
- 944
- 4
- 20
- 40
2
votes
0 answers
How do I create a EtcdCluster in Kubernetes
Etcd-operator (v0.5.1) examples have files with kind: "EtcdCluster".
apiVersion: "etcd.database.coreos.com/v1beta2"
kind: "EtcdCluster"
metadata:
name: "example-etcd-cluster-with-backup"
spec:
size: 3
version: "3.1.8"
backup:
# short…

akauppi
- 17,018
- 15
- 95
- 120
2
votes
1 answer
how to use etcd in service discovery?
I am beginner for etcd
my purpose is the follow
1.service register itself after service start
2.client find service and invoke service
the follow code show test how to find service and invoke it
func ClientTestService() {
cli, err :=…

tfzxyinhao
- 334
- 5
- 19
2
votes
1 answer
Error while running etcd v3 on Docker
When I try to run etcd (version 3.0.0) on Docker:
sudo docker run -d -v /usr/share/ca-certificates/:/etc/ssl/certs -p 4001:4001 -p 2380:2380 -p 2379:2379 \
--name etcd quay.io/coreos/etcd:v3.0.0 \
-name etcd0 \
-advertise-client-urls…

Roman Cherepanov
- 1,639
- 2
- 24
- 44
1
vote
1 answer
Best practice for "Watch key changes" in etcd v3
we want to use etcd with the "watch" function to change our "/etc/hosts" file.
A node should change the value and the watch should then write the change in "/etc/hosts".
Node1 Input:
etcdctl put master-server "192.168.10.1…

Silas Schmidt
- 21
- 3
1
vote
0 answers
ETCD warning The server needs to initialize the root user
I have a simple etcd server running and I am using this github project called etcd-keeper to visualize the data in the etcd.
you can find the etcd-keeper project here: https://github.com/evildecay/etcdkeeper
I have created the root using etcdctl and…

Jananath Jayarathna
- 169
- 1
- 8
1
vote
0 answers
etcd 3 Range Query
How can I use etcds new range query to get a subset of records, based on these values:
a-key/path/foo_1: value-1
a-key/path/foo_2: value-2
a-key/path/foo_3: value-3
a-key/path/foo_4: value-4
a-key/path/foo_5: value-5
I'd like to be able to query…

Kieron
- 26,748
- 16
- 78
- 122
1
vote
1 answer
ETCD key "value" size limit
I am new to ETCD and I wanted to know that if there is a size limit for a value that can be stored in ETCD?

Sandeep Patel
- 4,815
- 3
- 21
- 37
1
vote
1 answer
Can I use ETCD over Cassandra?
I want to store some data in Key/Value format. I am looking for some solution which should be highly available and faster. I know that ETCD is distributed reliable key-value store. What I am not able to figure out is should I use ETCD or Cassandra…

pranay jain
- 352
- 1
- 2
- 15
1
vote
0 answers
ETCD key names - what characters are supported?
Can't find this in the docs.
Exactly what characters are supported by ETCD in key names and values?
Does it support every UTF-8 character? Are there any characters it handles in a special way?
Are there any forbidden characters?
According to docs,…

user2297996
- 1,382
- 3
- 18
- 28
1
vote
1 answer
How to keep information synchronized between the cloud and the device
I'm coding a project which needs cloud control device operation, and want to keep information in sync.
The cloud needs to know the state of device, such as when the network is interrupted and when the network is restored.
When the network is…

moluzhui
- 1,003
- 14
- 34
1
vote
1 answer
How does etcd propagate writes to non-leader members?
From both the visualisation on the raft.github.io page and The Secret Lives of Data shows that write requests in Raft must be sent through the leader.
When I am running etcd, which uses Raft, I can send a etcdctl put request to any of the etcd…

dayuloli
- 16,205
- 16
- 71
- 126
1
vote
0 answers
python etcd3 randomly fails with failed: grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with: status = StatusCode.UNKNOWN
I have very simple setup. I have etcd 3.3 server.
I have code in python (3.6) ive installed etcd3 version 0.10.0
import etcd3
data = etcd3.client(host='my.host.net', port=2379).get('/exesiting/key'))
print( data )
Key exsist, server address is…

AlexS
- 927
- 4
- 16
- 29
1
vote
0 answers
Failed to restart single node etcd with data_dir mapped to persistentvolume in kubernetes
Hi I am deploying an etcd container in a k8s pod with data_dir mapped to persistent volume claim created for the pod. The first time the pvc and pod is created, etcd service is up and running and everything is working as expected.
Once I delete the…

Tarun Golthi
- 61
- 8
1
vote
0 answers
Etcd failing to setup cluster due to failure to find etcd local member
I'm attempting to setup a cluster on Ubuntu 18.04 host machines. I'm getting the following error when using DNS for server discovery.
error setting up initial cluster: cannot find local etcd member "etcd-1" in SRV records
I've followed the docs and…

Stavros_S
- 2,145
- 7
- 31
- 75