January 2019
Intermediate to advanced
484 pages
11h 48m
English
Creating an internet-facing load balancer consists of the same steps as an internal load balancer, but there's no need for an annotation (service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0):
$ cat external-elb.yaml apiVersion: v1kind: Servicemetadata: name: nginx-externalspec: ports: - protocol: TCP port: 80 type: LoadBalancer selector: project: devops-with-kubernetes app: nginx$ kubectl create -f external-elb.yaml service "nginx-external" created
When you check the AWS Web Console, you can see that Scheme is internet-facing as follows:

You can access the ELB from your laptop as well:
As you can ...
Read now
Unlock full access