mirror of
https://github.com/imjasonh/kontain.me
synced 2026-07-18 14:47:48 +00:00
document wait
This commit is contained in:
parent
c449bb59bd
commit
9beb876dcd
2 changed files with 12 additions and 0 deletions
|
|
@ -29,3 +29,13 @@ This screencast requests an image that should exist in five seconds, then waits
|
|||
to see it appear and checks that it's valid.
|
||||
|
||||
[](https://asciinema.org/a/JUiiq33BaGF3NGx10PP6uvETf)
|
||||
|
||||
## Why?
|
||||
|
||||
This demonstrates being able to asynchronously produce an image, rather than
|
||||
blocking the initial pull HTTP request until the image is available.
|
||||
|
||||
A container orchestrator like Kubernetes would pull this image and report
|
||||
`ImagePullBackoff` until the image was finally served, at which point it would
|
||||
pull and run it. In the meantime, the registry could be building or mirroring
|
||||
or modifying the image in the background.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue