Skip to content

Commit c2437de

Browse files
authoredFeb 27, 2025··
Merge pull request #4057 from shraddhabang/doc_updates
Fix docs for source ranges for internal NLB
2 parents e70afa0 + 60bb639 commit c2437de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎docs/guide/service/annotations.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -498,12 +498,12 @@ Load balancer access can be controlled via following annotations:
498498
- <a name="lb-source-ranges">`service.beta.kubernetes.io/load-balancer-source-ranges`</a> specifies the CIDRs that are allowed to access the NLB.
499499
500500
!!!tip
501-
we recommend specifying CIDRs in the service `spec.loadBalancerSourceRanges` instead
501+
- We recommend specifying CIDRs in the service `spec.loadBalancerSourceRanges` instead
502+
- 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.
502503
503504
!!!note "Default"
504505
- `0.0.0.0/0` will be used if the IPAddressType is "ipv4"
505506
- `0.0.0.0/0` and `::/0` will be used if the IPAddressType is "dualstack"
506-
- The VPC CIDR will be used if `service.beta.kubernetes.io/aws-load-balancer-scheme` is `internal`
507507
508508
!!!warning ""
509509
This annotation will be ignored in case preserve client IP is not enabled.

0 commit comments

Comments
 (0)
Please sign in to comment.