Open hawk-sergey-kurilo opened 6 days ago
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. It would be way better to have it natively
As a workaround you can wrap the entrypoint with a script that gets these and exports them as environment variable. It would be way better to have it natively
A script? There's no shell in the distroless production images. An alternative would be a LUA filter that does it too.
As a workaround you can wrap the entrypoint with a script that gets these and exports them as environment variable. It would be way better to have it natively
A script? There's no shell in the distroless production images. An alternative would be a LUA filter that does it too.
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