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 #44

Closed
bowei opened this issue Oct 11, 2017 · 9 comments
Closed

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

bowei opened this issue Oct 11, 2017 · 9 comments
Assignees
Labels
backend/gce lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@bowei
Copy link
Member

bowei commented Oct 11, 2017

From @nicksardo on July 11, 2017 23:58

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.

Copied from original issue: kubernetes/ingress-nginx#950

@bowei
Copy link
Member Author

bowei commented Oct 11, 2017

From @thockin on August 3, 2017 16:46

What event?

@bowei
Copy link
Member Author

bowei commented Oct 11, 2017

From @nicksardo on August 3, 2017 17:10

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.

@bowei
Copy link
Member Author

bowei commented Oct 11, 2017

From @thockin on August 3, 2017 17:12

blech!

On Thu, Aug 3, 2017 at 10:10 AM, Nick Sardo notifications@github.com
wrote:

A K8s Event record noting an error/warning message.

Take a look at this code: https://github.com/kubernetes/ingress/blob/
7b38e5a/controllers/gce/
controller/controller.go#L311-L320
Checkpoint (https://github.com/kubernetes/ingress/blob/
7b38e5a/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.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
kubernetes/ingress-nginx#950 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFVgVMFWnIrMtJ0fE_9BSeJJIEw2IWOTks5sUf74gaJpZM4OU9aH
.

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or @fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 9, 2018
@mooperd
Copy link

mooperd commented Jan 10, 2018

+1 Anyone looking at this? Our new ingresses can take upto 30 mins to be ready which is quite annoying in a dynamic environment.

@bowei bowei self-assigned this Jan 10, 2018
@bowei
Copy link
Member Author

bowei commented Jan 10, 2018

We are actively working this issue. Expect an update in a few weeks.

@bowei
Copy link
Member Author

bowei commented Jan 10, 2018

/lifecycle frozen

@k8s-ci-robot k8s-ci-robot added the lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. label Jan 10, 2018
@mooperd
Copy link

mooperd commented Feb 8, 2018

@nicksardo Hey, is this issue fixed? When is it being rolled out?

@nicksardo
Copy link
Contributor

The logic was changed to single the relevant resources. Assuming testing goes well, it'll make K8s 1.10. Currently unknown which 1.9 or 1.8 patch releases will get this new version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend/gce lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

5 participants