update k8s & docker

pull/999/head
gjmzj 2021-03-25 18:45:03 +08:00
parent b919df4407
commit 07735221fa
2 changed files with 9 additions and 2 deletions

4
ezdown
View File

@ -13,9 +13,9 @@ set -o errexit
#set -o xtrace
# default settings, can be overridden by cmd line options, see usage
DOCKER_VER=19.03.14
DOCKER_VER=20.10.5
KUBEASZ_VER=3.0.0
K8S_BIN_VER=v1.20.2
K8S_BIN_VER=v1.20.5
EXT_BIN_VER=0.8.1
SYS_PKG_VER=0.3.3
HARBOR_VER=v2.1.3

View File

@ -66,6 +66,13 @@
tags: upgrade_docker, download_docker
when: "DOCKER_VER|float >= 18.09"
- name: 下载 docker 二进制文件(>= 20.10.x)
copy: src={{ base_dir }}/bin/{{ item }} dest={{ bin_dir }}/{{ item }} mode=0755
with_items:
- containerd-shim-runc-v2
tags: upgrade_docker, download_docker
when: "DOCKER_VER|float >= 20.10"
- name: docker命令自动补全
copy: src=docker dest=/etc/bash_completion.d/docker mode=0644