Files
floci/docs
Robin BaeckmanandRobin Baeckman 1476b0e219 feat(eks): advertise a configurable endpoint host (#6331)
endpoint-mode=host always returned https://localhost:<port>, so a cluster
was only usable from the machine running Floci. The new
floci.services.eks.endpoint-host (FLOCI_SERVICES_EKS_ENDPOINT_HOST) is
advertised instead, and added to the k3s certificate as a SAN so the
endpoint still verifies against the cluster CA. It follows rds.endpoint-host.

The value must be a DNS name, a dotted IPv4 address or an IPv6 address;
an IPv6 literal is bracketed in the endpoint URL. A scheme, port, path or
list stops Floci at startup, before persisted clusters are restored, so a
typo cannot leave every restored cluster FAILED.
Network mode inside a container advertises the container name, so it
ignores the setting.

The SAN is fixed when the container is created, so the container carries
the host it was made for as a label, and an adopted container advertises
that host rather than the configured one. When the two differ on restore,
the surviving container is replaced (data volume and port kept), as a
node-capacity change already does; if the replacement fails, the old
container stays and keeps advertising the host its certificate carries.
Unset, nothing changes: no label is added and existing containers are
adopted as before.

Co-authored-by: Robin Baeckman <27041454+RobinBaeckman@users.noreply.github.com>
2026-10-24 08:55:24 -04:00
..
2026-03-15 17:43:56 -05:00