Kubernetes Envoy Service Discovery Service
The kubernetes-envoy-sds
service implements the Envoy Service Discovery REST API on top of the Kubernetes Services API.
Each Kubernetes service can be referenced in an Envoy config by its FQDN. The following FQDN maps to the nginx
service running in the default
namespace:
nginx.default.svc.cluster.local
See the envoy.json configuration file for a complete example.
Usage
kubernetes-envoy-sds -h
Usage of kubernetes-envoy-sds:
-cluster-domain string
The cluster domain (default "svc.cluster.local")
-http string
The HTTP listen address. (default "127.0.0.1:8080")
Usage Tutorial
This tutorial will walk you through deploying the kubernetes-envoy-sds
service and an Envoy service mesh across each node in a Kubernetes cluster. Once the Envoy infrastructure is in place you'll have a chance to test it using the consumer
example service.
Kubernetes 1.6+ is required.