AUTOSCALE-692: remove default debug log level from karpenter container#8561
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@maxcao13: This pull request references AUTOSCALE-692 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThis PR lowers Karpenter controller logging by changing the Deployment container arg 🚥 Pre-merge checks | ✅ 11 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (11 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8561 +/- ##
==========================================
+ Coverage 40.34% 40.40% +0.06%
==========================================
Files 755 755
Lines 93167 93235 +68
==========================================
+ Hits 37587 37675 +88
+ Misses 52877 52858 -19
+ Partials 2703 2702 -1 see 3 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
| image: aws-karpenter-provider-aws # replaced by payload | ||
| args: | ||
| - "--log-level=debug" | ||
| - "--log-level=info" |
There was a problem hiding this comment.
Should we just omit the flag and let Karpenter use its default?
The deployment asset hardcoded --log-level=debug, a leftover from early development. This floods CloudWatch and increases customer costs. Remove the flag entirely and let Karpenter use its default (info). Signed-off-by: Max Cao <macao@redhat.com> Assisted-by: Claude Opus 4 (via Cursor) Co-authored-by: Cursor <cursoragent@cursor.com>
bcd2b12 to
d62f07d
Compare
|
Can we check that it looks good in a prow run (ie logs flow as info)? /lgtm |
|
Scheduling tests matching the |
Test Resultse2e-aws
e2e-aks
|
AI Test Failure AnalysisJob: Generated by hypershift-analyze-e2e-failure post-step using Claude claude-opus-4-6 |
|
But it also seems like it removes the version log. Not sure how we feel about that. Is that okay from SRE standpoint? So either we ignore it, and remove the test, or we need to change our karpenter fork code and backport. |
I'm not sure why we would care about the karpenter version in the logs, or why we have a test for it, so all good from my perspective. |
|
this might be legit https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_hypershift/8561/pull-ci-openshift-hypershift-main-e2e-aws/2057259763279859712 /approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enxebre, maxcao13 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Reverts openshift@a58ab5e. We need to do this since we switched default log level of karpenter to INFO, which removes version log. We will move this verification to openshift/autoscale-tests. Signed-off-by: Max Cao <macao@redhat.com>
|
/test e2e-aws-autonode |
|
/lgtm |
|
Scheduling tests matching the |
AI Test Failure AnalysisJob: Generated by hypershift-analyze-e2e-failure post-step using Claude claude-opus-4-6 |
|
/retest-required |
|
That background download also completed successfully (the e2e nested step build log for the e2e-aws-4-22 job). I had already gathered all the necessary evidence from the build logs and JUnit XML files to complete the analysis. The full report above covers both job failures comprehensively. |
|
/test e2e-aws |
|
/verified by e2e-aws |
|
@maxcao13: This PR has been marked as verified by DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@maxcao13: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
What this PR does / why we need it:
Debug was a leftover from early development. It floods CloudWatch with unnecessary volume and increases customer costs.
Assisted-by: Claude Opus 4 (via Cursor)
Which issue(s) this PR fixes:
Fixes https://redhat.atlassian.net/browse/AUTOSCALE-692
Special notes for your reviewer:
Checklist:
Summary by CodeRabbit
Chores
Tests