kube-envoy-controller

command module
v0.0.0-...-d330554 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

README

Kube-Envoy-Controller

Kubernetes CRD & custom controller for envoyproxy

Allows creation & configuring of envoyproxies using a kubernetes resource (kind: Envoy)

Installing

   $ go get github.com/starizard/kube-envoy-controller

   $ go build
   

Usage


$ kubectl apply -f crds/ 
customresourcedefinition.apiextensions.k8s.io/envoys.example.com created
 
$ ./kube-envoy-controller
 
In a separate shell
$ kubectl apply -f sample/envoy.yaml
envoy.example.com/edge-envoy created
 
$ kubectl get envoy
NAME         AGE
edge-envoy   35s
 
$ kubectl get configmap
NAME          DATA   AGE
envoy-cfg-1   1      45s
 
$ kubectl get po
NAME                       READY   STATUS    RESTARTS   AGE
envoy-1-794d4fb667-dkwww   1/1     Running   0          57s
envoy-1-794d4fb667-jpjw8   1/1     Running   0          57s
envoy-1-794d4fb667-xc6cl   1/1     Running   0          57s
 

Roadmap

  • Envoy CRD
  • Autogenerate bootstrap configmap & mount it to the envoy pods
  • Configure XDS
  • Automatic Sidecar Injection (Mutating Webhook)
  • Implement XDS component
  • Ship access log & expose prometheus metrics

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
api/example.com/v1
+k8s:deepcopy-gen=package,register +groupName=example.com
+k8s:deepcopy-gen=package,register +groupName=example.com
client/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/clientset/versioned/typed/example.com/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/example.com/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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