Files
floci/src
Robin BaeckmanandRobin Baeckman aeb798939b fix(eks): replace a surviving k3s container left on another Docker network (#6063)
When Floci runs in a container and restarts on a different Docker network
(FLOCI_SERVICES_DOCKER_NETWORK changed, or Floci moved from host networking to a
bridge), restoreCluster adopted the surviving k3s container where it was. Docker
isolates bridge networks from each other, so Floci could not reach the API
server, the readiness poller never marked the cluster ACTIVE, and every add-on,
access entry and access policy call kept failing with "Cluster must be ACTIVE".

A survivor that is not on the network Floci now starts clusters on is replaced,
the way a survivor whose node capacity changed already is: the data volume is
kept, so the workloads come back. Floci on the host reaches k3s through the
published port, so there a survivor is kept wherever it is.

Co-authored-by: Robin Baeckman <27041454+RobinBaeckman@users.noreply.github.com>
2026-10-20 07:10:09 -04:00
..