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
Unblock perfdash upgrade #1837
Unblock perfdash upgrade #1837
Conversation
Hi @VivekThrivikraman-est. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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 kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just two minor comments
perfdash/deployment.yaml
Outdated
@@ -17,7 +17,7 @@ spec: | |||
- name: perfdash | |||
# Version 2.33 consumes > 32GiB of memory. | |||
# TODO: Introduce 2.34 version which conditionally disables functionality added in 2.32 and disable it in this perf-dash instance. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove this TODO
perfdash/metrics-downloader.go
Outdated
Options *DownloaderOptions | ||
MetricsBkt MetricsBucket | ||
Options *DownloaderOptions | ||
allowParsersAllTests *bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's rename to allowParsersForAllTests and make it bool not *bool
perfdash/deployment.yaml
Outdated
@@ -16,7 +16,6 @@ spec: | |||
containers: | |||
- name: perfdash | |||
# Version 2.33 consumes > 32GiB of memory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one as well :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please address the remaining comment and squash all commits together and it'll be good to merge
perfdash/metrics-downloader.go
Outdated
} | ||
|
||
// NewDownloader creates a new Downloader. | ||
func NewDownloader(opt *DownloaderOptions, bkt MetricsBucket) *Downloader { | ||
func NewDownloader(opt *DownloaderOptions, bkt MetricsBucket, allowAllParsers *bool) *Downloader { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be also bool, it doesn't make sense to allow *bool here, what should we do if caller provides nil?
/ok-to-test |
a1be4cb
to
5d78910
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mm4tt, VivekThrivikraman-est The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Adding @jprzychodzen, the current scalability oncall. Kuba, could you push the new perf-dash version once this PR merges? |
Sure, I will push new perf-dash. Thanks for this change! |
FYI - new perf-dash is up and running. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR is for unblocking the perfdash upgrade.
Which issue(s) this PR fixes:
Fixes #1792
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: