Skip to content
This repository has been archived by the owner on May 14, 2019. It is now read-only.

coreos/discovery.etcd.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5121874 · Sep 10, 2016

History

63 Commits
Aug 23, 2016
Sep 9, 2016
Sep 9, 2016
Jan 31, 2014
Feb 1, 2014
Aug 25, 2016
Aug 23, 2016
Sep 9, 2016
Jan 31, 2014
Sep 10, 2016
Aug 29, 2016
Aug 29, 2016
Sep 9, 2016
Aug 29, 2016
Aug 29, 2016

Repository files navigation

discovery.etcd.io

This code powers the public service at https://discovery.etcd.io. The API is documented in the etcd clustering documentation.

Configuration

The service has three configuration options, and can be configured with either runtime arguments or environment variables.

  • --addr / DISC_ADDR: the address to run the service on, including port.
  • --host / DISC_HOST: the host url to prepend to /new requests.
  • --etcd / DISC_ETCD: the url of the etcd endpoint backing the instance.

Docker Container

You may run the service in a docker container:

docker pull quay.io/coreos/discovery.etcd.io
docker run -d -p 80:8087 -e DISC_ETCD=http://etcd.example.com:2379 -e DISC_HOST=http://discovery.example.com quay.io/coreos/discovery.etcd.io

Development

discovery.etcd.io uses devweb for easy development. It is simple to get started:

./devweb
curl --verbose -X PUT localhost:8087/new