Forum Navigation
You need to log in to create posts and topics.

AWS EKS – Expose Load Balancer External / Internet IP

Problem 

User wants to expose service outside of the cluster for example kibana by default installed with svc type ClusterIP

Solution

In order to expose the kibana outside of the cluster you need to either configure ingress or expose service as LoadBalancer

This will apply Loadbalancer with AWS External IP address attached to the service

kubectl patch service/”kibana-kibana” \
–namespace ”default” \
–patch ‘{”spec”: {”type”: ”LoadBalancer”}}’
or if you want to use Internal IP’s
kubectl patch service/”kibana-kibana” \
–namespace “default” \
–patch ‘{“spec”: {“type”: “LoadBalancer”}, “metadata”: {“annotations”: {“service.beta.kubernetes.io/aws-load-balancer-scheme”: “internal”}}}’
Uploaded files:

Sample kibana.yaml service

Uploaded files: