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

Fix metrics port names #256

Merged
merged 1 commit into from
Dec 20, 2021
Merged

Fix metrics port names #256

merged 1 commit into from
Dec 20, 2021

Conversation

theobarberbany
Copy link
Contributor

Shorten the port names for gathering metrics from the wrapped process
and sidecar. This is because kubernetes imposes a 15 character limit,
and we are currently over.

Shorten the port names for gathering metrics from the wrapped process
and sidecar. This is because kubernetes imposes a 15 character limit,
and we are currently over.
Copy link
Contributor

@benwh benwh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Didn't know about this limitation, that's an interesting one

@theobarberbany
Copy link
Contributor Author

theobarberbany commented Dec 20, 2021

@benwh yeah, neither did I.

I'm going to guess it's because every port gets a DNS record _my-port-name._my-port-protocol.my-svc.my-namespace.svc.cluster-domain.example

https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#srv-records

@theobarberbany theobarberbany merged commit 144ad13 into master Dec 20, 2021
@theobarberbany theobarberbany deleted the tb/fix-metrics-port-names branch December 20, 2021 11:55
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