mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
[kubernetes] Support kubernetes 1.29 (#10820)
* [kubernetes] Make kubernetes 1.29.1 default * [cri-o]: support cri-o 1.29 Use "crio status" instead of "crio-status" for cri-o >=1.29.0 * Remove GAed feature gates SecCompDefault The SecCompDefault feature gate was removed since k8s 1.29 https://github.com/kubernetes/kubernetes/pull/121246
This commit is contained in:
@@ -78,13 +78,6 @@ crio_subuid_length: 16777216
|
||||
crio_subgid_start: 2130706432
|
||||
crio_subgid_length: 16777216
|
||||
|
||||
# cri-o binary files
|
||||
crio_bin_files:
|
||||
- conmon
|
||||
- crio
|
||||
- crio-status
|
||||
- pinns
|
||||
|
||||
# cri-o manual files
|
||||
crio_man_files:
|
||||
5:
|
||||
|
||||
8
roles/container-engine/cri-o/tasks/load_vars.yml
Normal file
8
roles/container-engine/cri-o/tasks/load_vars.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
- name: Cri-o | include vars/v1.28.yml
|
||||
include_vars: v1.28.yml
|
||||
when: crio_version is version("v1.29.0", operator="<")
|
||||
|
||||
- name: Cri-o | include vars/v1.29.yml
|
||||
include_vars: v1.29.yml
|
||||
when: crio_version is version("v1.29.0", operator=">=")
|
||||
@@ -1,4 +1,7 @@
|
||||
---
|
||||
- name: Cri-o | load vars
|
||||
import_tasks: load_vars.yml
|
||||
|
||||
- name: Cri-o | check if fedora coreos
|
||||
stat:
|
||||
path: /run/ostree-booted
|
||||
@@ -203,7 +206,7 @@
|
||||
- not service_start.changed
|
||||
|
||||
- name: Cri-o | verify that crio is running
|
||||
command: "{{ bin_dir }}/crio-status info"
|
||||
command: "{{ bin_dir }}/{{ crio_status_command }} info"
|
||||
register: get_crio_info
|
||||
until: get_crio_info is succeeded
|
||||
changed_when: false
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
---
|
||||
- name: Cri-o | load vars
|
||||
import_tasks: load_vars.yml
|
||||
|
||||
- name: CRI-O | Kubic repo name for debian os family
|
||||
set_fact:
|
||||
crio_kubic_debian_repo_name: "{{ ((ansible_distribution == 'Ubuntu') | ternary('x', '')) ~ ansible_distribution ~ '_' ~ ansible_distribution_version }}"
|
||||
|
||||
9
roles/container-engine/cri-o/vars/v1.28.yml
Normal file
9
roles/container-engine/cri-o/vars/v1.28.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
# cri-o binary files
|
||||
crio_bin_files:
|
||||
- conmon
|
||||
- crio
|
||||
- crio-status
|
||||
- pinns
|
||||
|
||||
crio_status_command: crio-status
|
||||
9
roles/container-engine/cri-o/vars/v1.29.yml
Normal file
9
roles/container-engine/cri-o/vars/v1.29.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
# cri-o binary files
|
||||
crio_bin_files:
|
||||
- conmon
|
||||
- conmonrs
|
||||
- crio
|
||||
- pinns
|
||||
|
||||
crio_status_command: crio status
|
||||
Reference in New Issue
Block a user