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

[receiver/k8scluster] Don't use deprecated batch/v1beta1 and autoscaling/v2beta1 Kubernetes API #7386

Closed
dmitryax opened this issue Jan 25, 2022 · 4 comments · Fixed by #7406
Assignees
Labels
comp: receiver Receiver data:metrics Metric related issues good first issue Good for newcomers

Comments

@dmitryax
Copy link
Member

Need to upgrade the k8scluster receiver code to use latest Kubernetes API to avoid warnings:

W0125 19:00:33.296477       1 warnings.go:70] batch/v1beta1 CronJob is deprecated in v1.21+, unavailable in v1.25+; use batch/v1 CronJob
W0125 19:00:33.296975       1 warnings.go:70] autoscaling/v2beta1 HorizontalPodAutoscaler is deprecated in v1.22+, unavailable in v1.25+; use autoscaling/v2beta2 HorizontalPodAutoscaler
W0125 19:00:33.313139       1 warnings.go:70] batch/v1beta1 CronJob is deprecated in v1.21+, unavailable in v1.25+; use batch/v1 CronJob
W0125 19:00:33.313282       1 warnings.go:70] autoscaling/v2beta1 HorizontalPodAutoscaler is deprecated in v1.22+, unavailable in v1.25+; use autoscaling/v2beta2 HorizontalPodAutoscaler
@dmitryax dmitryax added data:metrics Metric related issues comp: receiver Receiver labels Jan 25, 2022
@dmitryax dmitryax self-assigned this Jan 25, 2022
@dmitryax dmitryax changed the title [k8scluster receiver] Don't use deprecated batch/v1beta1 and autoscaling/v2beta1 Kubernetes API [receiver/k8scluster] Don't use deprecated batch/v1beta1 and autoscaling/v2beta1 Kubernetes API Jan 25, 2022
@dmitryax dmitryax added the good first issue Good for newcomers label Jan 25, 2022
@dmitryax dmitryax removed their assignment Jan 25, 2022
@shree007
Copy link
Contributor

I have bandwidth to work on it. @jpkrohling you may assign to me.

@vvydier
Copy link

vvydier commented Jan 26, 2022

I am interested in collaborating to fix this as well, thanks

@jpkrohling
Copy link
Member

I'll ping you on another issue, if you don't mind.

@vvydier
Copy link

vvydier commented Feb 9, 2022

I'll ping you on another issue, if you don't mind.

yes, please.. Thanks

animetauren pushed a commit to animetauren/opentelemetry-collector-contrib that referenced this issue Apr 4, 2023
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /cmd/otelcorecol
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /connector/forwardconnector
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /consumer
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /exporter
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /exporter/loggingexporter
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /exporter/otlpexporter
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /exporter/otlphttpexporter
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /internal/tools
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /pdata
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /processor/batchprocessor
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /processor/memorylimiterprocessor
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /receiver
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /receiver/otlpreceiver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: receiver Receiver data:metrics Metric related issues good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants