Skip to content

vsvastey/etcd-walker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Etcd-walker

Simple CLI tool for etcd

etcd walker

Building:

go build

in some cases (for example for running inside containers) need to build statically without dependency on libc:

go build -ldflags "-linkmode external -extldflags -static"

Running:

./etcd-walker [-host host] [-port port] [-debug]

Default values are: localhost for host, 2379 for port, debug is false

Starting etcd for development/testing

to start etcd as a Docker container:

docker run -d --restart unless-stopped -p 2379:2379 --name etcd quay.io/coreos/etcd:v3.3.27 /usr/local/bin/etcd -advertise-client-urls http://0.0.0.0:2379 -listen-client-urls http://0.0.0.0:2379

testing:

curl -L http://localhost:2379/v2/keys/test -XPUT -d value="test value"

About

Simple CLI tool for etcd

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%