Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a disposable local Kubernetes cluster, use kind. To exercise a Kubernetes Service with spec.type: LoadBalancer on kind, add Cloud Provider KIND; kind alone does not provision that load balancer. If you only need a convenient host port, use kind’s extraPortMappings instead. Those approaches expose traffic differently, so choose based on what you need to test.

Choose how traffic should reach your local service

Kubernetes defines the LoadBalancer Service type, but an implementation or provider must provision or emulate the external load balancer. In a cloud environment, the provider determines how traffic is balanced. A local cluster needs its own corresponding mechanism; setting type: LoadBalancer by itself is not enough. See the Kubernetes Service documentation.

Approach Use it when What it does
kind with Cloud Provider KIND You want to test a LoadBalancer Service on kind. A separate host process provisions load-balancer containers for Services.
kind with extraPortMappings You need simple host access to a service, such as from a browser or local client. Forwards a host port to a kind node; it does not implement the LoadBalancer controller contract.
Minikube with minikube tunnel Your cluster is Minikube and you want to access a LoadBalancer Service. Creates a host route to the service CIDR while the tunnel process runs.
MetalLB You want to learn bare-metal-style IP allocation and announcement. Allocates addresses from a configured pool and announces them on the network.

The steps below use kind and Cloud Provider KIND, a practical match when local development requires a real LoadBalancer Service workflow. For a port-forwarding-only setup, skip to kind host port mappings.

Create a kind cluster

Check prerequisites

Install kind, kubectl, and a running container runtime. The kind Quick Start lists Docker, Podman, and nerdctl autodetection, and notes that Podman and nerdctl commonly run rootless and may need extra setup. Its stable-release reference at the time checked was v0.33.0; consult the Quick Start for current installation and release details. If you need a particular Kubernetes version, select a release-specific kind node image as described there.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

Create and inspect the cluster

  1. Create a cluster named dev and wait up to 60 seconds for it to be ready:

    kind create cluster --name dev --wait 60s
  2. Check the cluster connection and confirm the node is ready:

    kubectl cluster-info --context kind-dev
    kubectl get nodes

kind creates container-backed Kubernetes nodes and writes kubeconfig information for kubectl. A cluster named dev is addressed with the kind-dev context. The --wait value is a timeout, not a guarantee that creation will succeed if prerequisites or runtime access are missing.

Run Cloud Provider KIND for LoadBalancer Services

Cloud Provider KIND runs on the host separately from the cluster. It needs permission to open system ports and access the container runtime, and it creates separate load-balancer containers for Services. The official kind LoadBalancer guide documents installation using Go or a released binary. Its example command is:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
go install sigs.k8s.io/cloud-provider-kind@latest

@latest is a moving target. For repeatable team setup, follow the release instructions and pin a released version rather than relying on a changing latest version. Start the provider according to those instructions and leave it running while you use LoadBalancer Services.

Deploy and verify a LoadBalancer Service

The kind-maintained LoadBalancer example deploys two agnhost echo pods behind one Service. The Service listens on port 5678 and sends traffic to pod port 8080. Use the official example YAML rather than rebuilding the sample from scratch.

  1. Apply the example manifest:

    kubectl apply -f https://kind.sigs.k8s.io/examples/loadbalancer/usage.yaml
  2. Check the Service and its events:

    kubectl get svc
    kubectl describe svc foo-service
  3. Read the provisioned address and send several requests:

    LB_IP=$(kubectl get svc/foo-service -o=jsonpath='{.status.loadBalancer.ingress[0].ip}')
    curl "$LB_IP:5678"

Kubernetes publishes provisioned load-balancer information in the Service status. The two echo backends make repeated requests useful for checking that traffic reaches the Service’s pods; the example is not a performance test.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Use a locally built application image

To run an image built on your machine, load it into the kind cluster with kind load docker-image, as described in the kind Quick Start. Use a specific image tag and configure the workload’s pull policy appropriately. If an image tag is omitted or set to :latest, Kubernetes defaults the pull policy to Always, which can make the node try to pull an image instead of using the copy loaded locally.

Alternative: forward a host port with kind

If your goal is simply to reach an app from the host, configure extraPortMappings in the kind cluster configuration before creating the cluster. This forwards a host port to a kind node and is a cross-platform option that kind specifically recommends for Docker Desktop. It is port forwarding, not a LoadBalancer implementation. See kind configuration.

For a NodePort Service, the kind node’s mapped containerPort must match the Service’s nodePort. Choose this route when host connectivity matters more than testing load-balancer provisioning or status behavior.

Alternative: use Minikube’s tunnel

With Minikube, run minikube tunnel in a separate terminal while testing a LoadBalancer Service. It creates a host route to the service CIDR; the process must remain running. Without the tunnel, a Service’s external IP remains pending. The tunnel changes host routes, so network permissions and platform behavior can matter.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

When the command is interrupted, routes are cleaned up. If Minikube shuts down abruptly and leaves an orphaned route, its access handbook documents minikube tunnel --cleanup.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Alternative: learn address allocation with MetalLB

MetalLB is useful when the learning goal is a bare-metal-style address allocation and announcement workflow, rather than kind’s provider-backed load-balancer containers. Installing MetalLB alone leaves its controller and speaker idle. Configure an IPAddressPool with addresses suitable for the network and clients in your setup, then configure an announcement method. For Layer 2, pair the pool with an L2Advertisement; MetalLB answers ARP requests on the local network. Start with the project’s installation and configuration documentation.

In Layer 2 mode, externalTrafficPolicy changes source-IP handling and backend eligibility. With Cluster, traffic can reach all Service pods through kube-proxy, but the original source IP is obscured. With Local, the source IP is preserved by limiting forwarding to local pods, which can leave some replicas without traffic. MetalLB explains the behavior in its usage guide.

Troubleshoot a Service that has no external IP

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.