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

feat: bump the k8s version to v1.31.4 #1239

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

SandhyaRavi2403
Copy link
Contributor

What problem does this PR solve?:
Update Kubernetes version

Which issue(s) does this PR fix?:
https://jira.nutanix.com/browse/NCN-103544

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@SandhyaRavi2403 SandhyaRavi2403 self-assigned this Dec 9, 2024
@SandhyaRavi2403 SandhyaRavi2403 added the runs-e2e-tests runs e2e tests for GHA label Dec 9, 2024
@SandhyaRavi2403 SandhyaRavi2403 force-pushed the sandy/kib-k8s-version-upgrade branch from e268679 to be5cb62 Compare December 10, 2024 11:44
@supershal
Copy link
Collaborator

we build containerd artifacts and publish it. The builds are failing because these artifacts are not built yet. I have triggered GHA workflow to create the package bundle. Please use this workflow in future to build a specific version of containerd. https://github.com/mesosphere/dkp-release/actions/runs/12262280813

Once above job is finished, please retrigger the e2e tests on this PR.

@SandhyaRavi2403
Copy link
Contributor Author

we build containerd artifacts and publish it. The builds are failing because these artifacts are not built yet. I have triggered GHA workflow to create the package bundle. Please use this workflow in future to build a specific version of containerd. https://github.com/mesosphere/dkp-release/actions/runs/12262280813

Once above job is finished, please retrigger the e2e tests on this PR.

Hi @supershal
I ran the above build last week already
https://github.com/mesosphere/dkp-release/actions/runs/12126475468

@SandhyaRavi2403 SandhyaRavi2403 added runs-e2e-tests runs e2e tests for GHA and removed runs-e2e-tests runs e2e tests for GHA labels Dec 11, 2024
@SandhyaRavi2403 SandhyaRavi2403 requested review from dkoshkin and removed request for dkoshkin December 11, 2024 18:50
@dkoshkin
Copy link
Contributor

dkoshkin commented Dec 11, 2024

@SandhyaRavi2403 something is wrong with that GHA, it only pushed a single tar https://github.com/mesosphere/dkp-release/actions/runs/12126475468/job/33816595312

PTAL at that in that repo and see if there were recent changes and see if you can fix that.

@supershal
Copy link
Collaborator

I fixed the GHA for containerd . https://github.com/mesosphere/dkp-release/pull/153
@dkoshkin

@@ -5,11 +5,11 @@ python_path: ""
# If it's not there, the kubernetes_full_version will have "None" for a version number.
#
# IMPORTANT When you update kubernetes_version, also update crictl_version.
kubernetes_version: "1.30.5"
kubernetes_version: "1.31.3"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 24 crictl_sha256 will need to change too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@dkoshkin dkoshkin changed the title feat: bump the k8s version feat: bump the k8s version to v1.30.5 Dec 11, 2024
@github-actions github-actions bot added feature and removed feature labels Dec 11, 2024
kubernetes_major_minor: "{{ (kubernetes_version.split('.') | map('trim'))[:2] | join('.') }}"
kubernetes_semver: "v{{ kubernetes_version }}"

kubernetes_cni_version: "1.4.0"
kubernetes_cni_version: "1.6.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did update to the latest version of CNI

Copy link
Contributor

@dkoshkin dkoshkin Dec 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SandhyaRavi2403 this version needs to match the version built in the bundle.
If I follow https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/ with:

cat <<EOF | tee /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=https://pkgs.k8s.io/core:/stable:/v1.31/rpm/
enabled=1
gpgcheck=1
gpgkey=https://pkgs.k8s.io/core:/stable:/v1.31/rpm/repodata/repomd.xml.key
exclude=kubelet kubeadm kubectl cri-tools kubernetes-cni
EOF
yum install -y kubelet kubeadm kubectl --disableexcludes=kubernetes

The version is 1.5.1.

 kubernetes-cni aarch64 1.5.1-150500.1.1 kubernetes 6.3 M

@SandhyaRavi2403 SandhyaRavi2403 changed the title feat: bump the k8s version to v1.30.5 feat: bump the k8s version to v1.31.4 Dec 12, 2024
@github-actions github-actions bot added feature and removed feature labels Dec 12, 2024
@SandhyaRavi2403 SandhyaRavi2403 added runs-e2e-tests runs e2e tests for GHA and removed runs-e2e-tests runs e2e tests for GHA labels Dec 12, 2024
@SandhyaRavi2403 SandhyaRavi2403 added runs-e2e-tests runs e2e tests for GHA and removed runs-e2e-tests runs e2e tests for GHA labels Dec 13, 2024
@dkoshkin dkoshkin added runs-e2e-tests runs e2e tests for GHA and removed runs-e2e-tests runs e2e tests for GHA labels Dec 13, 2024
@dkoshkin
Copy link
Contributor

dkoshkin commented Dec 13, 2024

@SandhyaRavi2403 I built the new v1.31.4 packages, re-running tests

@SandhyaRavi2403
Copy link
Contributor Author

@SandhyaRavi2403 I built the new v1.31.4 packages, re-running tests

@dkoshkin The tests are still failing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature runs-e2e-tests runs e2e tests for GHA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants