-
Notifications
You must be signed in to change notification settings - Fork 5
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
Does not work for "labels.app.kubernetes.io/name" #2
Comments
This was referenced Jan 26, 2021
Closed
Actually after some investigation, correct test should be:
And it is failed - got unknown instead actual label value
|
Any update on this issue ? I also need to access |
Is there any Update, I have the same issue
|
experiencing the same problem here. Any news? |
I also encountered this problem, but I finally adopted this solution
|
This issue is resolved by #5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
I'm using logging operator with tag_normalizer and trying to route logs to different idexes with https://github.com/uken/fluent-plugin-elasticsearch#dynamic-configuration. Somehow I'm not able to use
${kubernetes.labels.app-kubernetes-io/name}
as a placeholder for index name pattern but${tag} works, so I've decided to try to adjust tag itself however same problem here - I'm not able to use
${labels.app-kubernetes-io/name}` as a value in tag - it is always empty (unknown)Describe the solution you'd like to see
Maybe I need to use some special syntax I'm not aware about
Describe alternatives you've considered
Tried to set index name with placeholders but it does not work either
Additional context
When I'm trying to run tests from this repo but with another set of labels - it works, but it does not work in the real life fluentd :(
result:
The text was updated successfully, but these errors were encountered: