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
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ansible/group_vars/all/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

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


# The crictl CLI is released as part of the http://sigs.k8s.io/cri-tools project.
# The project release closely follows the Kubernetes release cycle, and uses a
Expand All @@ -32,7 +32,7 @@ critools_deb: "{{ crictl_version }}-1.1"
critools_rpm: "{{ crictl_version }}-0"

# Containerd container runtime version.
containerd_version: "1.7.22"
containerd_version: "1.7.24"

# NOTE(jkoelker) `nvidia_cuda_version` is set via an override, it is listed
# empty here for documentation.
Expand Down
2 changes: 1 addition & 1 deletion images/common.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
kubernetes_version: "1.30.5"
kubernetes_version: "1.31.3"

packer:
goss_arch: amd64
Expand Down
Loading