1.

What are the different ways to provide external network connectivity to K8?

Answer»

By DEFAULT, POD should be able to reach the external network but vice-versa we NEED to make some changes. Following options are available to connect with POD from the outer world.

  • Nodeport (it will expose one port on each node to COMMUNICATE with it)
  • Load balancers (L4 layer of TCP/IP protocol)
  • Ingress (L7 layer of TCP/IP Protocol)

Another method is to use Kube-proxy which can expose a service with only cluster IP on the local system port.

$ kubectl proxy --port=8080 $ HTTP://localhost:8080/api/v1/proxy/namespaces//services/:/



Discussion

No Comment Found