etcd | Distributed reliable key-value store | Key Value Database library

 by   etcd-io Go Version: v3.4.26 License: Apache-2.0

kandi X-RAY | etcd Summary

kandi X-RAY | etcd Summary

etcd is a Go library typically used in Database, Key Value Database applications. etcd has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

Note: The main branch may be in an unstable or even broken state during development. For stable versions, see releases.

            kandi-support Support

              etcd has a medium active ecosystem.
              It has 43699 star(s) with 9286 fork(s). There are 1343 watchers for this library.
              It had no major release in the last 12 months.
              There are 146 open issues and 6083 have been closed. On average issues are closed in 85 days. There are 80 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of etcd is v3.4.26

            kandi-Quality Quality

              etcd has 0 bugs and 0 code smells.

            kandi-Security Security

              etcd has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              etcd code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              etcd is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              etcd releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.
              It has 184325 lines of code, 10013 functions and 995 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of etcd
            Get all kandi verified functions for this library.

            etcd Key Features

            No Key Features are available at this moment for etcd.

            etcd Examples and Code Snippets

            No Code Snippets are available at this moment for etcd.

            Community Discussions


            kubernetes dashboard (web ui) has nothing to display
            Asked 2022-Mar-28 at 13:46

            After I deployed the webui (k8s dashboard), I logined to the dashboard but nothing found there, instead a list of errors in notification.



            Answered 2021-Aug-24 at 14:00

            I have recreated the situation according to the attached tutorial and it works for me. Make sure, that you are trying properly login:

            To protect your cluster data, Dashboard deploys with a minimal RBAC configuration by default. Currently, Dashboard only supports logging in with a Bearer Token. To create a token for this demo, you can follow our guide on creating a sample user.

            Warning: The sample user created in the tutorial will have administrative privileges and is for educational purposes only.

            You can also create admin role:



            Getting "rpc error: code = Unavailable desc = error reading from server: EOF" when trying to create a new etcdv3 client
            Asked 2022-Mar-21 at 08:25

            I'm trying to access my ETCD database from a K8s controller, but getting rpc error/EOF when trying to open ETCD client.

            My setup:

            • ETCD service is deployed in my K8s cluster and included in my Istio service mesh (its DNS record:
            • I have a custom K8s controller developed with use of Kubebuilder framework and deployed in the same cluster, different namespace, but configured to be a part of the same Istio service mesh
            • I'm trying to connect to ETCD database from the controller, using Go client SDK library for ETCD

            Here's my affected Go code:



            Answered 2022-Mar-21 at 08:25

            Turned out to be version mismatch - my ETCD db is v3.5.2 and the clientv3 library that I used was v3.5.0. As seen in ETCD changelog (



            Enable use of images from the local library on Kubernetes
            Asked 2022-Mar-20 at 13:23

            I'm following a tutorial,

            currently, I have the right image



            Answered 2022-Mar-16 at 08:10

            If your image has a latest tag, the Pod's ImagePullPolicy will be automatically set to Always. Each time the pod is created, Kubernetes tries to pull the newest image.

            Try not tagging the image as latest or manually setting the Pod's ImagePullPolicy to Never. If you're using static manifest to create a Pod, the setting will be like the following:



            Minikube : remote error tls: bad certificate
            Asked 2022-Mar-20 at 10:02

            I'm following a Kubernetes tutorial, and cannot run first command (minikube start --vm-driver=hyperkit). I'm using a MacBook Pro Intel on macOs Monterey. I cannot make it work because of TLS error.



            Answered 2022-Mar-20 at 10:02

            The kubectl version error helped : Unable to connect to the server: dial tcp i/o time out

            It seems I had already played with k8s :



            Disable history in etcd key value store
            Asked 2022-Mar-08 at 07:31

            Is there any way to disable the history saving in etcd?

            I am going to use etcd as KV for my app and I don't need history for the key values.

            When I search etcd, I couldn't find about disabling the history.

            I don't want to use the compacting feature in etcd.



            Answered 2022-Mar-08 at 07:30

            Event history is part of etcd.

            It was acknowledged, as far back as 2015 in issue 4432 ("Consider moving events out of etcd") that:

            Events account for the overwhelming majority of our etcd write volume, which is causing a variety of performance and stability problems.
            We could consider a different delivery mechanism for the events.

            But for now, this is still managed by etcd.

            There are other Key-Value referential which might prove simpler to manage than etcd in your case. I use prologic/bitcask.



            Minikube always reset to initial state when restart it
            Asked 2022-Mar-07 at 08:38

            I faced this problem since yesterday, no problems before.
            My environment is

            • Windows 11
            • Docker Desktop 4.4.4
            • minikube 1.25.1
            • kubernetes-cli 1.23.3
            Reproduce 1. Start minikube and create cluster ...


            Answered 2022-Mar-07 at 08:38

            This seems to be a bug introduced with 1.25.0 version of minikube: . A PR to revert the changes introducing the bug is already open:

            The fix is scheduled for minikube v1.26.



            Change in Grafana helm chart to install as kind Statefulset instead of Deployment
            Asked 2022-Feb-03 at 16:26

            I had installed kube-prometheus-stack from the helm chart repo prometheus-community



            Answered 2022-Feb-03 at 08:21

            Enable persistence if you want to make it stateful. However I did not see an option to make Grafana a statefulset in the chart you mentioned.

            Usually you will see persistence enable option if the corresponding Helm chart support it. For example: you can enable persistence in this grafana helm chart. You may generate template out of it and make use of it in your repo.



            I am not able to install Mlivus standalone through Helm
            Asked 2022-Feb-02 at 17:20

            my-release-etcd-0 1/1 Running 0 3m58s

            my-release-milvus-standalone-8587d4796d-r579n 0/1 Running 0 3m58s

            my-release-minio-54fc79dbdf-gzlsh 1/1 Running 0 3m58s

            [2022/01/21 07:30:00.210 +00:00] [DEBUG] [client.go:82] ["DataCoordClient, not existed in msess "] [key=datacoord] ["len of msess"=0] [2022/01/21 07:30:00.209 +00:00] [ERROR] [client.go:115] ["failed to get client address"] [error="number of datacoord is incorrect, 0"] [stack="*ClientBase).connect\n\t/go/src/\*ClientBase).GetGrpcClient\n\t/go/src/\*ClientBase).callOnce\n\t/go/src/\*ClientBase).ReCall\n\t/go/src/\*Client).GetComponentStates\n\t/go/src/\\n\t/go/src/\\n\t/go/src/\\n\t/go/src/\\n\t/go/src/\*Server).init\n\t/go/src/\*Server).Run\n\t/go/src/\*QueryCoord).Run\n\t/go/src/\*MilvusRoles).runQueryCoord.func1\n\t/go/src/"]



            Answered 2022-Jan-24 at 02:55

            Can you deploy with docker-compose or Minikube?

            Also, there is a slack channel ( for the Milvus community, where a lot of active community members solve Milvus-related problems together. Please join if you need further troubleshooting. Cheers!



            kubernetes master node and admin user don't have permissions after update
            Asked 2022-Jan-31 at 11:52

            I've googled few days and haven't found any decisions. I've tried to update k8s from 1.19.0 to 1.19.6 In Ubuntu-20. (cluster manually installed k81 - master and k82 - worker node)



            Answered 2022-Jan-28 at 10:13


            Understanding etcd Leader election APIs
            Asked 2022-Jan-29 at 07:41

            I am trying to understand various functions provided by etcd election api and what they mean semantically.

            In their official documentation very briefly mentioned about what each function does, and no examples are provided. For example we have methods:



            Answered 2022-Jan-29 at 07:41
            1. In the code base, ResumeElection API is invoked only in electionServer) Resign and electionServer) Proclaim.

            2. There is some comment


            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install etcd

            You can download it from GitHub.


            etcd contributors and maintainers have monthly (every four weeks) meetings at 11:00 AM (USA Pacific) on Thursday. An initial agenda will be posted to the shared Google docs a day before each meeting, and everyone is welcome to suggest additional topics or other agendas. Join Hangouts Meet: Join by phone: +1 405-792-0633‬ PIN: ‪299 906‬#.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone etcd-io/etcd

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link