File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,12 @@ imports = ["/etc/containerd/config.d/*.toml"]
1919[grpc]
2020address = "/run/containerd/containerd.sock"
2121
22- # Pause container image is specified here, shares the same image as kubelet's pod-infra-container-image
2322[plugins."io.containerd.cri.v1.images"]
23+ {{#if settings.container-runtime.max-concurrent-downloads}}
24+ max_concurrent_downloads = {{settings.container-runtime.max-concurrent-downloads}}
25+ {{/if}}
26+
27+ # Pause container image is specified here, shares the same image as kubelet's pod-infra-container-image
2428[plugins."io.containerd.cri.v1.images".pinned_images]
2529sandbox = "localhost/kubernetes/pause:0.1.0"
2630
@@ -30,9 +34,6 @@ enable_selinux = true
3034{{#if settings.container-runtime.max-container-log-line-size}}
3135max_container_log_line_size = {{settings.container-runtime.max-container-log-line-size}}
3236{{/if}}
33- {{#if settings.container-runtime.max-concurrent-downloads}}
34- max_concurrent_downloads = {{settings.container-runtime.max-concurrent-downloads}}
35- {{/if}}
3637{{#if settings.container-runtime.enable-unprivileged-ports}}
3738enable_unprivileged_ports = {{settings.container-runtime.enable-unprivileged-ports}}
3839{{/if}}
Original file line number Diff line number Diff line change @@ -19,8 +19,12 @@ imports = ["/etc/containerd/config.d/*.toml"]
1919[grpc]
2020address = "/run/containerd/containerd.sock"
2121
22- # Pause container image is specified here, shares the same image as kubelet's pod-infra-container-image
2322[plugins."io.containerd.cri.v1.images"]
23+ {{#if settings.container-runtime.max-concurrent-downloads}}
24+ max_concurrent_downloads = {{settings.container-runtime.max-concurrent-downloads}}
25+ {{/if}}
26+
27+ # Pause container image is specified here, shares the same image as kubelet's pod-infra-container-image
2428[plugins."io.containerd.cri.v1.images".pinned_images]
2529sandbox = "localhost/kubernetes/pause:0.1.0"
2630
@@ -30,9 +34,6 @@ enable_selinux = true
3034{{#if settings.container-runtime.max-container-log-line-size}}
3135max_container_log_line_size = {{settings.container-runtime.max-container-log-line-size}}
3236{{/if}}
33- {{#if settings.container-runtime.max-concurrent-downloads}}
34- max_concurrent_downloads = {{settings.container-runtime.max-concurrent-downloads}}
35- {{/if}}
3637{{#if settings.container-runtime.enable-unprivileged-ports}}
3738enable_unprivileged_ports = {{settings.container-runtime.enable-unprivileged-ports}}
3839{{/if}}
You can’t perform that action at this time.
0 commit comments