How can I expose Envoy Gateway without a load balancer?
Asked by
CuriousCoder42
I'm currently using Envoy Gateway as the Gateway API for my Kubernetes cluster, but I don't have a load balancer set up. I know NodePort is an option, but I've heard that the port number can be chosen randomly. Is there a way for me to specify this port so I can set up firewall rules for external access?
Answers
If youโre looking for alternatives, you have a few options: stick with NodePort and specify a port, use host networking (you'll need to track where it runs), or consider a fake load balancer like MetalLB or Cilium to handle the traffic.
Reply to this answer
Using NodePort, you can define a default port number for your service, which simplifies your firewall setup. Just set it in your service manifest and youโre good to go!
Reply to this answer
You can actually set a specific NodePort in your service configuration. That way, you'll know exactly which port to open up in your firewall for external traffic. It's a lot easier than relying on randomly assigned ports!
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions