Docker: replace the use of containerd_version with docker_containerd_version to avoid causing conflicts when bumping containerd_version (#8130)
This commit is contained in:
parent
65540c5771
commit
4a8757161e
19 changed files with 23 additions and 22 deletions
|
@ -7,7 +7,8 @@ You can also individually control versions of components by explicitly defining
|
|||
versions. Here are all version vars for each component:
|
||||
|
||||
* docker_version
|
||||
* containerd_version
|
||||
* docker_containerd_version (relevant when `container_manager` == `docker`)
|
||||
* containerd_version (relevant when `container_manager` == `containerd`)
|
||||
* kube_version
|
||||
* etcd_version
|
||||
* calico_version
|
||||
|
|
|
@ -18,7 +18,8 @@ Some variables of note include:
|
|||
* *docker_version* - Specify version of Docker to used (should be quoted
|
||||
string). Must match one of the keys defined for *docker_versioned_pkg*
|
||||
in `roles/container-engine/docker/vars/*.yml`.
|
||||
* *containerd_version* - Specify version of Containerd to use
|
||||
* *containerd_version* - Specify version of containerd to use when setting `container_manager` to `containerd`
|
||||
* *docker_containerd_version* - Specify which version of containerd to use when setting `container_manager` to `docker`
|
||||
* *etcd_version* - Specify version of ETCD to use
|
||||
* *ipip* - Enables Calico ipip encapsulation by default
|
||||
* *kube_network_plugin* - Sets k8s network plugin (default Calico)
|
||||
|
|
|
@ -28,7 +28,7 @@ docker_cli_versioned_pkg:
|
|||
|
||||
docker_package_info:
|
||||
pkgs:
|
||||
- "{{ containerd_versioned_pkg[containerd_version | string] }}"
|
||||
- "{{ containerd_versioned_pkg[docker_containerd_version | string] }}"
|
||||
- "{{ docker_cli_versioned_pkg[docker_cli_version | string] }}"
|
||||
- "{{ docker_versioned_pkg[docker_version | string] }}"
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ docker_cli_versioned_pkg:
|
|||
|
||||
docker_package_info:
|
||||
pkgs:
|
||||
- "{{ containerd_versioned_pkg[containerd_version | string] }}"
|
||||
- "{{ containerd_versioned_pkg[docker_containerd_version | string] }}"
|
||||
- "{{ docker_cli_versioned_pkg[docker_cli_version | string] }}"
|
||||
- "{{ docker_versioned_pkg[docker_version | string] }}"
|
||||
|
||||
|
|
|
@ -30,6 +30,6 @@ docker_cli_versioned_pkg:
|
|||
docker_package_info:
|
||||
enablerepo: "docker-ce"
|
||||
pkgs:
|
||||
- "{{ containerd_versioned_pkg[containerd_version | string] }}"
|
||||
- "{{ containerd_versioned_pkg[docker_containerd_version | string] }}"
|
||||
- "{{ docker_cli_versioned_pkg[docker_cli_version | string] }}"
|
||||
- "{{ docker_versioned_pkg[docker_version | string] }}"
|
||||
|
|
|
@ -33,6 +33,6 @@ docker_cli_versioned_pkg:
|
|||
docker_package_info:
|
||||
enablerepo: "docker-ce"
|
||||
pkgs:
|
||||
- "{{ containerd_versioned_pkg[containerd_version | string] }}"
|
||||
- "{{ containerd_versioned_pkg[docker_containerd_version | string] }}"
|
||||
- "{{ docker_cli_versioned_pkg[docker_cli_version | string] }}"
|
||||
- "{{ docker_versioned_pkg[docker_version | string] }}"
|
||||
|
|
|
@ -29,7 +29,7 @@ docker_cli_versioned_pkg:
|
|||
|
||||
docker_package_info:
|
||||
pkgs:
|
||||
- "{{ containerd_versioned_pkg[containerd_version | string] }}"
|
||||
- "{{ containerd_versioned_pkg[docker_containerd_version | string] }}"
|
||||
- "{{ docker_cli_versioned_pkg[docker_cli_version | string] }}"
|
||||
- "{{ docker_versioned_pkg[docker_version | string] }}"
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ docker_cli_versioned_pkg:
|
|||
|
||||
docker_package_info:
|
||||
pkgs:
|
||||
- "{{ containerd_versioned_pkg[containerd_version | string] }}"
|
||||
- "{{ containerd_versioned_pkg[docker_containerd_version | string] }}"
|
||||
- "{{ docker_cli_versioned_pkg[docker_cli_version | string] }}"
|
||||
- "{{ docker_versioned_pkg[docker_version | string] }}"
|
||||
|
||||
|
|
|
@ -497,18 +497,14 @@ nerdctl_archive_checksums:
|
|||
amd64:
|
||||
0.12.1: 868dc5997c3edb0bd06f75012e71c2b15ee0885b83bad191fbe2a1d6d5f4f2ac
|
||||
|
||||
# TODO(cristicalin): remove compatibility entries once debian9 and ubuntu16 jobs are dropped or docker is dropped
|
||||
containerd_archive_checksums:
|
||||
arm:
|
||||
latest: 0 # this is needed to make debian9 and ubuntu16 CI jobs happy
|
||||
1.4.9: 0
|
||||
1.5.5: 0
|
||||
arm64:
|
||||
latest: 0 # this is needed to make debian9 and ubuntu16 CI jobs happy
|
||||
1.4.9: 0
|
||||
1.5.5: 0
|
||||
amd64:
|
||||
latest: 0 # this is needed to make debian9 and ubuntu16 CI jobs happy
|
||||
1.4.9: 346f88ad5b973960ff81b5539d4177af5941ec2e4703b479ca9a6081ff1d023b
|
||||
1.5.5: 8efc527ffb772a82021800f0151374a3113ed2439922497ff08f2596a70f10f1
|
||||
|
||||
|
|
|
@ -330,10 +330,13 @@ docker_plugins: []
|
|||
# Experimental kubeadm etcd deployment mode. Available only for new deployment
|
||||
etcd_kubeadm_enabled: false
|
||||
|
||||
# Containerd options
|
||||
# Containerd options - thse are relevant when container_manager == 'containerd'
|
||||
containerd_version: 1.4.9
|
||||
containerd_use_systemd_cgroup: true
|
||||
|
||||
# Docker options - this is relevant when container_manager == 'docker'
|
||||
docker_containerd_version: 1.4.9
|
||||
|
||||
# Settings for containerized control plane (etcd/kubelet/secrets)
|
||||
# deployment type for legacy etcd mode
|
||||
etcd_deployment_type: docker
|
||||
|
|
|
@ -10,4 +10,4 @@ dns_min_replicas: 1
|
|||
download_run_once: true
|
||||
|
||||
# Make docker happy
|
||||
containerd_version: latest
|
||||
docker_containerd_version: latest
|
||||
|
|
|
@ -9,4 +9,4 @@ deploy_netchecker: true
|
|||
dns_min_replicas: 1
|
||||
|
||||
# Make docker happy
|
||||
containerd_version: latest
|
||||
docker_containerd_version: latest
|
||||
|
|
|
@ -14,4 +14,4 @@ macvlan_interface: "eth0"
|
|||
auto_renew_certificates: true
|
||||
|
||||
# Make docker happy
|
||||
containerd_version: latest
|
||||
docker_containerd_version: latest
|
||||
|
|
|
@ -10,4 +10,4 @@ deploy_netchecker: true
|
|||
dns_min_replicas: 1
|
||||
|
||||
# Make docker jobs happy
|
||||
containerd_version: latest
|
||||
docker_containerd_version: latest
|
||||
|
|
|
@ -10,4 +10,4 @@ deploy_netchecker: true
|
|||
dns_min_replicas: 1
|
||||
|
||||
# Make docker jobs happy
|
||||
containerd_version: latest
|
||||
docker_containerd_version: latest
|
||||
|
|
|
@ -12,4 +12,4 @@ deploy_netchecker: true
|
|||
dns_min_replicas: 1
|
||||
|
||||
# Make docker jobs happy
|
||||
containerd_version: latest
|
||||
docker_containerd_version: latest
|
||||
|
|
|
@ -10,4 +10,4 @@ deploy_netchecker: true
|
|||
dns_min_replicas: 1
|
||||
|
||||
# Make docker jobs happy
|
||||
containerd_version: latest
|
||||
docker_containerd_version: latest
|
||||
|
|
|
@ -12,4 +12,4 @@ dns_min_replicas: 1
|
|||
kube_router_run_service_proxy: true
|
||||
|
||||
# Make docker jobs happy
|
||||
containerd_version: latest
|
||||
docker_containerd_version: latest
|
||||
|
|
|
@ -11,4 +11,4 @@ dns_min_replicas: 1
|
|||
auto_renew_certificates: true
|
||||
|
||||
# Make docker jobs happy
|
||||
containerd_version: latest
|
||||
docker_containerd_version: latest
|
||||
|
|
Loading…
Reference in a new issue