Skip to content
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

fix(publick8s) add more public IPs for outbound connection to avoid SNAT exhaustion #587

Merged

Conversation

dduportal
Copy link
Contributor

@dduportal dduportal commented Jan 19, 2024

Related to jenkins-infra/helpdesk#3908

This PR increases the amount of public IPs used for outbound connection in publick8s as a tentative to increase the SNAT exhaustion threshold.

…NAT exhaustion

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
@dduportal dduportal marked this pull request as ready for review January 19, 2024 13:08
@dduportal dduportal requested a review from a team January 19, 2024 13:08
@dduportal dduportal merged commit bbbeb25 into jenkins-infra:main Jan 19, 2024
2 checks passed
@dduportal dduportal deleted the fix/publick8s/outbound-lb-ips branch January 19, 2024 13:08
dduportal added a commit that referenced this pull request Jan 19, 2024
Fixes the error

```
Kubernetes Cluster Name: "publick8s-endless-ghoul"): managedclusters.ManagedClustersClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: Code="InvalidLoadBalancerProfileManagedOutboundIPv6Count" Message="Invalid load balancer profile managed outbound IPv6 IP count (0). The value cannot be less than 1 or greater than 100 for dual-stack clusters." Target="networkProfile.loadBalancerProfile.managedOutboundIPs.CountIPv6"
```

when deploying

- Fixup of #587
- Ref. https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/kubernetes_cluster#load_balancer_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant