kxds

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2019 License: Apache-2.0

README

KxDS

KxDS is an Envoy discovery service implementation for Kubernetes. KxDS runs as a sidecar next to Envoy and configures the proxy to expose Kubernetes services.

Features
  • Service Discovery KxDS watches Kubernetes for ClusterIP services with a http named port
  • Envoy Clusters (CDS) are generated for each Kubernetes service in the form <name>-<namespace>-<http-port>
  • Envoy Routes (RDS) are generated for each cluster and mapped to the <name>.<namespace> domain
  • Envoy Listeners (LDS) KxDS configures Envoy to listen on port 8080 and sets up retry policies for each route
Install
kubectl apply -k github.com/stefanprodan/kxds//kustomize/gateway
Annotations
apiVersion: v1
kind: Service
metadata:
  annotations:
    envoy.gateway.kubernetes.io/expose: "true"
    envoy.gateway.kubernetes.io/timeout: "25s"
    envoy.gateway.kubernetes.io/retries: "5"
    envoy.gateway.kubernetes.io/domain: "app.internal"

Directories

Path Synopsis
cmd
kxds command
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL