kubernetes / client-go

Go client for Kubernetes.
Apache License 2.0
9.12k stars 2.95k forks source link

ServerResourcesForGroupVersion accepts a context #1370

Open rh-hemartin opened 4 months ago

rh-hemartin commented 4 months ago

Hey! Currently we are using ServerResourcesForGroupVersion1 and we are trying to instrument with OpenTelemetry everything possible. We found that the discovery client do not allow for passing a context. The context present on the file are all TODO1. For a little bit of context, we are using the Discovery client to retrieve the kind from the group, version and plural.

There are any plans to support passing a context to some (or all of those calls)? Is something you are willing to accept PRs for it?

Thanks!

k8s-triage-robot commented 1 month ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot commented 7 hours ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten