-
Couldn't load subscription status.
- Fork 576
Update the loadwatcher library to the latest release for trimaran plugins #341
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
Conversation
|
Hi @wangchen615. Thanks for your PR. I'm waiting for a kubernetes-sigs 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. |
|
/ok-to-test |
| } else { | ||
| insureSkipVerify := true | ||
| if args.MetricProvider.InsecureSkipVerify != "" { | ||
| insureSkipVerify = strings.ToLower(args.MetricProvider.InsecureSkipVerify) == "true" |
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.
insecureSkipVerify
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.
Thanks for spotting this.
979d000 to
a844ceb
Compare
|
/test pull-scheduler-plugins-unit-test-master |
|
@wangchen615 the changeset looks weird. Could you rebase and ensure there is no commit like "Merge..."? |
@Huang-Wei yes. Sorry, I was just pulling updates for a test and mistakenly did a merge. Will do a rebase and re-add my changes. |
|
@Huang-Wei and @zorro786 Now there is only one commit with necessary API changes in both |
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.
@wangchen615 could you run hack/update-codegen.sh to ensure the conversion logic is covered. I'd expect some changes in the conversion codegen.
Hi, @Huang-Wei , as the generated code will remove some other plugins' code, I manually added back changes related to my code. |
…vider args with insecureSkipVerify field
| metricProvider: | ||
| type: Prometheus | ||
| address: http://prometheus-k8s.monitoring.svc.cluster.local:9090 | ||
| insecureSkipVerify: false |
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.
Can you remove this and verify if it's defaulted to true?
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.
@Huang-Wei , we tested the default behavior in #L81 and #L132
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.
I see. Thanks.
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Huang-Wei, wangchen615 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 |
The PR updated the
loadwatcherlibrary to v0.2.2, which will fix the invalid self-signed SSL connection errors for Prometheus queries in certain environments, such as AWS, GCP, etc., as they disable insecure_skip_verify for all HTTPS requests.Besides, it updates the invalid
manifests/trimaran/scheduler-config.yamlwith examplepluginConfig.@zorro786 @sci110680
/assign @Huang-Wei
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes and closes #266.
Special notes for your reviewer: