Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable serializeImagePulls to speed up image pull #2294

Open
4 tasks
zeroalphat opened this issue May 19, 2023 · 0 comments
Open
4 tasks

Disable serializeImagePulls to speed up image pull #2294

zeroalphat opened this issue May 19, 2023 · 0 comments

Comments

@zeroalphat
Copy link
Contributor

What

By default, kubelet pulls container images in serial, and pulling a container image of a large size will cause other container images to wait to be pulled.
The kubelet configuration can be changed to pull container images in parallel, but this will result in an unlimited number of container image pulls.
If unlimited number of container images are pulled, disk IO and network bandwidth may be overloaded.

How

A setting called maxParallelImagePulls is added to kubernetes 1.27 to control the number of container images that can be pulled in parallel.
When we are finished with kubernetes 1.27, we will disable serializeImagePulls and configure maxParallelImagePulls.

Checklist

  • Finish implementation of the issue
  • Test all functions
  • Have enough logs to trace activities
  • Notify developers of necessary actions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant