-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Kubernetes Filter doesn't enrich logs with node labels data #9538
Comments
We added namespace support so nodes is probably useful too. |
As a workaround you can wrap the entrypoint with a script that gets these and exports them as environment variable. |
A script? There's no shell in the distroless production images. |
it's a hack more than anything... and yes, it requires shell with init container |
Is your feature request related to a problem? Please describe.
Kubernetes Filter doesn't enrich logs with k8s nodes labels data
Describe the solution you'd like
Would be nice to have node labels data in logs, not only hostname and pods metadata
Describe alternatives you've considered
AWS Metadata usage is not possible, it requires EC2 instance-metadata-tags option enabled, but it cannot be enabled because of tags format
Additional context
The text was updated successfully, but these errors were encountered: