Skip to content

Commit

Permalink
Fix container engine still installed on dedicated etcd node even if `…
Browse files Browse the repository at this point in the history
…etcd_deployment_type: host` (kubernetes-sigs#8386)
  • Loading branch information
rtsp authored and LuckySB committed Oct 20, 2023
1 parent 2dc6294 commit 84cf03f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/kubespray-defaults/defaults/main/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,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 84cf03f

Please sign in to comment.