mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-02-15 15:30:34 +00:00
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. kubeadm: Pull images early in `kubeadm init` by default kubeadm now pulls container images before the init step. * This commit also fixes a dependency cycle **What this PR does / why we need it**: This PR adds a check to kubeadm preflight checks that pulls images down before kubeadm tries to run them so boot up time of containers does not have to pull. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes kubernetes/kubeadm#825 **Special notes for your reviewer**: The interface stuff is to remove a dependency cycle where utils pulled in preflight and preflight pulled in utils. I do not think this utils package should be importing preflight. **Release note**: ```release-note kubeadm will pull required images during preflight checks if it cannot find them on the system ```