k8s: the ca-trust publisher no longer holds multi-user.target while it waits for the setup
This commit is contained in:
parent
3213bfba7a
commit
adbe85e427
1 changed files with 14 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue