From b8cfa52e8c541acddf7c75d7a754e438e8fb9a3c Mon Sep 17 00:00:00 2001 From: rtsp Date: Tue, 11 Jan 2022 15:31:16 +0700 Subject: [PATCH] [2.18] Fix container engine still installed on dedicated etcd (#8404) * Fix container engine still installed on dedicated etcd node even if `etcd_deployment_type: host` (#8386) (cherry picked from commit aa4a3d7) --- roles/kubespray-defaults/defaults/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubespray-defaults/defaults/main.yaml b/roles/kubespray-defaults/defaults/main.yaml index fc4629703d8..32bd055c38e 100644 --- a/roles/kubespray-defaults/defaults/main.yaml +++ b/roles/kubespray-defaults/defaults/main.yaml @@ -266,7 +266,7 @@ kubelet_shutdown_grace_period: 60s kubelet_shutdown_grace_period_critical_pods: 20s # Whether to deploy the container engine -deploy_container_engine: "{{ inventory_hostname in groups['k8s_cluster'] or etcd_deployment_type == 'docker' }}" +deploy_container_engine: "{{ inventory_hostname in groups['k8s_cluster'] or etcd_deployment_type != 'host' }}" # Container for runtime container_manager: containerd