Load balancing has long been a strength of the AWS environment for most cloud native applications. And with Kubernetes ingress extensions, it is possible to create complex routes in an efficient fashion by leveraging a single ELB service and relying heavily on the ingress functions in Kuberentes.
- To actually make use of this what we'd end up doing…is we would end up creating a DNS entry…that points back to this load balancer.…And we would either create a star entry…so that we could capture multiple addresses,…or we'd do specific addresses.…In our case we're going to, in a sense, cheat a little bit.…We're going to get the actual address…from the ingress controller.…And we're going to do that by asking for…basically the exact same thing we just did…you control get service here.…And then we're going to specifically pull out…the hostname and we're going to capture that.…
And then we're going to ask DNS to give us…the address of at least the first one of those…because it turns out that there're multiple addresses…behind that ingress controller.…So we're going to grab the ingress parameter…and if we do echo ingress, echo $ingress…then here we see the same ELB domain name…for our load balancers, so that's good.…And then the second thing that we need to do…is we need to get the actual IP address.…And we're going to do that with this export,…
- Setting up Kubernetes on AWS
- Scaling EKS workers
- Adding EKS storage and networks
- Configuring application security
- Monitoring EKS deployments