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

Upgrade Kubernetes #1769

Closed
jefflill opened this issue Apr 14, 2023 · 1 comment
Closed

Upgrade Kubernetes #1769

jefflill opened this issue Apr 14, 2023 · 1 comment
Labels
bug Identifies a bug or other failure build Build or publication related issues neon-kube Related to our Kubernetes distribution

Comments

@jefflill
Copy link
Collaborator

We should upgrade Kubernetes to a more recent release. We're currently on v1.24.0 with the current release being v1.27.0, so we're pretty far back.

I tried upgrading to v1.24.12 as an interim step and it seemed to work: I rebuilt the Hyper-V node image and was able to deploy a new cluster successfully, or at least thought I was able to. I'm starting to wonder if the branches got mixed up and the new cluster wasn't actually upgraded.

So Kubernetes cluster initialization is failing. The first problem was that kubeadm was trying to pull containers like apiserver:1.24.12 but these images were not included in our node image. The problem here was that the neonCLOUD image publish scripts had hardcoded v1.24.0 for these containers. I fixed this by reading the Kubernetes version from the source files.

I rebuilt the container and node image and the correct image versions were there but I also saw some v1.24.13 container images and I'm not sure where those came from. Perhaps kubeadm loaded them?

I'm going to revert this change and go back to v1.24.0 for now.

@jefflill jefflill added bug Identifies a bug or other failure build Build or publication related issues neon-kube Related to our Kubernetes distribution labels Apr 14, 2023
jefflill added a commit that referenced this issue Apr 14, 2023
@marcusbooyah
Copy link
Member

duplicate of #1829

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Identifies a bug or other failure build Build or publication related issues neon-kube Related to our Kubernetes distribution
Projects
None yet
Development

No branches or pull requests

2 participants