Fix container engine still installed on dedicated etcd node even if etcd_deployment_type: host (#8386)

This commit is contained in:
rtsp 2022-01-10 16:35:12 +07:00 committed by GitHub
parent 06ad5525b8
commit aa4a3d7afd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -258,7 +258,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