-
Notifications
You must be signed in to change notification settings - Fork 459
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
Collector instance not created if name + namespace exceeds 63 due to how the labels are built #596
Comments
I would like to fix this issue. Are there any preferences on the approach? Are the labels used in the operator anywhere for lookups? |
To be clear, this is about the label |
@jpkrohling thank you for the information! |
Yes, I think it's OK to use the same, but copy them. There's no need to add a dependency just because of that. |
My thoughts exactly, but since this is not my project, I still wanted to confirm with you. |
@jpkrohling I have found an issue in the jaeger trimming code which was not covered by any tests. |
Would you be open to creating an issue there as well? Bonus points if you can send in a PR, which should be similar to this one here. |
@jpkrohling One hand scratches another 😄 : jaegertracing/jaeger-operator#1678 |
When applying a CR where the name + namespace length is over 63 characters the operator fails to create the instances dues to a failure when setting the labels:
As the Kubernetes standards state, a label can be no more than 63 characters. The same goes for instance names.
Since the names of items (CR & namespace) are allowed to be up to 63 characters, having the label set automatically to name + namespace seems like an issue with the operator.
As solutions I have 2 propositions:
The text was updated successfully, but these errors were encountered: