Skip to content
Snippets Groups Projects
Commit 9c0e7775 authored by Abhi Shah's avatar Abhi Shah
Browse files

Merge pull request #17952 from upmc-enterprises/dns_fix

parents 414ebd2d 034ecbd3
No related branches found
No related tags found
No related merge requests found
......@@ -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 {}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment