plugin-barman-cloud
plugin-barman-cloud copied to clipboard
test(e2e): reduce test output verbosity with k3s logging controls
This PR uses a fork of the k3s dagger module that adds:
- Optional debug parameter (defaults to false) to disable k3s server debug output
- Optional kubeletVerbosity parameter (defaults to 1) to control kubelet logging
This significantly improves readability of e2e test output by eliminating verbose logs like:
- K3s server: certificate generation, database initialization, control plane startup
- Kubelet: container operations, volume cleanup, pod lifecycle events
The kubelet verbosity is controlled via kubelet configuration file placed in /var/lib/rancher/k3s/agent/etc/kubelet.conf.d/99-logging.conf. K3s merges config files alphabetically, so this overrides the default 00-k3s-defaults.conf settings before kubelet initializes, avoiding the logging configuration immutability issue.
The fork will be used until these changes are merged upstream.