Questions tagged [etcd]

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

etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines. It’s open-source and available on GitHub. etcd gracefully handles master elections during network partitions and will tolerate machine failure, including the master.

Your applications can read and write data into etcd. A simple use-case is to store database connection details or feature flags in etcd as key value pairs. These values can be watched, allowing your app to reconfigure itself when they change.

Advanced uses take advantage of the consistency guarantees to implement database master elections or do distributed locking across a cluster of workers.

74 questions
1
vote
1 answer

ETCD restore granularity

I'm studying some backup and restore solutions for Kubernetes and Openshift, typically with Velero. So, I'm not familiar with ETCD backups, but I would like to ask about the granularity level of etcd snapshots restore. Does ETCD snapshots only allow…
1
vote
1 answer

systemd terminates etcd service started with podman - reception only permitted for main PID

I try to start etcd as a systemd service run in a container with podman. After start I get this error log from systemd: systemd[1]: etcd.service: Got notification message from PID 4696, but reception only permitted for main PID 4868 But etcd seem…
Jonas
  • 1,147
  • 5
  • 17
  • 31
1
vote
1 answer

How to start etcd in docker from systemd?

I want to start etcd (single node) in docker from systemd, but something seems to go wrong - it gets terminated about 30 seconds after start. It looks like the service starts in status "activating" but get terminated after about 30 seconds without…
Jonas
  • 1,147
  • 5
  • 17
  • 31
1
vote
0 answers

How to spin up a ETCD docker container and restore a backup obtained from a kubernetes ETCD Cluster node?

I am trying to spin up a ETCD node in docker and restore a backup obtained from the Kubernetes Cluster node. ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --user=root:'root' snapshot save snapshot.db I have obtained the snapshot and…
1
vote
1 answer

ETCD Cluster configuration for Kubernetes: Which one should be considered?

I would like to know how to deploy a ETCD cluster for Kubernetes. It seems like there are two different documentation and I don't know which one must be considered or the impact of each of them. From the Kubernetes documentation for a multi-cluster…
Mael Fosso
  • 121
  • 2
1
vote
1 answer

How can we modify the heartbeat synchronization time of the etcd cluster on Kubernetes

I want to modify heartbeat-interval of embedded etcd cluster running on kubernetes, I know while installation we can do with kubeadm extraargs but how to do in running cluster? Before modifying I want to know current values too. EDIT1: To get…
ImranRazaKhan
  • 115
  • 2
  • 13
1
vote
3 answers

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 VIP:6443 --token \ …
PieDev
  • 71
  • 1
  • 5
1
vote
1 answer

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 eksctl side all is working correctly on etcd servers with…
1
vote
2 answers

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 ask to solve it. Since I can only set up VMs and…
uav
  • 494
  • 3
  • 16
0
votes
1 answer

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[27052]: bird: Mesh_172_26_178_195: Socket error:…
0
votes
1 answer

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's that are co-located in the same host with etcd…
0
votes
1 answer

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 stored in etcd database. Sincerely
0
votes
1 answer

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 external IP(to make etcd cluster reachable for other…
Victor Bessonov
  • 113
  • 1
  • 2
  • 9
0
votes
1 answer

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:00:31.626169 10488 kubelet.go:2745] Error updating…
Akilesh
  • 131
  • 1
  • 4
0
votes
1 answer

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 master and added the etcd.manifest file found…
Jannick
  • 131
  • 3