-
Notifications
You must be signed in to change notification settings - Fork 603
Cluster deletion fails when a cluster has a LoadBalancer Service type #3478
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
Comments
@dkoshkin: This issue is currently awaiting triage. If CAPA/CAPI contributors determines this is a relevant issue, they will accept it by applying the The 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. |
This is being tracked in the cluster-api repo: kubernetes-sigs/cluster-api#3075 This happens when external resources are created by CCM/CSI on the cluster VPC and might be an issue for other providers too, so probably requires a generic/common design. |
Thanks @sedefsavas, please feel free to close this one. |
We are experiencing this with |
Same issue kubernetes-sigs/cluster-api#3075 applies to EKS clusters as well since we create the VPC for them too (when external infra is not used). /close |
@sedefsavas: Closing this issue. 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. |
/kind bug
What steps did you take and what happened:
[A clear and concise description of what the bug is.]
Service
of typeLoadBalancer
The cluster does not get fully deleted.
I see that the ELB for the Service does get deleted:
And the CAPA SGs get deleted, but not ELB's SG
After some time
What did you expect to happen:
The cluster and cluster's VPC should get deleted.
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
I think in addition to deleting the ELBs the controller also needs delete SGs.
We get the

kubernetes.io/cluster
tag and the name and description, but not much more that indicates thats its an ELB SGEnvironment:
v1.4.1
kubectl version
):v1.22.8
/etc/os-release
):The text was updated successfully, but these errors were encountered: