Watch
0
0
Fork
You've already forked hyperhive
0

k8s: the ca-trust publisher no longer holds multi-user.target while it waits for the setup

This commit is contained in:
atlas 2026-11-27 03:41:11 +01:00
commit 77509463b1

View file

@ -93,7 +93,12 @@ have the units. To leave the cluster, switch to an older generation.
All are public certificates. The unit waits for the cluster and for the
files, and a pod that mounts the ConfigMap waits in `ContainerCreating` until
the unit has run. A path unit watches both files and runs the unit again when
the unit has run. The unit is `Type=simple`, so it doesn't hold
`multi-user.target` while it waits: the store's and the hive's CA files come
from the [setup](../../1-getting-started/setup.md), which runs after the host
has booted. The kubelet retries a failed volume mount with a backoff of up to
two minutes, so a pod that was waiting starts up to two minutes after the unit
has published. A path unit watches both files and runs the unit again when
either changes, with no manual step. A running pod doesn't see a changed
trust bundle until it restarts, because the kubelet doesn't update `subPath`
mounts.