k8s-join: wait through a pull from a peer that fails first, and print the registry state when it keeps failing
This commit is contained in:
parent
44670249b6
commit
87349989ac
1 changed files with 43 additions and 3 deletions
|
|
@ -83,8 +83,9 @@ enables for mirroring, and the upstream registry doesn't have to exist
|
|||
host and not `"*"`, so the node's pulls of public images stay direct.
|
||||
|
||||
A pod that lands on a node without its image, a node that joined, pulls the
|
||||
image from a peer that holds it (`imagePullPolicy: IfNotPresent`). If no peer
|
||||
holds it, for instance because the main node is down and the node never had
|
||||
image from a peer that holds it (`imagePullPolicy: IfNotPresent`). The first
|
||||
pull on a node that has just joined can end in `ErrImagePull`, and the kubelet
|
||||
retries a failed pull. If no peer holds it, for instance because the main node is down and the node never had
|
||||
the image, the pull fails with the host's name in the error, and the pod
|
||||
retries once a peer has the image. Images a node holds stay: k3s doesn't
|
||||
prune imported tarball images. The mirror doesn't share a `latest` tag, and
|
||||
|
|
|
|||
Loading…
Reference in a new issue