doc AWS internet LB + add to LB test

This commit is contained in:
Adrian Stobbe 2023-07-11 18:14:13 +02:00
parent 4812c9c983
commit fc444b259c
2 changed files with 7 additions and 0 deletions

View File

@ -3,6 +3,8 @@ kind: Service
metadata:
name: whoami
namespace: lb-test
annotations:
service.beta.kubernetes.io/aws-load-balancer-scheme: internet-facing
spec:
selector:
app: whoami

View File

@ -0,0 +1,5 @@
# Internet-facing LB service on AWS
To expose your application service externally you might want to use a Kubernetes Service of type `LoadBalancer`. On AWS, load-balancing is achieved through the [AWS Load Balancing Controller](https://kubernetes-sigs.github.io/aws-load-balancer-controller) as in the managed EKS.
Since recent versions, the controller deploy an internal LB by default requiring to set an annotation `service.beta.kubernetes.io/aws-load-balancer-scheme: internet-facing` in order to have an internet-facing LB. For more details, see the [official docs](https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.2/guide/service/nlb/).