authz-bridge: readiness gate + leader-election coupling blocks HA scaling #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Background
Added a readiness gate so the bridge does not serve traffic before its config store is loaded (fixes cold-start 403 'unknown host' via /readyz returning 503 until apps are present). See internal/check readiness wiring in cmd/main.go and internal/configstore.
Temporary fix applied
Removed --leader-elect from config/manager/manager.yaml and the running deployments. This was required because:
With a single replica this is fine and rolling upgrades are clean.
Scaling concerns to resolve later (do not ignore before scaling to >1 replica)
Recommended future direction
Decouple the store-sync from the leader role so every replica can populate its store and satisfy readiness independently (e.g. a per-pod controller 'initial sync done' flag), so the readiness gate works with leader election + HA. Revisit leader-elect policy for the intended replica count.
Status
Blocking only for >1 replica scaling. Current single-replica deployment is healthy; rolling upgrades verified clean (all requests redirect, no cold-start 403).