-
Notifications
You must be signed in to change notification settings - Fork 1.9k
chore: update go dependencies #1647
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Jayapriya Pai <[email protected]>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: slashpai The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This issue is currently awaiting triage. If metrics-server contributors determine this is a relevant issue, they will accept it by applying the The 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-sigs/prow repository. |
Hi @slashpai. 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-sigs/prow repository. |
/ok-to-test |
more updates are needed as some of the modules have breaking changes (prometheus one mainly) |
Signed-off-by: Jayapriya Pai <[email protected]>
@@ -44,7 +44,7 @@ func decodeBatch(b []byte, defaultTime time.Time, nodeName string) (*storage.Met | |||
} | |||
node := &storage.MetricsPoint{} | |||
pods := make(map[apitypes.NamespacedName]storage.PodMetricsPoint) | |||
parser, err := textparse.New(b, "", false, nil) | |||
parser, err := textparse.New(b, "text/plain", "", false, false, nil) |
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.
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.
@dgrisonnet Do we want to specify a specific fallback scrape protocol?
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 don't think any would make sense. Metrics-server always scrapes kubelet's metrics in text format: https://github.com/kubernetes-sigs/metrics-server/blob/master/pkg/scraper/client/resource/client.go#L105-L137
No having any would also keep the same behavior as we had before this change in Prometheus: prometheus/prometheus@421a3c2#diff-88b6f2039c68ed3e6c470170fb60854b4dc7ef381e14c690337e0db8d0a2aab9R138-R141
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.
ok, keeping only content type as current change then.
Signed-off-by: Jayapriya Pai <[email protected]>
|
||
serverConfig.EffectiveVersion = utilcompatibility.DefaultBuildEffectiveVersion() |
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 will look at the ASAP. (Not got a chance to go through the changes of Kubernetes v1.33) |
updates k8s dependencies to v0.33.0 as well
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #