constellation/docs/versioned_docs/version-2.12/workflows/lb.md
2023-10-10 18:31:02 +02:00

1.2 KiB

Expose a service

Constellation integrates the native load balancers of each CSP. Therefore, to expose a service simply create a service of type LoadBalancer.

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 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 to have an internet-facing LB. For more details, see the official docs.

For general information on LB with AWS see Network load balancing on Amazon EKS.

:::caution Before terminating the cluster, all LB backed services should be deleted, so that the controller can cleanup the related resources. :::