Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Only collect the latest kURL k8s-audit API server log #5120

Conversation

banjoh
Copy link
Member

@banjoh banjoh commented Jan 28, 2025

What this PR does / why we need it:

Collecting all k8s API server audit logs tend to generate large support bundles where audit logs account for 1GB in size. Not the entire audit history is always needed. This leads to UX issues such as

  • Slowness when generating support bundles in Admin Console caused by long times taken when redacting
  • Sending large bundles which need to be sent by customers to vendors, and then to Replicated.

Which issue(s) this PR fixes:

Limits collecting all k8s-audit logs to the latest one only

Does this PR require a test?

NONE

Does this PR require a release note?

Only collect the latest kURL k8s-audit API server log

Does this PR require documentation?

NONE

@diamonwiggins diamonwiggins self-requested a review January 28, 2025 16:54
@diamonwiggins diamonwiggins merged commit fe940f6 into main Jan 28, 2025
127 checks passed
@diamonwiggins diamonwiggins deleted the evansmungai/sc-119173/limit-size-of-files-collected-by-troubleshoot branch January 28, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants