-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
GCE instance groups are not updated when nodes are added/removed #1012
Comments
@nicksardo pointed out that the logic was removed in c7c2a56#diff-9141c651905f3492033cf255f8e12fd7L176. @aledbf Was that intentional? |
Quick FYI: the instance groups are eventually synced when the resync period occurs for any ingress. This may explain why nobody has noticed this in practice. |
This still occurs despite having the fix. I'm guessing that the handler is called when the node is added; however, it's NotReady state prevents the instance group from being updated. I don't know why the handler isn't called again when the node becomes Ready. |
@nicksardo maybe because the handler does not have an |
Ah, that would certainly do it. According to the comment, we don't want to have an |
If there was a way to find out the update, we could add an UpdateFunc that adds the node to queue only if there has been a "relevant change" in node. Node's heartbeat being updated, for example, is not a "relevant change". |
Right, not a quick change though. |
Looks like removing nodes from instances groups has never worked.
|
Note: We also need to address node syncing with regards to large clusters. https://storage.googleapis.com/kubernetes-jenkins/logs/ci-kubernetes-e2e-gce-scale-correctness/12/artifacts/gce-scale-cluster-master/glbc.log |
This issue was moved to kubernetes/ingress-gce#50 |
Looking at the code (https://github.com/kubernetes/ingress/blob/a58b80017170eecbe8b2d6573b66192cafe0d32a/controllers/gce/controller/controller.go#L177), it looks like we are not doing anything when nodes are added and deleted. We should be updating the instance group when that happens.
Am I missing something?
The text was updated successfully, but these errors were encountered: