How can I expose Envoy Gateway without a load balancer?

0
28
Asked By CuriousCoder42 On

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?

3 Answers

Answered By TechieTina23 On

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!

Answered By CloudNinja99 On

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!

Answered By K8sGuru77 On

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.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.