mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-31 11:08:50 -04:00
doc AWS internet LB + add to LB test
This commit is contained in:
parent
6e708babfb
commit
62b0a853e4
2 changed files with 12 additions and 0 deletions
2
.github/actions/e2e_lb/lb.yml
vendored
2
.github/actions/e2e_lb/lb.yml
vendored
|
@ -3,6 +3,8 @@ kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: whoami
|
name: whoami
|
||||||
namespace: lb-test
|
namespace: lb-test
|
||||||
|
annotations:
|
||||||
|
service.beta.kubernetes.io/aws-load-balancer-scheme: internet-facing
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: whoami
|
app: whoami
|
||||||
|
|
|
@ -1 +1,11 @@
|
||||||
# Expose services
|
# Expose services
|
||||||
|
|
||||||
|
## 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/).
|
||||||
|
|
||||||
|
:::caution
|
||||||
|
Before terminating the cluster, all LB backed services should be deleted, so that the controller can cleanup the related resources.
|
||||||
|
:::
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue