-
Notifications
You must be signed in to change notification settings - Fork 280
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
SecurityRuleAddressesOrPortsPerSecurityGroupLimitReached when service floating ip disabled #2725
Comments
It ishard to fix, unless the nsg team increases the limit. |
Is it possible
Though we can fork and add a temporary fix, we hope we can have an official solution. Otherwise this becomes a blocker for us migrating to AKS in future. |
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:
When floating IP is disabled for service, controller-manager creates a NSG rule that includes all backend pool nodes IPs as destination. In a cluster with 200+ nodes and 20+ services, we got following error from Azure:
The NSG rules on portal look like:
There are 20+ rules in total. Each has 200+ destinations.
Looks like there's a limit of total destination address prefixes in a NSG. When the limit is reached, it blocks all following NSG update.
What you expected to happen:
I'm not sure if there exists a perfect fix. The quickest fix is that we instead use
VirtualNetwork
as destination. But that sacrifices some security.How to reproduce it (as minimally and precisely as possible):
service.beta.kubernetes.io/azure-disable-load-balancer-floating-ip
set to true.Anything else we need to know?:
Environment:
kubectl version
): 1.23cat /etc/os-release
):uname -a
):The text was updated successfully, but these errors were encountered: