Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The alternative to NodePort is using a LoadBalancer (see below).

Ingress Loadbalancer

If you're running on GCE, you will need to run a GLBC to handle routing your ingress traffic.

For all other platforms, an nginx instance running within your cluster can serve as the Ingress LoadbalancerSee 

In addition to routing traffic to your running services, these loadbalancers can also handle things like TLS-termination, authentication via basic-auth (working) or OAuth2 (still in ongoing development), and providing unified custom error messages for all services.

Caveats:

  • The pod must run on a node with a Public IP
  • Your server must have a real DNS OR you must run your own bind DNS server within the cluster

...