Skip to content

Commit

Permalink
Merge pull request #4057 from shraddhabang/doc_updates
Browse files Browse the repository at this point in the history
Fix docs for source ranges for internal NLB
  • Loading branch information
zac-nixon authored Feb 27, 2025
2 parents e70afa0 + 60bb639 commit c2437de
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 c2437de

Please sign in to comment.