Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add etcdctl #945

Closed
klutchell opened this issue Jun 23, 2023 · 1 comment · Fixed by #959
Closed

Add etcdctl #945

klutchell opened this issue Jun 23, 2023 · 1 comment · Fixed by #959

Comments

@klutchell
Copy link
Contributor

klutchell commented Jun 23, 2023

Expected Behaviour

etcdctl provides a CLI for interacting with etcd servers. K3s does not bundle etcdctl.

Current Behaviour

Error: tool etcd not found
Error: tool etcdctl not found

Possible Solution

From https://docs.k3s.io/advanced#using-etcdctl and https://etcd.io/docs/v3.5/install/

ETCD_VERSION="v3.5.5"
ETCD_URL="https://github.com/etcd-io/etcd/releases/download/${ETCD_VERSION}/etcd-${ETCD_VERSION}-linux-amd64.tar.gz"
curl -sL ${ETCD_URL} | sudo tar -zxv --strip-components=1 -C /usr/local/bin

Steps to Reproduce (for bugs)

n/a

Context

If requesting a CLI for "arkade get"

  • How many downloads does this tool have? Check at:

https://somsubhra.github.io/github-release-stats/?username=etcd-io&repository=etcd

68,166

  • If approved, are you willing to submit a pull request for this?

Of course, when I get chance

Your Environment

k3s in Docker

kubectl version
v1.24.2
  • Operating System and version (e.g. Linux, Windows, MacOS):
Linux 6c410f9 5.15.62-yocto-standard #1 SMP PREEMPT Mon Aug 22 15:16:08 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
  • What arkade version is this?
0.9.22
@alexellis
Copy link
Owner

Hi @klutchell

If approved, are you willing to submit a pull request for this?
Of course, when I get chance

Cool, we'll hang on until you have time 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants