Skip to content

anubhavmishra/envoy-consul-sds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

envoy-consul-sds - Envoy Consul Service Discovery Service

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