Skip to content

Commit

Permalink
[kubernetes] support 1.28.0 / 1.28.1 (kubernetes-sigs#10376) (kuberne…
Browse files Browse the repository at this point in the history
…tes-sigs#10390)

* [kubernetes] support 1.28.0/1.28.1 (kubernetes-sigs#10376)

* [kubernetes] Make 1.28.1 default (kubernetes-sigs#10376)
  • Loading branch information
tmurakam authored and Alvaro-Campesino committed Nov 3, 2023
1 parent 740025b commit c92c3b3
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 247 deletions.
12 changes: 6 additions & 6 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 @@ -161,8 +161,8 @@ Note: Upstart/SysV init based OS types are not supported.
## Supported Components

- Core
- [kubernetes](https://github.com/kubernetes/kubernetes) v1.27.6
- [etcd](https://github.com/etcd-io/etcd) v3.5.9
- [kubernetes](https://github.com/kubernetes/kubernetes) v1.28.1
- [etcd](https://github.com/etcd-io/etcd) v3.5.7
- [docker](https://www.docker.com/) v20.10 (see note)
- [containerd](https://containerd.io/) v1.7.5
- [cri-o](http://cri-o.io/) v1.27 (experimental: see [CRI-O Note](docs/cri-o.md). Only on fedora, ubuntu and centos based OS)
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 inventory/sample/group_vars/k8s_cluster/k8s-cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ kube_token_dir: "{{ kube_config_dir }}/tokens"
kube_api_anonymous_auth: true

## Change this to use another Kubernetes version, e.g. a current beta release
kube_version: v1.27.6
kube_version: v1.28.1

# Where the binaries will be downloaded.
# Note: ensure that you've enough disk space (about 1G)
Expand Down
Loading

0 comments on commit c92c3b3

Please sign in to comment.