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

Update KUBESPRAY_VERSION and kube_version_min_required (with hashes cleanup) for v2.23.0 #10420

Merged
merged 1 commit into from
Sep 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ stages:
- deploy-special

variables:
KUBESPRAY_VERSION: v2.22.1
KUBESPRAY_VERSION: v2.23.0
FAILFASTCI_NAMESPACE: 'kargo-ci'
GITLAB_REPOSITORY: 'kargo-ci/kubernetes-sigs-kubespray'
ANSIBLE_FORCE_COLOR: "true"
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

```ShellSession
git checkout v2.22.1
docker pull quay.io/kubespray/kubespray:v2.22.1
git checkout v2.23.0
docker pull quay.io/kubespray/kubespray:v2.23.0
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 \
quay.io/kubespray/kubespray:v2.22.1 bash
quay.io/kubespray/kubespray:v2.23.0 bash
# Inside the container you may now run the kubespray playbooks:
ansible-playbook -i /inventory/inventory.ini --private-key /root/.ssh/id_rsa cluster.yml
```
Expand Down Expand Up @@ -202,7 +202,7 @@ Note: Upstart/SysV init based OS types are not supported.

## Requirements

- **Minimum required version of Kubernetes is v1.25**
- **Minimum required version of Kubernetes is v1.26**
- **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/offline-environment.md))
- The target servers are configured to allow **IPv4 forwarding**.
Expand Down
2 changes: 1 addition & 1 deletion docs/ansible_collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Kubespray can be installed as an [Ansible collection](https://docs.ansible.com/a
collections:
- name: https://github.com/kubernetes-sigs/kubespray
type: git
version: v2.22.1
version: v2.23.0
```

2. Install your collection
Expand Down
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
namespace: kubernetes_sigs
description: Deploy a production ready Kubernetes cluster
name: kubespray
version: 2.22.1
version: 2.23.0
readme: README.md
authors:
- luksi1
Expand Down
184 changes: 0 additions & 184 deletions roles/download/defaults/main/checksums.yml

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions roles/download/defaults/main/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,19 +135,16 @@ kube_major_version: "{{ kube_version | regex_replace('^v([0-9])+\\.([0-9]+)\\.[0
etcd_supported_versions:
v1.27: "v3.5.7"
v1.26: "v3.5.6"
v1.25: "v3.5.6"
etcd_version: "{{ etcd_supported_versions[kube_major_version] }}"

crictl_supported_versions:
v1.27: "v1.27.1"
v1.26: "v1.26.0"
v1.25: "v1.25.0"
crictl_version: "{{ crictl_supported_versions[kube_major_version] }}"

crio_supported_versions:
v1.27: v1.27.1
v1.26: v1.26.3
v1.25: v1.25.3
crio_version: "{{ crio_supported_versions[kube_major_version] }}"

yq_version: "v4.35.1"
Expand Down Expand Up @@ -337,7 +334,6 @@ csi_livenessprobe_image_tag: "v2.5.0"
snapshot_controller_supported_versions:
v1.27: "v4.2.1"
v1.26: "v4.2.1"
v1.25: "v4.2.1"
snapshot_controller_image_repo: "{{ kube_image_repo }}/sig-storage/snapshot-controller"
snapshot_controller_image_tag: "{{ snapshot_controller_supported_versions[kube_major_version] }}"

Expand Down
2 changes: 1 addition & 1 deletion roles/kubespray-defaults/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ kubelet_swap_behavior: LimitedSwap
kube_version: v1.27.5

## The minimum version working
kube_version_min_required: v1.25.0
kube_version_min_required: v1.26.0

## Kube Proxy mode One of ['iptables', 'ipvs']
kube_proxy_mode: ipvs
Expand Down