Move cri-o default package to 1.22 (#8258)

This commit is contained in:
Florian Ruynat 2021-12-02 15:21:34 +01:00 committed by GitHub
parent 785324827c
commit b38382a68f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 34 additions and 6 deletions

View file

@ -69,6 +69,11 @@ packet_ubuntu18-crio:
stage: deploy-part2 stage: deploy-part2
when: manual when: manual
packet_fedora35-crio:
extends: .packet_pr
stage: deploy-part2
when: manual
packet_ubuntu16-canal-ha: packet_ubuntu16-canal-ha:
stage: deploy-part2 stage: deploy-part2
extends: .packet_periodic extends: .packet_periodic

View file

@ -135,7 +135,7 @@ Note: Upstart/SysV init based OS types are not supported.
- [etcd](https://github.com/coreos/etcd) v3.5.0 - [etcd](https://github.com/coreos/etcd) v3.5.0
- [docker](https://www.docker.com/) v20.10 (see note) - [docker](https://www.docker.com/) v20.10 (see note)
- [containerd](https://containerd.io/) v1.4.9 - [containerd](https://containerd.io/) v1.4.9
- [cri-o](http://cri-o.io/) v1.21 (experimental: see [CRI-O Note](docs/cri-o.md). Only on fedora, ubuntu and centos based OS) - [cri-o](http://cri-o.io/) v1.22 (experimental: see [CRI-O Note](docs/cri-o.md). Only on fedora, ubuntu and centos based OS)
- Network Plugin - Network Plugin
- [cni-plugins](https://github.com/containernetworking/plugins) v0.9.1 - [cni-plugins](https://github.com/containernetworking/plugins) v0.9.1
- [calico](https://github.com/projectcalico/calico) v3.20.3 - [calico](https://github.com/projectcalico/calico) v3.20.3

View file

@ -31,7 +31,7 @@ debian10 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
debian11 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | debian11 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
debian9 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | debian9 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
fedora34 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | fedora34 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
fedora35 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | fedora35 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
opensuse | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | opensuse | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
oracle7 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | oracle7 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
ubuntu16 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | ubuntu16 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |

View file

@ -45,7 +45,7 @@ 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_required_version: "{{ kube_version | regex_replace('^v(?P<major>\\d+).(?P<minor>\\d+).(?P<patch>\\d+)$', '\\g<major>.\\g<minor>') }}"
crio_kubernetes_version_matrix: crio_kubernetes_version_matrix:
"1.22": "1.21" "1.22": "1.22"
"1.21": "1.21" "1.21": "1.21"
"1.20": "1.20" "1.20": "1.20"

View file

@ -26,7 +26,7 @@ platforms:
groups: groups:
- kube_control_plane - kube_control_plane
- name: fedora - name: fedora
box: fedora/34-cloud-base box: fedora/35-cloud-base
cpus: 2 cpus: 2
memory: 1024 memory: 1024
groups: groups:

View file

@ -3,6 +3,8 @@
crio_storage_driver: "overlay" crio_storage_driver: "overlay"
crio_versioned_pkg: crio_versioned_pkg:
"1.22":
- "cri-o-1.22.*"
"1.21": "1.21":
- "cri-o-1.21.*" - "cri-o-1.21.*"
"1.20": "1.20":

View file

@ -1,5 +1,7 @@
--- ---
crio_versioned_pkg: crio_versioned_pkg:
"1.22":
- "cri-o-1.22.*"
"1.21": "1.21":
- "cri-o-1.21.*" - "cri-o-1.21.*"
"1.20": "1.20":

View file

@ -1,5 +1,7 @@
--- ---
crio_versioned_pkg: crio_versioned_pkg:
"1.22":
- "cri-o-1.22.*"
"1.21": "1.21":
- "cri-o-1.21.*" - "cri-o-1.21.*"
"1.20": "1.20":

View file

@ -1,5 +1,8 @@
--- ---
crio_versioned_pkg: crio_versioned_pkg:
"1.22":
- "cri-o=1.22*"
- cri-o-runc
"1.21": "1.21":
- "cri-o=1.21*" - "cri-o=1.21*"
- cri-o-runc - cri-o-runc

View file

@ -3,8 +3,8 @@ crio_packages:
- cri-o - cri-o
- cri-tools - cri-tools
# Fedora doesn't have cri-o 1.21 packages
crio_kubernetes_version_matrix: crio_kubernetes_version_matrix:
"1.21": "1.20" "1.22": "1.22"
"1.21": "1.21"
"1.20": "1.20" "1.20": "1.20"
crio_version: "{{ crio_kubernetes_version_matrix[crio_required_version] | default('1.20') }}" crio_version: "{{ crio_kubernetes_version_matrix[crio_required_version] | default('1.20') }}"

View file

@ -1,5 +1,8 @@
--- ---
crio_versioned_pkg: crio_versioned_pkg:
"1.22":
- "cri-o=1.22*"
- cri-o-runc
"1.21": "1.21":
- "cri-o=1.21*" - "cri-o=1.21*"
- cri-o-runc - cri-o-runc

View file

@ -0,0 +1,11 @@
---
# Instance settings
cloud_image: fedora-35
mode: default
# Kubespray settings
container_manager: crio
auto_renew_certificates: true
# Test with SELinux in enforcing mode
preinstall_selinux_state: enforcing