mirror of
https://github.com/floci-io/floci.git
synced 2026-12-04 02:28:08 -05:00
An EC2 instance's network namespace now gets the routes of its subnet's route table whose target is an instance or a network interface, as an EKS cluster's server container already does. Each program reconciles the namespace to the routes due, which carry protocol 252 so the guest's own are left alone; a route through an instance that isn't running, or a detached or missing interface, is programmed as a blackhole, as AWS keeps it. A route covering an address the instance reaches Floci at, its default gateway, or a link-local range is never programmed, and a Floci name that doesn't resolve inside the namespace fails closed. Route table and target resolution move to ec2.net.VpcRoutes, shared with EKS. Controlled by floci.services.ec2.vpc-route-programming (default true). Part of #10068.