-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
fix: resolve incorrect kubelet version on e2e compat versions test using 2 step upgrade process #34304
base: master
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aaron-prindle The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/sig api-machinery /assign @BenTheElder |
abc639c
to
92364f7
Compare
…ing 2 step upgrade process
92364f7
to
00dbf13
Compare
50f5786
to
18d36a9
Compare
18d36a9
to
636c64d
Compare
/cc @Jefftree |
2b7631f
to
6e04fc0
Compare
experiment/compatibility-versions/e2e-k8s-compatibility-versions.sh
Outdated
Show resolved
Hide resolved
experiment/compatibility-versions/e2e-k8s-compatibility-versions.sh
Outdated
Show resolved
Hide resolved
6e04fc0
to
e3f7425
Compare
update_kubelet() { | ||
for n in $NODES; do | ||
# Backup previous kubelet | ||
docker exec $n cp /usr/bin/kubelet /usr/bin/kubelet.bak |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Todo: use something like which kubelet
to avoid depending on the exact path.
for n in $CONTROL_PLANE_NODES; do | ||
for i in $CONTROL_PLANE_COMPONENTS; do | ||
kind load image-archive ${IMAGES_PATH}/${i}.tar --name ${CLUSTER_NAME} --nodes $n | ||
docker exec $n sed -i.bak -r "s|^(.*image\:.*)\:.*$|\1-amd64\:${DOCKER_TAG}|" /etc/kubernetes/manifests/$i.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This path is at least a kubeadm default
fixes #33849