Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GLBC: Each ingress sync updates resources for all ingresses #950

Closed
nicksardo opened this issue Jul 11, 2017 · 4 comments
Closed

GLBC: Each ingress sync updates resources for all ingresses #950

nicksardo opened this issue Jul 11, 2017 · 4 comments

Comments

@nicksardo
Copy link
Contributor

For every ingress, the controller runs resource synchronization for all ingresses, thus resulting in unnecessary work.

Furthermore, if a GCP error occurs when handling one of the ingress resources, an event will be raised for every ingress resource.

@thockin
Copy link
Member

thockin commented Aug 3, 2017

What event?

@nicksardo
Copy link
Contributor Author

A K8s Event record noting an error/warning message.

Take a look at this code: https://github.com/kubernetes/ingress/blob/7b38e5a36ed7e097e1cd98aca0f37c504059ab4c/controllers/gce/controller/controller.go#L311-L320
Checkpoint (https://github.com/kubernetes/ingress/blob/7b38e5a36ed7e097e1cd98aca0f37c504059ab4c/controllers/gce/controller/cluster_manager.go#L141-L149) creates/manages the resources for all ingresses. If there's an error, it's returned and an event is recorded for the ingress which caused the sync, but not necessarily the ingress which caused the error.

@thockin
Copy link
Member

thockin commented Aug 3, 2017 via email

@bowei
Copy link
Member

bowei commented Oct 11, 2017

This issue was moved to kubernetes/ingress-gce#44

@bowei bowei closed this as completed Oct 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants