[cri_dockerd] upgrade cri_dockerd to 0.2.2 for 1.24 compatibility

* use new artifact release name
* enable cri-dockerd dual setack support if enable_dual_stack_networks
This commit is contained in:
Calin Cristian Andrei 2022-06-10 14:24:18 +03:00 committed by Kubernetes Prow Robot
parent 2de5c4821c
commit ec01b40e85
2 changed files with 11 additions and 8 deletions

View file

@ -7,7 +7,8 @@ Requires=cri-dockerd.socket
[Service] [Service]
Type=notify Type=notify
ExecStart={{ bin_dir }}/cri-dockerd --container-runtime-endpoint fd:// --cni-conf-dir=/etc/cni/net.d --cni-bin-dir=/opt/cni/bin --network-plugin=cni --pod-cidr={{ kube_pods_subnet }} ExecStart={{ bin_dir }}/cri-dockerd --container-runtime-endpoint {{ cri_socket }} --cni-conf-dir=/etc/cni/net.d --cni-bin-dir=/opt/cni/bin --network-plugin=cni --pod-cidr={{ kube_pods_subnet }} {% if enable_dual_stack_networks %}--ipv6-dual-stack=True{% endif %}
ExecReload=/bin/kill -s HUP $MAINPID ExecReload=/bin/kill -s HUP $MAINPID
TimeoutSec=0 TimeoutSec=0
RestartSec=2 RestartSec=2

View file

@ -75,7 +75,7 @@ kata_containers_version: 2.4.1
youki_version: 0.0.1 youki_version: 0.0.1
gvisor_version: 20210921 gvisor_version: 20210921
containerd_version: 1.6.4 containerd_version: 1.6.4
cri_dockerd_version: v0.2.0 cri_dockerd_version: 0.2.2
# this is relevant when container_manager == 'docker' # this is relevant when container_manager == 'docker'
docker_containerd_version: 1.6.4 docker_containerd_version: 1.6.4
@ -155,7 +155,7 @@ gvisor_containerd_shim_runsc_download_url: "https://storage.googleapis.com/gviso
nerdctl_download_url: "https://github.com/containerd/nerdctl/releases/download/v{{ nerdctl_version }}/nerdctl-{{ nerdctl_version }}-{{ ansible_system | lower }}-{{ image_arch }}.tar.gz" nerdctl_download_url: "https://github.com/containerd/nerdctl/releases/download/v{{ nerdctl_version }}/nerdctl-{{ nerdctl_version }}-{{ ansible_system | lower }}-{{ image_arch }}.tar.gz"
krew_download_url: "https://github.com/kubernetes-sigs/krew/releases/download/{{ krew_version }}/krew-{{ host_os }}_{{ image_arch }}.tar.gz" krew_download_url: "https://github.com/kubernetes-sigs/krew/releases/download/{{ krew_version }}/krew-{{ host_os }}_{{ image_arch }}.tar.gz"
containerd_download_url: "https://github.com/containerd/containerd/releases/download/v{{ containerd_version }}/containerd-{{ containerd_version }}-linux-{{ image_arch }}.tar.gz" containerd_download_url: "https://github.com/containerd/containerd/releases/download/v{{ containerd_version }}/containerd-{{ containerd_version }}-linux-{{ image_arch }}.tar.gz"
cri_dockerd_download_url: "https://github.com/Mirantis/cri-dockerd/releases/download/{{ cri_dockerd_version }}/cri-dockerd-{{ cri_dockerd_version }}-linux-{{ image_arch }}.tar.gz" cri_dockerd_download_url: "https://github.com/Mirantis/cri-dockerd/releases/download/v{{ cri_dockerd_version }}/cri-dockerd-{{ cri_dockerd_version }}.{{ image_arch }}.tgz"
crictl_checksums: crictl_checksums:
arm: arm:
@ -546,13 +546,13 @@ helm_archive_checksums:
cri_dockerd_archive_checksums: cri_dockerd_archive_checksums:
arm: arm:
v0.2.0: 0 0.2.2: 0
arm64: arm64:
v0.2.0: 6ddcb77bc7ca9d93008fdcb81659e3acfb45105dc935782030afb7dab4a3250b 0.2.2: 30e5fb2f06bd1e9fff6eddc185356cf3636d36c6c310bbd5892141e2b8e86ee3
amd64: amd64:
v0.2.0: ad0e5f2ac6e7a57af4b560d1638ee26baab68c56a49ff3337e10ff9cea0a3539 0.2.2: fbf0fe66805e0104841d0093c6ad74a5e39264616855d902a97c1ba7830855e1
ppc64le: ppc64le:
v0.2.0: 0 0.2.2: 0
runc_checksums: runc_checksums:
arm: arm:
@ -1016,10 +1016,12 @@ downloads:
file: true file: true
enabled: "{{ cri_dockerd_enabled }}" enabled: "{{ cri_dockerd_enabled }}"
version: "{{ cri_dockerd_version }}" version: "{{ cri_dockerd_version }}"
dest: "{{ local_release_dir }}/cri-dockerd-{{ crictl_version }}-linux-{{ image_arch }}.tar.gz" dest: "{{ local_release_dir }}/cri-dockerd-{{ cri_dockerd_version }}.{{ image_arch }}.tar.gz"
sha256: "{{ cri_dockerd_archive_checksum }}" sha256: "{{ cri_dockerd_archive_checksum }}"
url: "{{ cri_dockerd_download_url }}" url: "{{ cri_dockerd_download_url }}"
unarchive: true unarchive: true
unarchive_extra_opts:
- --strip=1
owner: "root" owner: "root"
mode: "0755" mode: "0755"
groups: groups: