Skip to content
Snippets Groups Projects
Unverified Commit 4b9349a0 authored by Mohamed Omar Zaian's avatar Mohamed Omar Zaian Committed by GitHub
Browse files

Update 'KUBESPRAY_VERSION and kube_version_min_required', cleanup old hashes for v2.25.0 (#11221)

parent 7e0a4072
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ stages: ...@@ -9,7 +9,7 @@ stages:
- deploy-special - deploy-special
variables: variables:
KUBESPRAY_VERSION: v2.24.1 KUBESPRAY_VERSION: v2.25.0
FAILFASTCI_NAMESPACE: 'kargo-ci' FAILFASTCI_NAMESPACE: 'kargo-ci'
GITLAB_REPOSITORY: 'kargo-ci/kubernetes-sigs-kubespray' GITLAB_REPOSITORY: 'kargo-ci/kubernetes-sigs-kubespray'
ANSIBLE_FORCE_COLOR: "true" ANSIBLE_FORCE_COLOR: "true"
......
...@@ -75,11 +75,11 @@ You will then need to use [bind mounts](https://docs.docker.com/storage/bind-mou ...@@ -75,11 +75,11 @@ You will then need to use [bind mounts](https://docs.docker.com/storage/bind-mou
to access the inventory and SSH key in the container, like this: to access the inventory and SSH key in the container, like this:
```ShellSession ```ShellSession
git checkout v2.24.1 git checkout v2.25.0
docker pull quay.io/kubespray/kubespray:v2.24.1 docker pull quay.io/kubespray/kubespray:v2.25.0
docker run --rm -it --mount type=bind,source="$(pwd)"/inventory/sample,dst=/inventory \ docker run --rm -it --mount type=bind,source="$(pwd)"/inventory/sample,dst=/inventory \
--mount type=bind,source="${HOME}"/.ssh/id_rsa,dst=/root/.ssh/id_rsa \ --mount type=bind,source="${HOME}"/.ssh/id_rsa,dst=/root/.ssh/id_rsa \
quay.io/kubespray/kubespray:v2.24.1 bash quay.io/kubespray/kubespray:v2.25.0 bash
# Inside the container you may now run the kubespray playbooks: # Inside the container you may now run the kubespray playbooks:
ansible-playbook -i /inventory/inventory.ini --private-key /root/.ssh/id_rsa cluster.yml ansible-playbook -i /inventory/inventory.ini --private-key /root/.ssh/id_rsa cluster.yml
``` ```
...@@ -202,7 +202,7 @@ Note: Upstart/SysV init based OS types are not supported. ...@@ -202,7 +202,7 @@ Note: Upstart/SysV init based OS types are not supported.
## Requirements ## Requirements
- **Minimum required version of Kubernetes is v1.27** - **Minimum required version of Kubernetes is v1.28**
- **Ansible v2.14+, Jinja 2.11+ and python-netaddr is installed on the machine that will run Ansible commands** - **Ansible v2.14+, Jinja 2.11+ and python-netaddr is installed on the machine that will run Ansible commands**
- The target servers must have **access to the Internet** in order to pull docker images. Otherwise, additional configuration is required (See [Offline Environment](docs/operations/offline-environment.md)) - The target servers must have **access to the Internet** in order to pull docker images. Otherwise, additional configuration is required (See [Offline Environment](docs/operations/offline-environment.md))
- The target servers are configured to allow **IPv4 forwarding**. - The target servers are configured to allow **IPv4 forwarding**.
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
namespace: kubernetes_sigs namespace: kubernetes_sigs
description: Deploy a production ready Kubernetes cluster description: Deploy a production ready Kubernetes cluster
name: kubespray name: kubespray
version: 2.25.0 version: 2.26.0
readme: README.md readme: README.md
authors: authors:
- The Kubespray maintainers (https://kubernetes.slack.com/channels/kubespray) - The Kubespray maintainers (https://kubernetes.slack.com/channels/kubespray)
......
This diff is collapsed.
...@@ -135,32 +135,27 @@ kube_major_version: "{{ kube_version | regex_replace('^v([0-9])+\\.([0-9]+)\\.[0 ...@@ -135,32 +135,27 @@ kube_major_version: "{{ kube_version | regex_replace('^v([0-9])+\\.([0-9]+)\\.[0
pod_infra_supported_versions: pod_infra_supported_versions:
v1.29: "3.9" v1.29: "3.9"
v1.28: "3.9" v1.28: "3.9"
v1.27: "3.9"
pod_infra_version: "{{ pod_infra_supported_versions[kube_major_version] }}" pod_infra_version: "{{ pod_infra_supported_versions[kube_major_version] }}"
etcd_supported_versions: etcd_supported_versions:
v1.29: "v3.5.12" v1.29: "v3.5.12"
v1.28: "v3.5.12" v1.28: "v3.5.12"
v1.27: "v3.5.12"
etcd_version: "{{ etcd_supported_versions[kube_major_version] }}" etcd_version: "{{ etcd_supported_versions[kube_major_version] }}"
crictl_supported_versions: crictl_supported_versions:
v1.29: "v1.29.0" v1.29: "v1.29.0"
v1.28: "v1.28.0" v1.28: "v1.28.0"
v1.27: "v1.27.1"
crictl_version: "{{ crictl_supported_versions[kube_major_version] }}" crictl_version: "{{ crictl_supported_versions[kube_major_version] }}"
crio_supported_versions: crio_supported_versions:
v1.29: v1.29.1 v1.29: v1.29.1
v1.28: v1.28.4 v1.28: v1.28.4
v1.27: v1.27.4
crio_version: "{{ crio_supported_versions[kube_major_version] }}" crio_version: "{{ crio_supported_versions[kube_major_version] }}"
# Scheduler plugins doesn't build for K8s 1.29 yet # Scheduler plugins doesn't build for K8s 1.29 yet
scheduler_plugins_supported_versions: scheduler_plugins_supported_versions:
v1.29: 0 v1.29: 0
v1.28: v0.28.9 v1.28: v0.28.9
v1.27: v0.27.8
scheduler_plugins_version: "{{ scheduler_plugins_supported_versions[kube_major_version] }}" scheduler_plugins_version: "{{ scheduler_plugins_supported_versions[kube_major_version] }}"
yq_version: "v4.42.1" yq_version: "v4.42.1"
...@@ -364,7 +359,6 @@ csi_livenessprobe_image_tag: "v2.5.0" ...@@ -364,7 +359,6 @@ csi_livenessprobe_image_tag: "v2.5.0"
snapshot_controller_supported_versions: snapshot_controller_supported_versions:
v1.29: "v7.0.2" v1.29: "v7.0.2"
v1.28: "v7.0.2" v1.28: "v7.0.2"
v1.27: "v7.0.2"
snapshot_controller_image_repo: "{{ kube_image_repo }}/sig-storage/snapshot-controller" snapshot_controller_image_repo: "{{ kube_image_repo }}/sig-storage/snapshot-controller"
snapshot_controller_image_tag: "{{ snapshot_controller_supported_versions[kube_major_version] }}" snapshot_controller_image_tag: "{{ snapshot_controller_supported_versions[kube_major_version] }}"
......
...@@ -21,7 +21,7 @@ kubelet_swap_behavior: LimitedSwap ...@@ -21,7 +21,7 @@ kubelet_swap_behavior: LimitedSwap
kube_version: v1.29.5 kube_version: v1.29.5
## The minimum version working ## The minimum version working
kube_version_min_required: v1.27.0 kube_version_min_required: v1.28.0
## Kube Proxy mode One of ['iptables', 'ipvs'] ## Kube Proxy mode One of ['iptables', 'ipvs']
kube_proxy_mode: ipvs kube_proxy_mode: ipvs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment