Use Kubernetes informer and cache in router (#376)

Use Kubernetes client's informer and cache to watch functions and triggers in the router. This replaces the polling loop we were using so far.
This commit is contained in:
Ta-Ching Chen
2017-10-25 15:10:44 -07:00
committed by Soam Vasani
parent 8abb0005f6
commit 439e7d4535
7 changed files with 150 additions and 70 deletions
+4
View File
@@ -29,6 +29,10 @@ import:
- pkg/labels
- pkg/util/intstr
- rest
- package: k8s.io/api
version: 4b8fc5be9b77d91bbb6525d18591c43699a2b4e5
- package: k8s.io/apimachinery
version: 1fd2e63a9a370677308a42f24fd40c86438afddf
- package: github.com/influxdata/influxdb
version: v1.2.0
subpackages: