Browse Source

Update kubernetes version to 1.22.2

pull/8005/head
Florian Ruynat 3 years ago
committed by Kubernetes Prow Robot
parent
commit
8efde799e1
4 changed files with 5 additions and 4 deletions
  1. 2
      README.md
  2. 2
      inventory/sample/group_vars/k8s_cluster/k8s-cluster.yml
  3. 3
      roles/container-engine/cri-o/defaults/main.yml
  4. 2
      roles/kubespray-defaults/defaults/main.yaml

2
README.md

@ -130,7 +130,7 @@ Note: Upstart/SysV init based OS types are not supported.
## Supported Components
- Core
- [kubernetes](https://github.com/kubernetes/kubernetes) v1.21.5
- [kubernetes](https://github.com/kubernetes/kubernetes) v1.22.2
- [etcd](https://github.com/coreos/etcd) v3.4.13
- [docker](https://www.docker.com/) v20.10 (see note)
- [containerd](https://containerd.io/) v1.4.9

2
inventory/sample/group_vars/k8s_cluster/k8s-cluster.yml

@ -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.21.5
kube_version: v1.22.2
# Where the binaries will be downloaded.
# Note: ensure that you've enough disk space (about 1G)

3
roles/container-engine/cri-o/defaults/main.yml

@ -45,11 +45,12 @@ crio_stream_port: "10010"
crio_required_version: "{{ kube_version | regex_replace('^v(?P<major>\\d+).(?P<minor>\\d+).(?P<patch>\\d+)$', '\\g<major>.\\g<minor>') }}"
crio_kubernetes_version_matrix:
"1.22": "1.21"
"1.21": "1.21"
"1.20": "1.20"
"1.19": "1.19"
crio_version: "{{ crio_kubernetes_version_matrix[crio_required_version] | default('1.21') }}"
crio_version: "{{ crio_kubernetes_version_matrix[crio_required_version] | default('1.22') }}"
# The crio_runtimes variable defines a list of OCI compatible runtimes.
crio_runtimes:

2
roles/kubespray-defaults/defaults/main.yaml

@ -15,7 +15,7 @@ is_fedora_coreos: false
disable_swap: true
## Change this to use another Kubernetes version, e.g. a current beta release
kube_version: v1.21.5
kube_version: v1.22.2
## The minimum version working
kube_version_min_required: v1.19.0

Loading…
Cancel
Save