Forum archive › Amazon Web Services ( AWS )
ArchiveAWS 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”}}'
kubectl patch service/”kibana-kibana” \
–namespace “default” \
–patch ‘{“spec”: {“type”: “LoadBalancer”}, “metadata”: {“annotations”: {“service.beta.kubernetes.io/aws-load-balancer-scheme”: “internal”}}}'
Attachment: command.txt
We do this for a living.
Kubernetes, DevOps and platform engineering, delivered in days — not another weekend lost to a stack trace.
Start a project →