-
Notifications
You must be signed in to change notification settings - Fork 716
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
kubeadm add flag to enable parallel image pulling by default #2780
Comments
do you think this is the default all users want? @SataQiu wdyt? |
https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/#create-the-config-file
The Already used in gce and e2e_node test: |
I'm +1 for adding a |
My key point here is to set it by default like Rancher and some other kube-installers. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
In kubernetes/kubernetes#114552, it was a try to change "serialize-image-pulls" from true to false. Then we added a new feature kubernetes/enhancements#3713. In the near future, we may be able to modify to parallel image pulling. |
@pacoxu Is anyone working on this? I would like to take a peek to contribute back if that's okay. |
@frederiko the final solution is not decided yet. Either is OK now. I hope the 1 can happen soon. See more at kubernetes/kubernetes#108405 (comment).
|
since kubeadm shells to crictl during config images pull, init, join, upgrade, etc... we could add a kubeadm option in config and flag to opt out of parallel pulls. at least this is my understanding? kubelet pulls are a separate feature and be controlled with kubelet config and flag. |
I see. I may have misread it here. I thought a config would be added and a decision about leaving it on or off would be done at later point, following whichever direction sig-node goes, option 3 in such case. |
looking at the history here again: i think we should not make kubeadm deploy a kubelet with changing defaults is not great, because you break an API contract - users with slow connections expect one pull at a time, but then they might not be happy with a parallel pull. what we can do in kubeadm is to add an API field that controls the kubeadm image pulls to be parallel ( if people are +1 to the above we can add this new field to v1beta4. |
For kubelet side, we may wait for the progress and it may be a long journey. (I check with dragonfly https://github.com/dragonflyoss/Dragonfly2, a p2p image acceleration system will leave 5% of the max io for other system threads. In containerd or other container runtime, this is not supported yet.) +1 for the proposal. Then we may rename this issue to be something like
For parallel image pulling, the most concerned issue is that the disk will in heavy load if we pull many images at a time.
|
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
looks like we forgot to add ImagePull* controls to UpgradeConfiguration https://github.com/kubernetes/kubernetes/blob/master/cmd/kubeadm/app/apis/kubeadm/v1beta4/types.go#L261-L271 cc @calvin0327 currently we pull images on upgrade during preflight for "node" and "apply" so we should allow the same config as in "init" and "join", we should finish this for 1.31. |
Yes. /priority important-soon |
we shouldn't add noderegistration in upgrade config structs, but the two options for image policy and parallel pul can be either in:
|
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
Originally posted in kubernetes/kubernetes#108405 (comment)
This is a custom flag of kubelet and in rancher, they already switch to enable it by default.
Several ways we can promote parallel image pulling
/kind feature
edit by neolit123
API change proposal here:
#2780 (comment)
v1beta4 PRs
The text was updated successfully, but these errors were encountered: