Files
floci/docs/services
Priamo Germosen e82be2c5f5 feat(eks): give pods addresses from the VPC prefixes their node holds (#9288)
Pods got k3s's flannel addresses (10.42.0.0/16), which nothing outside
the node reaches, so a target group with TargetType ip, which the AWS
Load Balancer Controller registers, never saw a healthy target.

With floci.services.eks.vpc-pod-network, pods now take their addresses
from the /28 prefixes their node holds, as the VPC CNI's prefix
delegation gives them. k3s starts without flannel and its network
policy controller, with the VPC's range as its cluster CIDR, and the
node's entrypoint sets up the rest before k3s starts: the CNI plugins
the image ships, linked where containerd looks with flannel off, a
bridge holding each prefix's gateway address, host-local handing out
the prefixes, proxy ARP on the interface holding the node's VPC
address, as the VPC delivers a prefix's traffic to its interface, and
SNAT for traffic leaving the VPC only. Inside the VPC pods keep their
own addresses, so Floci's health checks and load balancers reach them.

The IMDS and Pod Identity rules for pod traffic match the prefixes
instead of 10.42.0.0/16. A surviving node started with another pod
network, or with prefixes it no longer holds all of, is replaced on its
data volume, as one with another capacity is. disable-cni, or a node
without an address or prefix in a Docker-backed subnet, keeps k3s's
own network, with a warning.

Closes #5929
2026-11-23 14:10:18 -04:00
..