diff --git a/roles/configure_service/templates/node/conf/kubelet.conf b/roles/configure_service/templates/node/conf/kubelet.conf index 9618e1f..917ff22 100644 --- a/roles/configure_service/templates/node/conf/kubelet.conf +++ b/roles/configure_service/templates/node/conf/kubelet.conf @@ -9,7 +9,7 @@ KUBELET_OPTS="--logtostderr=false \ --bootstrap-kubeconfig={{ install_dir }}/kubernetes/conf/bootstrap.kubeconfig \ --config={{ install_dir }}/kubernetes/conf/kubelet-config.yml \ --cert-dir={{ install_dir }}/kubernetes/ssl \ -{% if major_version | int <= 1 and minor_version | int < 20 and container_runtime == 'containerd' -%} +{% if container_runtime == 'containerd' -%} --container-log-max-size=100Mi \ --container-runtime=remote \ --container-runtime-endpoint=unix://{{ install_dir }}/containerd/run/containerd.sock \