Wach-E / k8s-website-controller

A barely working example of a Kubernetes controller

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

k8s-website-controller

A barely working example of a Kubernetes controller, which watches the Kubernetes API server for website objects and runs an Nginx webserver for each of them.

NOTE: This is not the correct way to create a Kubernetes controller, as it simply performs a watch request in a loop. This will never work properly, because some watch events will be lost.

Extra: The pkg/v1 module must reside in the $GOPATH/src/ directory.

About

A barely working example of a Kubernetes controller


Languages

Language:Go 88.3%Language:Makefile 6.6%Language:Dockerfile 5.0%