Skip to content

registrar (kubernetes backend): a DRAINING mark reaches only the replica that received it — cross-replica propagation not measured #1124

Closed

Description

@bpalermo

Split out of #1103. With the etcd backend (talos-main) the registrar replica that receives a drain mark writes it and the peer replica's etcd watch picks it up in ~0.14 s; #1118 also made the write-behind queue flush on enqueue. With the kubernetes registry backend (the chart default) the DRAINING mark is kept only on the replica that received it, per the #1118 analysis — agents connected to the other replica would learn it only via whatever sync that backend does. Not measured on any cluster (talos uses etcd).

To do: establish from code how the kubernetes backend shares endpoint health/drain state between registrar replicas (leader-only writes? informer on a shared object?), measure the cross-replica delay on kind with 2 registrar replicas (e2e/drain-propagation.sh from #1118, backend switched), and fix if it exceeds ~1 s.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions