Skip to content

Commit 142b3fd

Browse files
committed
add tip about provisioning internal lb
1 parent d3b8379 commit 142b3fd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/guide/service/annotations.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,12 @@ Traffic Routing can be controlled with following annotations:
6262

6363
- <a name="lb-type">`service.beta.kubernetes.io/aws-load-balancer-type`</a> specifies the load balancer type. This controller reconciles those service resources with this annotation set to either `nlb-ip` or `external`.
6464

65+
!!!tip
66+
This annotation specifies the controller used to provision LoadBalancers (as specified in [legacy-cloud-provider](#legacy-cloud-provider)). Refer to [lb-scheme](#lb-scheme) to specify whether the LoadBalancer is public-facing or internal.
67+
6568
!!!note ""
6669
- [Deprecated] `nlb-ip` type, controller will provision NLB with IP targets. This value is supported for backwards compatibility.
67-
- For `external` type, NLB target type depend on the annotation [nlb-target-type](#nlb-target-type). If used in combination with [lb-scheme](#lb-scheme) set to internal, it will provision an internal NLB.
70+
- For `external` type, NLB target type depend on the annotation [nlb-target-type](#nlb-target-type).
6871

6972
!!!warning "limitations"
7073
- This annotation should not be modified after service creation.
@@ -418,7 +421,4 @@ The AWS Load Balancer Controller manages Kubernetes Services in a compatible way
418421
The legacy cloud provider patch was added in Kubernetes v1.20 and is backported to Kubernetes v1.18.18+, v1.19.10+.
419422

420423
!!!note ""
421-
To be able to provision an internal NLB with target type `instance` it can be achieved with the combination of the following annotations:
422-
- service.beta.kubernetes.io/aws-load-balancer-type: external
423-
- service.beta.kubernetes.io/aws-load-balancer-scheme: internal
424-
- service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: instance
424+
With the right combination of annotations any type of Load Balancer and Target Group configuration can be provisioned with this controller.

0 commit comments

Comments
 (0)