Skip to content

segmentio/envoy-consul-sds

This branch is 3 commits ahead of, 2 commits behind anubhavmishra/envoy-consul-sds:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dc433a6 · Nov 16, 2023

History

34 Commits
Sep 5, 2017
Sep 5, 2017
Sep 5, 2017
Sep 3, 2017
Sep 3, 2017
Sep 3, 2017
Sep 3, 2017
Nov 16, 2023
Oct 8, 2019
Nov 13, 2019
Nov 13, 2019
Nov 13, 2019
Oct 8, 2019
Sep 3, 2017

Repository files navigation

envoy-consul-sds - Envoy Consul Service Discovery Service

Note

Segment has paused maintenance on this project, but may return it to an active status in the future. Issues and pull requests from external contributors are not being considered, although internal contributions may appear from time to time. The project remains available under its open source license for anyone to use.

This tutorial is based on Kelsey Hightower's kubernetes-envoy-sds tutorial but using Consul and Nomad.

envoy-consul-sds service implements the Envoy SDS API on top of Consul Health Endpoint API. envoy-consul-sds service returns a list of healthy endpoints for Envoy to use as upstream backends for a cluster. Each Consul service can be referenced in the Envoy config file by its DNS name.

NOTE: This project uses Envoy API v1. It doesn't use Envoy xDS for configuration. Please read Envoy API v2 for more information.

Goal

In this tutorial we will run Nginx on Nomad and register it in Consul. Then we will use Envoy to access Nginx using Consul DNS interface.

The idea is to explore ways Envoy can integrate with applications running on Nomad using Consul.

Tutorial

About

Envoy Consul Service Discovery Service

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 44.6%
  • Shell 32.1%
  • HCL 16.3%
  • Makefile 6.4%
  • Dockerfile 0.6%