https://github.com/tim-smart/kube-vulcand
https://github.com/tim-smart/kube-vulcand
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/tim-smart/kube-vulcand
- Owner: tim-smart
- Created: 2015-11-20T22:33:37.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-20T22:34:01.000Z (over 10 years ago)
- Last Synced: 2025-02-14T09:20:31.100Z (over 1 year ago)
- Language: Go
- Size: 8.79 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Introduction
===============
This tool watches the Kubernetes API server for Pod (de)registration. New Pods are registered to
Vulcan by setting the correct etcd keys. A deleted Pod is deleted from Vulcan as well by removing it's key in etcd.
Pods will be registered using the following key pattern in etcd: /vulcan/backends/[pod label name]/servers/[pod IP]. Make sure
your Vulcan backend/frontend configuration is configured to use backend servers based on the pod name.
Running
===============
Run as Docker container as follows:
docker run -d amdatu/amdatu-vulcanized -pods "ws://[kubernetes-server]:8080/api/v1beta3/namespaces/default/pods?watch=true" -etcd "[etcd-address]:2375"