Skip to content

Commit

Permalink
[2.18] Fix container engine still installed on dedicated etcd (kubern…
Browse files Browse the repository at this point in the history
…etes-sigs#8404)

* Fix container engine still installed on dedicated etcd node even if `etcd_deployment_type: host` (kubernetes-sigs#8386)

(cherry picked from commit aa4a3d7)
  • Loading branch information
rtsp authored and Kevin Huang committed Sep 15, 2022
1 parent 1f65e6d commit b8cfa52
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 @@ -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
Expand Down

0 comments on commit b8cfa52

Please sign in to comment.