Merge pull request #17952 from upmc-enterprises/dns_fix

pull/6/head
Abhi Shah 2015-12-14 20:42:53 -08:00
commit 9c0e777567
1 changed files with 4 additions and 2 deletions

View File

@ -86,8 +86,10 @@ type kube2sky struct {
etcdMutationTimeout time.Duration
// A cache that contains all the endpoints in the system.
endpointsStore kcache.Store
// A cache that contains all the servicess in the system.
// A cache that contains all the services in the system.
servicesStore kcache.Store
// A cache that contains all the pods in the system.
podsStore kcache.Store
// Lock for controlling access to headless services.
mlock sync.Mutex
}
@ -583,7 +585,7 @@ func main() {
ks.endpointsStore = watchEndpoints(kubeClient, &ks)
ks.servicesStore = watchForServices(kubeClient, &ks)
ks.servicesStore = watchPods(kubeClient, &ks)
ks.podsStore = watchPods(kubeClient, &ks)
select {}
}