Bound /readyz so kubelet probes cannot hang the Service
/readyz walked the hash chain and opened pooled connections with no libpq connect_timeout, so a 2s kubelet probe never saw a response and the pod stayed unready. Informed Decision accept is blocked on that. Probe health() only, under a 1.5s budget, publish last-known tamper_evidence, and fail TCP handshake in 1s. Integrity stays on /v1/integrity. Assistant: grok Assistant-Session: 01a0a182-bab7-7f11-b32b-d06f3af52082
This commit is contained in:
parent
e7e054d8d6
commit
b0e6792cf0
9 changed files with 276 additions and 18 deletions
|
|
@ -109,8 +109,11 @@ operator establishes that copy, the delivered control is "defends against a
|
|||
database owner", and no stronger claim may be made from it.
|
||||
|
||||
Before the first run the ConfigMap is empty and `/readyz` reports
|
||||
`tamper_evidence: false` with reason `no_attestation`. That is the correct
|
||||
day-one state, not a regression.
|
||||
`tamper_evidence: false`. That is the correct day-one state, not a
|
||||
regression. `/readyz` itself does not walk the chain: it publishes the
|
||||
last evaluated claim, or `false` if none, so a 2-second kubelet probe
|
||||
cannot take the pod out of the Service. The walk lives on
|
||||
`/v1/integrity` and `retention_policy`.
|
||||
|
||||
Do not write the attestation into the Barman prefix
|
||||
(`platform-pg/` on `resource:platform:audit-storage`). That copy is
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue