Files
floci/docs
Priamo Germosen 39fbc98efe feat(eks): give the cluster node instance its primary network interface (#9273)
An EKS node's primary network interface carries the cluster security
group, and the AWS Load Balancer Controller reads both from the node's
instance: it finds the interface behind a pod address there and opens
the target's ports on that group. Floci's node instance had neither.

A node holding an address in its subnet now has a primary interface
there, at that address, holding the cluster security group, and the
instance holds the group too. A node without one, whose address is then
its container's on another network, has no interface. DescribeInstances
reports them, and DescribeNetworkInterfaces lists the interface as it
lists an instance's launch-created one, with the same filters. Its ids
derive from the cluster, so they survive a restart.
ModifyNetworkInterfaceAttribute and the IPv6 address calls on it are
refused with OperationNotPermitted, as the node's lifecycle actions are,
and the cluster security group cannot be deleted while the node holds
it.

EC2 keeps a copy of the node once an action such as
ModifyInstanceAttribute is stored. The copy now keeps only what such
actions change: its interfaces are its own, so a change no longer
reaches the record the cluster serves, and the node's address, subnet
and interfaces follow the cluster, which may replace the node. The copy
is stored only while the cluster serves the node. Deleting the cluster
ends the node in EC2 as terminating it would: the copy is dropped, and
volumes attached to the node are detached, or deleted when their
DeleteOnTermination is set. Otherwise the copy would stay a running
instance holding the cluster security group, and the volumes in use.

Part of #5929
2026-11-23 11:04:27 -04:00
..
2026-03-15 17:43:56 -05:00