-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[processor/resourcedetection]: Add support for k8s.cluster.name for local clusters #35116
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This seems reasonable. I would consider this a new "kubeadm" resource detector. Are there any other resource attribute it could detect? |
Hello, I would like to take this issue if possible |
Thank's @odubajDT, I have assigned this to you. |
There is also the Maybe that would also make sense to be included in this detector? |
I would omit that here, and recommend users use the k8sattributes processor, which detects that by default: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/k8sattributesprocessor/README.md#configuration |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Still valid |
Component(s)
processor/k8sattributes
Is your feature request related to a problem? Please describe.
When running Otel collector and resourcedetection processor in a local Kubernetes cluster created by kind, minikube or kube-adm there is no way currently to get the Kubernetes cluster name. These clusters are used very often for development, testing but also in production.
Describe the solution you'd like
Clusters created by kind, minikube and kube-adm produce a configmap in
kube-system
namespace calledkubeadm-config
. This looks like this and contains the cluster name.Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: