Closed TomatoAres closed 3 years ago
@TomatoAres: This issue is currently awaiting triage.
If a SIG or subproject determines this is a relevant issue, they will accept it by applying the triage/accepted
label and provide further guidance.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
if you wish to conform kubeadm you can upload your custom image to your private registry and create a tag / alias for the version that kubeadm needs.
in your example kubeadm needs 3.4.1
you can upload your 3.2
and alias the tag to be 3.4.1
.
IMPORTANT: kubeadm currently does not support custom pause images. in the long term the pause image will no longer be known in the kubelet and kubeadm and flags such as pod-infra-container-image will be removed. it will be only known in the container runtime configuration and by the CRI.
/kind support /close
@neolit123: Closing this issue.
/area kubeadm
/sig cluster-lifecycle
What happened:
When I upgrade my k8s cluster
1.20.4->1.21.4
with customized configuration to ensure pause image doesn't upgrade,but upgrade step is failed in preflight:
[preflight] Some fatal errors occurred: [ERROR ImagePull]: failed to pull image registry.tke.com/library/pause:3.4.1:
I found this error occurs in this link
preflight->CheckClusterHealth->CheckClusterHealth->createJob
,And the job work with a constant--hard code version pause image.
And I
What you expected to happen:
I expected the pause image version could be customized by configuration
I don't want to pull a new version pause image which is not necessary.
How to reproduce it (as minimally and precisely as possible):
kubeadm upgrade apply kubernetes version
1.20.4->1.21.4
without3.4.1
pause imageAnything else we need to know?:
Environment:
kubectl version
):1.20.4->1.21.4
cat /etc/os-release
):centos 7.9
uname -a
):Linux global 3.10.0-1160.31.1.el7.x86_64 #1 SMP Thu Jun 10 13:32:12 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux