Skip to content

Commit

Permalink
Update kubelet.conf
Browse files Browse the repository at this point in the history
fix: 1.20.x + 版本支持 containerd
  • Loading branch information
zze326 authored Apr 16, 2021
1 parent 13b61a8 commit 709f793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/configure_service/templates/node/conf/kubelet.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 709f793

Please sign in to comment.