Skip to content
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

Kubernetes upgrade needs a more intelligent upgrade path detector. #4

Open
sofusalbertsen opened this issue Mar 20, 2024 · 0 comments

Comments

@sofusalbertsen
Copy link
Contributor

kubectl get nodes -o 'jsonpath={.items[0].status.nodeInfo.kubeletVersion}'
local version_string=v1.27.1
echo v1.27.1
v1.27.1
++ echo v1.27.1
++ cut -d. -f1
local major=v1
++ echo v1.27.1
++ cut -d. -f2
local minor=27
++ echo v1.27.1
++ cut -d. -f3
local patch=1
'[' 1 -gt 0 ']'
patch=0
local next_minor=28
echo v1.28.0
NEXT_VERSION=v1.28.0
v1.28.0
upgrade_kubernetes
echo 'Upgrading Kubernetes to version v1.28.0...'
Upgrading Kubernetes to version v1.28.0...
./talosctl-v1.4.8 -n 192.168.1.109 -e 192.168.1.109 upgrade-k8s --to v1.28.0
automatically detected the lowest Kubernetes version 1.27.1
unsupported upgrade path 1.27->1.28 (from "1.27.1" to "1.28.0")
@sofusalbertsen sofusalbertsen changed the title Kubernetes upgrade does not work Kubernetes upgrade needs a more intelligent upgrade path detector. May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant