Skip to content

feat: render debug section in containerd config for log-level setting#946

Open
youwalther65 wants to merge 1 commit into
bottlerocket-os:developfrom
youwalther65:containerd-log-level
Open

feat: render debug section in containerd config for log-level setting#946
youwalther65 wants to merge 1 commit into
bottlerocket-os:developfrom
youwalther65:containerd-log-level

Conversation

@youwalther65

Copy link
Copy Markdown

Summary

  • Adds a [debug] section to containerd config templates to render the log-level setting
  • Applies to all containerd versions (1.7, 2.1, 2.2) and both standard and nvidia socket variants

Depends on bottlerocket-os/bottlerocket-settings-sdk#137
Resolves bottlerocket-os/bottlerocket#4720

Test plan

  • Verify rendered containerd config includes [debug] section with correct log level
  • Test with default (info) and non-default (debug, warn) values
  • Confirm omission when log-level is not set

When settings.container-runtime.log-level is set, emit a [debug]
section with the configured level in the containerd config templates
for containerd 1.7, 2.1, and 2.2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose containerd log level via Bottlerocket API

1 participant