Skip to content

Commit 6bccfb0

Browse files
authored
Merge pull request #623 from KCSesh/fix-max-concurrent-downloads
containerd-2.0: fix max-concurrent-downloads config placement
2 parents 06e0008 + 44694b1 commit 6bccfb0

File tree

3 files changed

+19
-10
lines changed

3 files changed

+19
-10
lines changed

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# v10.1.1 (2025-08-13)
2+
3+
## OS Changes
4+
* Fix `containerd-2.0` settings for `max_concurrent_downloads` ([#623])
5+
6+
[#623]: https://github.com/bottlerocket-os/bottlerocket-core-kit/pull/623
7+
18
# v10.1.0 (2025-08-11)
29

310
## OS Changes
@@ -50,11 +57,11 @@
5057

5158
## Orchestrator Changes
5259
### Kubernetes
53-
- Add soci-snapshotter support
60+
- Add soci-snapshotter support
5461
- Configure soci-snapshotter for parallel pull unpack feature ([#569])
5562
- Optionally configure containerd and kubelet with soci-snapshotter via drop-in configuration files ([#576])
5663
- Extend selinux-policy to cover soci-snapshotter ([#579])
57-
- Add `configure-snapshotter.service` to reset state directories of snapshotters on boot when selected snapshotter changes ([#582])
64+
- Add `configure-snapshotter.service` to reset state directories of snapshotters on boot when selected snapshotter changes ([#582])
5865
- Apply upstream patches to soci-snapshotter ([#599])
5966
- Drop CLI from `soci-snapshotter` ([#569])
6067
- Support extending kubelet configuration via drop-in files ([#576])

packages/containerd-2.0/containerd-config-toml_k8s_containerd_sock

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@ imports = ["/etc/containerd/config.d/*.toml"]
1919
[grpc]
2020
address = "/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]
2529
sandbox = "localhost/kubernetes/pause:0.1.0"
2630

@@ -30,9 +34,6 @@ enable_selinux = true
3034
{{#if settings.container-runtime.max-container-log-line-size}}
3135
max_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}}
3738
enable_unprivileged_ports = {{settings.container-runtime.enable-unprivileged-ports}}
3839
{{/if}}

packages/containerd-2.0/containerd-config-toml_k8s_nvidia_containerd_sock

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@ imports = ["/etc/containerd/config.d/*.toml"]
1919
[grpc]
2020
address = "/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]
2529
sandbox = "localhost/kubernetes/pause:0.1.0"
2630

@@ -30,9 +34,6 @@ enable_selinux = true
3034
{{#if settings.container-runtime.max-container-log-line-size}}
3135
max_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}}
3738
enable_unprivileged_ports = {{settings.container-runtime.enable-unprivileged-ports}}
3839
{{/if}}

0 commit comments

Comments
 (0)