Skip to content

Commit

Permalink
[2.18] Fix container engine still installed on dedicated etcd (#8404)
Browse files Browse the repository at this point in the history
* Fix container engine still installed on dedicated etcd node even if `etcd_deployment_type: host` (#8386)

(cherry picked from commit aa4a3d7)
  • Loading branch information
rtsp authored Jan 11, 2022
1 parent 92f25bf commit 8a3c78e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/kubespray-defaults/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,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 != 'host'
deploy_container_engine: "{{ inventory_hostname in groups['k8s_cluster'] or etcd_deployment_type != 'host' }}"

# Container for runtime
container_manager: containerd
Expand Down

0 comments on commit 8a3c78e

Please sign in to comment.