Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubernetes-MIE
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Teodor Alexandru Ionita
Kubernetes-MIE
Commits
9c0e7775
Commit
9c0e7775
authored
9 years ago
by
Abhi Shah
Browse files
Options
Downloads
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cluster/addons/dns/kube2sky/kube2sky.go
+4
-2
4 additions, 2 deletions
cluster/addons/dns/kube2sky/kube2sky.go
with
4 additions
and
2 deletions
cluster/addons/dns/kube2sky/kube2sky.go
+
4
−
2
View file @
9c0e7775
...
...
@@ -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 services
s
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
.
service
sStore
=
watchPods
(
kubeClient
,
&
ks
)
ks
.
pod
sStore
=
watchPods
(
kubeClient
,
&
ks
)
select
{}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment