-
Notifications
You must be signed in to change notification settings - Fork 39.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
Pending load balancer security groups leak in AWS legacy cloud provider #79994
Comments
/sig AWS |
Also: 1. print warnings when unexpected conditions occur 2. deleted orphaned security groups due to kubernetes/kubernetes#79994
Also: 1. print warnings when unexpected conditions occur 2. deleted orphaned security groups due to kubernetes/kubernetes#79994
Also: 1. print warnings when unexpected conditions occur 2. deleted orphaned security groups due to kubernetes/kubernetes#79994
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: 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. |
What happened:
A security group is leaked when a
<pending>
(due to having reached the ELB limit)type: LoadBalancer
Service is deleted.What you expected to happen:
The Security group should be deleted when deleting the service.
How to reproduce it (as minimally and precisely as possible):
memcache-svc.yaml
:Wait for the the services to be created (check with
kubectl get services
), theEXTERNAL-IP
of some of them will remain pending due to the ELB limit having been reached (in my caseservice21
,service22
,service23
service24
andservice25
are in that state)Delete all the services
Wait for their corresponding ELBs to be deleted by AWS the cloud provider. Wait some more.
List the security groups in the cluster's AWS region. You will encounter that the ones matching the
PENDING
services (service21
,service22
,service23
service24
andservice25
) remain there and won't be deleted.Anything else we need to know?:
I discovered this while working on eksctl-io/eksctl#1010
Environment:
kubectl version
):eksctl create cluster -f cluster.yaml
with:cluster.yaml
:The text was updated successfully, but these errors were encountered: