kubeadm should not pull images for skipped addon phases (coredns, kube-proxy) #114979
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-sig
Indicates an issue or PR lacks a `sig/foo` label and requires one.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
What happened?
skipPhases: [ addon/coredns ]
specified in kubeadm init configurationkubeadm join
, kubeadm still tries to pull all imagesWhat did you expect to happen?
No image pull attempt for images belonging to skipped phases.
How can we reproduce it (as minimally and precisely as possible)?
Not needed. The current functionality is very clear – see
GetControlPlaneImages
in code:Anything else we need to know?
This also reduces unnecessary network throughput and is therefore in line with KEP 3000 goals.
kubernetes/kubeadm#1842 is quite similar.
Kubernetes version
master
Cloud provider
any
OS version
No response
Install tools
No response
Container runtime (CRI) and version (if applicable)
No response
Related plugins (CNI, CSI, ...) and versions (if applicable)
No response
The text was updated successfully, but these errors were encountered: