Skip to content
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

Add endpoint labels for pod targets #4253

Merged

Conversation

thunderbird86
Copy link
Contributor

@thunderbird86 thunderbird86 commented May 5, 2023

Add __meta_kubernetes_endpoints_name, __meta_kubernetes_endpoints_label_<labelname> and __meta_kubernetes_endpoints_labelpresent_<labelname> labels for all targets discovered from ports not assigned to endpoint. Previously, ports not matched by Service did not have this label. See [this issue]

@zekker6
Copy link
Contributor

zekker6 commented May 5, 2023

@thunderbird86 PR cannot be merged because commit doesn't contain a verified signature, coulld you please configure signing and do a squash and force push to replace existing commit?

…different ports

Signed-off-by: Vasilchenko Anton <vasilchenko-as@yandex.ru>
@thunderbird86
Copy link
Contributor Author

@zekker6 sorry for inconvenience, done

@zekker6 zekker6 merged commit 22e6540 into VictoriaMetrics:master May 5, 2023
@zekker6
Copy link
Contributor

zekker6 commented May 5, 2023

@thunderbird86 Thank you for the contribution!

@thunderbird86
Copy link
Contributor Author

@zekker6 my pleasure

valyala pushed a commit that referenced this pull request May 10, 2023
…different ports (#4253)

Signed-off-by: Vasilchenko Anton <vasilchenko-as@yandex.ru>
valyala pushed a commit that referenced this pull request May 10, 2023
…different ports (#4253)

Signed-off-by: Vasilchenko Anton <vasilchenko-as@yandex.ru>
valyala pushed a commit that referenced this pull request May 10, 2023
…different ports (#4253)

Signed-off-by: Vasilchenko Anton <vasilchenko-as@yandex.ru>
@valyala
Copy link
Collaborator

valyala commented May 19, 2023

FYI, this change has been included in v1.91.0 release.

@valyala
Copy link
Collaborator

valyala commented May 19, 2023

The bugfix has been backported to v1.87.6 LTS release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants