Kubernetes: Four Ways to Punch Out

blog Jun 16, 2025
Glass Joe

In my day job I work with EKS, where I almost exclusively rely on LoadBalancer and ClusterIP Services for external and internal networking, respectively. Things are often not so straightforward in the homelab or on local, temporary clusters, and every once in a while I find myself needing a refresher on what my other options are. Here are the four essential ways to let external traffic into your cluster:

  1. LoadBalancer Service type
  2. NodePort Service type
  3. pod.spec.containers.ports.hostPort field
  4. kubectl port-forward command