run the metrics store and its auth responders as pods
This commit is contained in:
parent
3f71739852
commit
07a004fad1
1 changed files with 1308 additions and 1031 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue