Forum breadcrumbs – You are here:Tracston Community Forum – DevOps, Micro Services, Cloud, Infrastructure, Development, Monitoring and more…Cloud Services: Amazon Web Services ( AWS )AWS EKS – Expose Load Balancer Ex …
You need to log in to create posts and topics.
AWS EKS – Expose Load Balancer External / Internet IP
moshe@moshe
#1 · 23/12/2021, 10:39 pm
Quote from moshe on 23/12/2021, 10:39 pmProblem
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’skubectl patch service/”kibana-kibana” \
–namespace “default” \
–patch ‘{“spec”: {“type”: “LoadBalancer”}, “metadata”: {“annotations”: {“service.beta.kubernetes.io/aws-load-balancer-scheme”: “internal”}}}’
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
Uploaded files:kubectl patch service/”kibana-kibana” \
–namespace “default” \
–patch ‘{“spec”: {“type”: “LoadBalancer”}, “metadata”: {“annotations”: {“service.beta.kubernetes.io/aws-load-balancer-scheme”: “internal”}}}’
Click for thumbs down.0Click for thumbs up.0
moshe@moshe