Dual-Stack Networking (IPv4/IPv6) on kind
Expert · 45 minutes · 5 tasks, checked automatically · 100 points
In this expert-level lab you will configure a kind cluster to run in dual-stack mode (IPv4 + IPv6), deploy workloads that receive both an IPv4 and an IPv6 address, expose them via dual-stack Services, and verify end-to-end connectivity on both protocol families. Dual-stack Kubernetes is a foundational skill for modern production networks and is fully supported since Kubernetes v1.23. All work is performed inside the toolbox container against a locally-provisioned kind cluster.
What you’ll learn
- Re-create a kind cluster with a dual-stack (IPv4/IPv6) configuration so that both the pod CIDR and the service CIDR carry both address families
- Deploy a workload and verify that each Pod receives both an IPv4 and an IPv6 address
- Expose the workload with a dual-stack Service and confirm reachability on both protocol families using kubectl port-forward
How this lab works
- Start the lab: One click starts a real Kubernetes cluster on your computer (kind), with kubectl ready in a toolbox terminal.
- Work through 5 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work reads your live cluster and says, task by task, what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Cluster: A real Kubernetes cluster on your computer (kind)
- Kubernetes: 1.34.8
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
- A dual-stack kind cluster created in the Kubernetes Playground (tick "Dual-stack networking (IPv4 + IPv6)")
Topics: dual-stack, ipv4, ipv6, networking, kind, clusterip, service, pod-cidr, kubernetes
Create a free account to start this lab.
Keep going
- Traffic Management with Istio (Sidecar, VirtualService, DestinationRule)
- Progressive Traffic Shifting and Mirroring with Istio
- eBPF Networking and Flow Observability with Cilium + Hubble
- TLS Termination at the Ingress with Kubernetes Secrets
- EndpointSlices: How Services Track Pod Endpoints
- The Gateway API: Routes, Gateways, and GatewayClasses