-
Notifications
You must be signed in to change notification settings - Fork 265
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
Nodes getting deleted after a rate-limited cache refresh #2880
Comments
Hi @okushchenko , VMSS Flex will be officially supported starting from v1.26.0 (which is going to be release this month). In the github ticket you created, I notice you are using v1.25.5. I think the latest VMSS Flex code might not be cherry picked to the v1.25.5 version so it is possible the 1.25.5 is not stable for VMSS Flex. Before the official release of v1.26.0, we have built a stable version of Cloud Controller Manager (CCM) and Cloud Node Manager (CNM) and stored them into an Azure Container Registry: CCM: selfhostedk8s.azurecr.io/azure-cloud-controller-manager:d8d65f1 Could you please try the above images and let us if this can mitigate the issue? |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What happened:
After adding a bunch of new nodes to our Kubernetes cluster, I observed that some of them failed to get registered. Based on the log line below, it seems like cloud-controller-manager failed to refresh the VM cache due to a rate limit, and deleted a k8s node afterwards, because it wasn't in the cache.
What you expected to happen:
I'd expect that when cloud-controller-manager is getting rate-limited while refreshing the VM cache, it'd not try to delete nodes afterwards, as some of the cache is out-of-date.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
Note that we use Flex VM Scale Sets, Kubernetes 1.24, and https://github.com/kubernetes-sigs/cloud-provider-azure/releases/tag/v1.25.5.
The text was updated successfully, but these errors were encountered: