Skip to content

Conversation

@mnencia
Copy link
Member

@mnencia mnencia commented Jan 13, 2026

This PR uses a fork of the k3s dagger module that adds:

  1. Optional debug parameter (defaults to false) to disable k3s server debug output
  2. 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.

@mnencia mnencia force-pushed the dev/reduce-e2e-test-verbosity branch 2 times, most recently from 8258cbd to ebb8c27 Compare January 13, 2026 10:48
@mnencia mnencia changed the title fix(e2e): reduce test output verbosity by controlling k3s logging test(e2e): reduce test output verbosity by disabling k3s debug mode Jan 13, 2026
@mnencia mnencia force-pushed the dev/reduce-e2e-test-verbosity branch 2 times, most recently from 22de4a0 to 62a44de Compare January 13, 2026 11:05
@mnencia mnencia changed the title test(e2e): reduce test output verbosity by disabling k3s debug mode test(e2e): reduce test output verbosity with k3s logging controls Jan 13, 2026
@mnencia mnencia force-pushed the dev/reduce-e2e-test-verbosity branch 14 times, most recently from 9e4d109 to a69bbea Compare January 13, 2026 18:23
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
@mnencia mnencia force-pushed the dev/reduce-e2e-test-verbosity branch from a69bbea to d4d5ff5 Compare January 13, 2026 18:25
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.

1 participant