-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Scale tests show that CAPI or the test itself might leak InMemoryCluster objects #11750
Comments
/triage accepted /help |
@chrischdi: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed 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-sigs/prow repository. |
Thx for opening the issue! Could it be that this also happens with a real infra provider and outside of scale tests? I was wondering if this also happens if after CP / InfraCluster creation the Cluster update call fails? But maybe the cluster-shim protects us against that? |
Looked at the implementation, my impression is that the cluster-shim doesn't protect us against these kind of leaks. But I could be wrong |
Not sure about that. |
I'll take on it. /assign |
/retitle Scale tests show that they might leak InMemoryCluster objects We're not sure if this only is because of the scale tests or we have an issue in production code. /priority important-soon |
/retitle Scale tests show that CAPI or the test itself might leak InMemoryCluster objects |
What steps did you take and what happened?
What did you expect to happen?
only one inmemorycluster object to exist per cluster.
Cluster API version
~ main
Kubernetes version
No response
Anything else you would like to add?
It is propably due to the scale test which uses
CreateOrUpdate
.An update drops all references, so KCP & InMemoryCluster got re-created.
Propably related log when this happens:
Label(s) to be applied
/kind bug
/area e2e-testing
The text was updated successfully, but these errors were encountered: