From 67167bd8d292b67e9c8bceccbc8fb230d05bd2ba Mon Sep 17 00:00:00 2001 From: Mario Bris <38427872+mariobris@users.noreply.github.com> Date: Wed, 29 Apr 2020 16:42:25 +0200 Subject: [PATCH] [2.11] fix broken scale procedure (#5926) * Update main.yml - remove default value 'systemd' for cgroup driver in containerd role. this value override autodetect in kubelet_cgroup_driver_detected from docker info * Update scale.yml do not run etcd role when etcd_kubeadm_enabled == true --- roles/container-engine/containerd/defaults/main.yml | 2 -- scale.yml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/roles/container-engine/containerd/defaults/main.yml b/roles/container-engine/containerd/defaults/main.yml index e876a2c61..1d343fc00 100644 --- a/roles/container-engine/containerd/defaults/main.yml +++ b/roles/container-engine/containerd/defaults/main.yml @@ -1,6 +1,4 @@ --- -kubelet_cgroup_driver: systemd - containerd_config: grpc: max_recv_message_size: 16777216 diff --git a/scale.yml b/scale.yml index 094be2a15..4f53a1201 100644 --- a/scale.yml +++ b/scale.yml @@ -42,7 +42,7 @@ - { role: kubernetes/preinstall, tags: preinstall } - { role: container-engine, tags: "container-engine", when: deploy_container_engine|default(true) } - { role: download, tags: download, when: "not skip_downloads" } - - { role: etcd, tags: etcd, etcd_cluster_setup: false } + - { role: etcd, tags: etcd, etcd_cluster_setup: false, when: "not etcd_kubeadm_enabled|default(false)" } - { role: kubernetes/node, tags: node } - { role: kubernetes/kubeadm, tags: kubeadm } - { role: network_plugin, tags: network }