Repository navigation
docs(soak): the SVID-rotation signal is the agent's rotated counter, not the originator SDS version gauges (#992) - #1010
Merged
Conversation
…not the originator SDS version gauges (#992) The per-connection cert selector's own SotW SDS stream (#865) re-serves an originating identity's secret on every snapshot bump, and Envoy keys SDS stats by secret name, so envoy_sds_*_version over-reads rotations ~50x for those identities. Name aether_agent_spire_svid_updates_total{update="rotated"} as the signal in the soak README and runbook, with the PromQL and the why. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Finding
envoy_sds_spiffe_aether_internal_ns_<ns>_sa_<sa>_versionis bimodal per node over an 8 h soak.aether_agent,prober,mp_dialer,default,authz_canary,uds_client) change 258–283 times, in bursts of ~12 at every svc roll; every other identity moves 5–18 times, which is its real rotations.sds.<name>.versiongauge.aether_agent_spire_svid_updates_total{aether_spire_update="rotated"}. It matched thepod SVID rotatedlog lines exactly on 2026-09-19 and 2026-09-27.Why no code change
The two subscriptions can't be split into separate stats without renaming the SDS resources, and that would be a protocol-visible change to fix a metric's name. We already have a counter that gives the right answer, so this PR documents it instead.
What changed
e2e/soak/README.md: the SVID-rotation bar now names the counter as the signal and gives the per-nodeincrease(...[8h])PromQL. It says the originator gauges over-read by about 50× and explains why, and notes thatunchangedfires once at the daily 16:05Z JWT-key prepare. The QUIC-leg prerequisite comment now gates onrotatedand no longer uses the SDS gauges.docs/runbook.md: the dnsNameTemplates order-of-operations now gates on therotatedcounter. The "Is rotation happening?" section gets a paragraph explaining why the gauges can't be used (fix(agent): give the certificate selector its own SDS stream (#842) #865/spire/xds: the originating-client SDS version gauges change on every svc roll (~260/8h) — they cannot be read as SVID rotation #992). Theinit_fetch_timeoutguidance is unchanged.envoy_sds_*, so there are no panel fixes and no chart bump.Closes #992
🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr