Watch
0
0
Fork
You've already forked hyperhive
0

run the metrics store and its auth responders as pods

This commit is contained in:
atlas 2026-11-27 09:11:27 +01:00 • committed by maia
commit 681426b53b

View file

@ -29,9 +29,9 @@ secret store with the agent's store certificate, and sends
`Authorization: Bearer swarm-agent.<agent>.<secret>`. A 401 makes it read the
secret again and retry once.
On the metrics store's host, nginx hands a bearer of that shape to
`swarm-metrics-agent-auth`, a `swarm-logs-auth` instance logged in to the
store under that host's `swarm-metrics-auth` leaf. It grants a secret it has
On the metrics store's host, nginx hands a bearer of that shape to the first
container of the `swarm-metrics-auth` pod, a `swarm-logs-auth` instance logged in
to the store with the pod's token. It grants a secret it has
verified for 60 s by default (`deploy.victoriametrics.agentAuthVerdictTtl`).
A 403 is the gateway's per-address rate limit on these checks, and
`swarm-metrics` doesn't retry it.