Skip to content

Commit

Permalink
Fix docs for source ranges for internal NLB
Browse files Browse the repository at this point in the history
  • Loading branch information
shraddhabang committed Feb 17, 2025
1 parent 57472c4 commit 60bb639
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guide/service/annotations.md
Original file line number Diff line number Diff line change
Expand Up @@ -498,12 +498,12 @@ Load balancer access can be controlled via following annotations:
- <a name="lb-source-ranges">`service.beta.kubernetes.io/load-balancer-source-ranges`</a> specifies the CIDRs that are allowed to access the NLB.
!!!tip
we recommend specifying CIDRs in the service `spec.loadBalancerSourceRanges` instead
- We recommend specifying CIDRs in the service `spec.loadBalancerSourceRanges` instead
- For enhanced security with `internal` network load balancers, we recommend limiting access by specifying allowed source IP ranges. This can be done using either the `service.beta.kubernetes.io/load-balancer-source-ranges` annotation or the `spec.loadBalancerSourceRanges` field.
!!!note "Default"
- `0.0.0.0/0` will be used if the IPAddressType is "ipv4"
- `0.0.0.0/0` and `::/0` will be used if the IPAddressType is "dualstack"
- The VPC CIDR will be used if `service.beta.kubernetes.io/aws-load-balancer-scheme` is `internal`
!!!warning ""
This annotation will be ignored in case preserve client IP is not enabled.
Expand Down

0 comments on commit 60bb639

Please sign in to comment.