anubhavmishra / envoy-consul-sds

Envoy Consul Service Discovery Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Envoy Consul Service Discovery Service

License:Apache License 2.0


Languages

Language:Go 44.6%Language:Shell 32.1%Language:HCL 16.3%Language:Makefile 6.4%Language:Dockerfile 0.6%