File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ address = "/run/containerd/containerd.sock"
2626{{#if settings.container-runtime.max-concurrent-downloads}}
2727max_concurrent_downloads = {{settings.container-runtime.max-concurrent-downloads}}
2828{{/if}}
29- concurrent_layer_fetch_buffer = 8388608
29+ concurrent_layer_fetch_buffer = {{default 8388608 settings.container-runtime.concurrent-download-chunk-size}}
3030use_local_image_pull = false
3131
3232# Pause container image is specified here, shares the same image as kubelet's pod-infra-container-image
@@ -50,7 +50,7 @@ enable_unprivileged_icmp = {{settings.container-runtime.enable-unprivileged-icmp
5050{{#if settings.container-runtime.max-concurrent-downloads}}
5151max_concurrent_downloads = {{settings.container-runtime.max-concurrent-downloads}}
5252{{/if}}
53- concurrent_layer_fetch_buffer = 8388608
53+ concurrent_layer_fetch_buffer = {{default 8388608 settings.container-runtime.concurrent-download-chunk-size}}
5454
5555[[plugins."io.containerd.transfer.v1.local".unpack_config]]
5656snapshotter = "overlayfs"
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ address = "/run/containerd/containerd.sock"
2626{{#if settings.container-runtime.max-concurrent-downloads}}
2727max_concurrent_downloads = {{settings.container-runtime.max-concurrent-downloads}}
2828{{/if}}
29- concurrent_layer_fetch_buffer = 8388608
29+ concurrent_layer_fetch_buffer = {{default 8388608 settings.container-runtime.concurrent-download-chunk-size}}
3030use_local_image_pull = false
3131
3232# Pause container image is specified here, shares the same image as kubelet's pod-infra-container-image
@@ -50,7 +50,7 @@ enable_unprivileged_icmp = {{settings.container-runtime.enable-unprivileged-icmp
5050{{#if settings.container-runtime.max-concurrent-downloads}}
5151max_concurrent_downloads = {{settings.container-runtime.max-concurrent-downloads}}
5252{{/if}}
53- concurrent_layer_fetch_buffer = 8388608
53+ concurrent_layer_fetch_buffer = {{default 8388608 settings.container-runtime.concurrent-download-chunk-size}}
5454
5555[[plugins."io.containerd.transfer.v1.local".unpack_config]]
5656snapshotter = "overlayfs"
You can’t perform that action at this time.
0 commit comments