docs: the CI run poller's runtime, cursor volume, own telemetry route and CA ConfigMap
This commit is contained in:
parent
9ca8a6eebf
commit
d747a63ca8
1 changed files with 90 additions and 21 deletions
|
|
@ -25,6 +25,27 @@ the system CAs and the host's `trust-bundle.pem` into
|
|||
`SSL_CERT_FILE` ([CA](ca.md#the-trust-bundle)). Without it, every pass fails
|
||||
with `invalid peer certificate: UnknownIssuer`.
|
||||
|
||||
### In the cluster
|
||||
|
||||
With `deploy.ci-metrics.runtime = "k8s"` (and `deploy.k8s.enable`) the host has
|
||||
neither the service nor the timer, and the poller is a CronJob in the host's
|
||||
cluster, on the timer's interval. A switch moves the poller, so one runs at any
|
||||
time ([the runtime switch](../k8s/runtime.md)). The pod differs from the unit in
|
||||
three places:
|
||||
|
||||
- It pushes to the same route of the swarm collector, with the bearer it mints
|
||||
each pass, not to the hive collector the other pods push to. A series that
|
||||
went through the hive collector would carry a `hive` label, and a swarm-level
|
||||
series must not.
|
||||
- It logs in to the store with its ServiceAccount token, so it holds no client
|
||||
certificate and doesn't push the `bao.client_cert.*` gauges the unit pushes.
|
||||
- Its one credential file is the store's CA, from the `hyperhive-ca-trust`
|
||||
ConfigMap.
|
||||
|
||||
The cursor is in a volume of the cluster, `swarm-ci-metrics-state`. A switch
|
||||
copies no cursor, so the first pass on a side that has none pushes every run
|
||||
again, which changes no panel, as after a crash.
|
||||
|
||||
## What it reads, and as whom
|
||||
|
||||
| what | where | identity |
|
||||
|
|
|
|||
Loading…
Reference in a new issue