Menu

k3s Dual-Stack Install with Routable Pod and Service CIDRs from a Free /48
📰

k3s Dual-Stack Install with Routable Pod and Service CIDRs from a Free /48

DEV Community: kubernetes·IPYE·12 days ago
#vxxT2pVg
#devtokubernetes#devto#dev#ipv6#node
Long article (850 words) — no AI summary yet.
Reading 0:00
15s threshold

Disclosure up front: I run IPYE, a company that leases IP space. Most of this article is practical how-to; IPYE appears where a free /48, LOA, or ROA helps you try the work, with a short call to action at the end.

k3s is a lightweight Kubernetes distribution that installs with one command and suits labs, edge sites and small clusters. Dual-stack networking has to be chosen when the cluster is created, because pod and service ranges cannot easily change afterwards. This guide installs a dual-stack k3s cluster with IPv6 pod and service ranges taken from a free IPv6 /48 from IPYE , with pods routable from the rest of your network. Nodes live in 2001:db8:100:40::/64 .

Plan the ranges

pods: 2001:db8:100:4200::/56 , from which each node gets a /64

services: 2001:db8:100:43::/112 , a small block for cluster IPs

IPv4 pods and services: private ranges, as k3s defaults

Kubernetes limits the IPv6 service range to at most 20 host bits, so a /108 is the largest allowed and a /112 is a comfortable size.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.