From 1550c05a7a3395c54f7b6e3a3c0466b7b1c7f251 Mon Sep 17 00:00:00 2001 From: Rong Zhang Date: Fri, 7 Dec 2018 18:02:39 +0800 Subject: [PATCH] Add docker 18.09 support (#3844) --- README.md | 2 +- roles/container-engine/docker/vars/debian.yml | 1 + roles/container-engine/docker/vars/redhat.yml | 1 + roles/container-engine/docker/vars/ubuntu-amd64.yml | 1 + roles/container-engine/docker/vars/ubuntu-arm64.yml | 1 + roles/container-engine/docker/vars/ubuntu-bionic.yml | 1 + 6 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 67d98bd58..814be5714 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ Supported Components - [coredns](https://github.com/coredns/coredns) v1.2.6 - [ingress-nginx](https://github.com/kubernetes/ingress-nginx) v0.21.0 -Note: The list of validated [docker versions](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.12.md) was updated to 1.11.1, 1.12.1, 1.13.1, 17.03, 17.06, 17.09, 18.06. The kubelet might break on docker's non-standard version numbering (it no longer uses semantic versioning). To ensure auto-updates don't break your cluster look into e.g. yum versionlock plugin or apt pin). +Note: The list of validated [docker versions](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.13.md) was updated to 1.11.1, 1.12.1, 1.13.1, 17.03, 17.06, 17.09, 18.06. kubeadm now properly recognizes Docker 18.09.0 and newer, but still treats 18.06 as the default supported version. The kubelet might break on docker's non-standard version numbering (it no longer uses semantic versioning). To ensure auto-updates don't break your cluster look into e.g. yum versionlock plugin or apt pin). Note 2: rkt support as docker alternative is limited to control plane (etcd and kubelet). Docker is still used for Kubernetes cluster workloads and network diff --git a/roles/container-engine/docker/vars/debian.yml b/roles/container-engine/docker/vars/debian.yml index fe53f1393..7eb85331b 100644 --- a/roles/container-engine/docker/vars/debian.yml +++ b/roles/container-engine/docker/vars/debian.yml @@ -14,6 +14,7 @@ docker_versioned_pkg: '17.12': docker-ce=17.12.1~ce-0~debian '18.03': docker-ce=18.03.1~ce-0~debian '18.06': docker-ce=18.06.1~ce~3-0~debian + '18.09': docker-ce_18.09.0~3-0~debian-{{ ansible_distribution_release|lower }} 'stable': docker-ce=18.06.1~ce~3-0~debian 'edge': docker-ce=17.12.1~ce-0~debian diff --git a/roles/container-engine/docker/vars/redhat.yml b/roles/container-engine/docker/vars/redhat.yml index 41f62c700..eccee3aed 100644 --- a/roles/container-engine/docker/vars/redhat.yml +++ b/roles/container-engine/docker/vars/redhat.yml @@ -15,6 +15,7 @@ docker_versioned_pkg: '17.12': docker-ce-17.12.1.ce-1.el7.centos '18.03': docker-ce-18.03.1.ce-1.el7.centos '18.06': docker-ce-18.06.1.ce-3.el7 + '18.09': docker-ce-18.09.0-3.el7 'stable': docker-ce-18.06.1.ce-3.el7 'edge': docker-ce-17.12.1.ce-1.el7.centos diff --git a/roles/container-engine/docker/vars/ubuntu-amd64.yml b/roles/container-engine/docker/vars/ubuntu-amd64.yml index 6b91267ba..dc5257bca 100644 --- a/roles/container-engine/docker/vars/ubuntu-amd64.yml +++ b/roles/container-engine/docker/vars/ubuntu-amd64.yml @@ -11,6 +11,7 @@ docker_versioned_pkg: '17.09': docker-ce=17.09.0~ce-0~ubuntu-{{ ansible_distribution_release|lower }} '17.12': docker-ce=17.12.1~ce-0~ubuntu-{{ ansible_distribution_release|lower }} '18.06': docker-ce=18.06.1~ce~3-0~ubuntu + '18.09': docker-ce_18.09.0~3-0~ubuntu-{{ ansible_distribution_release|lower }} 'stable': docker-ce=18.06.1~ce~3-0~ubuntu 'edge': docker-ce=18.06.1~ce~3-0~ubuntu diff --git a/roles/container-engine/docker/vars/ubuntu-arm64.yml b/roles/container-engine/docker/vars/ubuntu-arm64.yml index 1033b5ff5..4c33f796b 100644 --- a/roles/container-engine/docker/vars/ubuntu-arm64.yml +++ b/roles/container-engine/docker/vars/ubuntu-arm64.yml @@ -7,6 +7,7 @@ docker_versioned_pkg: '17.09': docker-ce=17.09.1~ce-0~ubuntu '17.12': docker-ce=17.12.1~ce-0~ubuntu-{{ ansible_distribution_release|lower }} '18.06': docker-ce=18.06.1~ce~3-0~ubuntu + '18.09': docker-ce_18.09.0~3-0~ubuntu-{{ ansible_distribution_release|lower }} 'stable': docker-ce=18.06.1~ce~3-0~ubuntu 'edge': docker-ce=18.06.1~ce~3-0~ubuntu diff --git a/roles/container-engine/docker/vars/ubuntu-bionic.yml b/roles/container-engine/docker/vars/ubuntu-bionic.yml index 99a72d052..188ea0f68 100644 --- a/roles/container-engine/docker/vars/ubuntu-bionic.yml +++ b/roles/container-engine/docker/vars/ubuntu-bionic.yml @@ -7,6 +7,7 @@ docker_versioned_pkg: 'latest': docker-ce '18.03': docker-ce=18.03.1~ce-3-0~ubuntu '18.06': docker-ce=18.06.1~ce~3-0~ubuntu + '18.09': docker-ce_18.09.0~3-0~ubuntu-{{ ansible_distribution_release|lower }} 'stable': docker-ce=18.06.1~ce~3-0~ubuntu 'edge': docker-ce=18.06.1~ce~3-0~ubuntu