Skip to content

why do i need to pull images over and over again? #6360

Answered by brandond
samuelkees asked this question in Q&A
Discussion options

You must be logged in to vote

Images are pruned when you get low on disk space on the image filesystem. Raising the GC thresholds isn't a great idea, you'll probably just run out of space and have a completely different set of problems. The best way to resolve this is just to use a larger disk on your node.

Also, that's not the right syntax for a yaml file. You'd want something like:

kubelet-arg:
- image-gc-high-threshold=99
- image-gc-low-threshold=98

If pulling images is slow, you may want to look into setting up a local registry mirror, where you can have more control over which images are cached and for how long.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@ChristianCiach
Comment options

@zmansuroglu
Comment options

@brandond
Comment options

@zmansuroglu
Comment options

@brandond
Comment options

Answer selected by dereknola
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants