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

Use Prometheus TLS port if TLS is enabled #672

Merged
merged 1 commit into from
May 4, 2021
Merged

Conversation

ansd
Copy link
Member

@ansd ansd commented Apr 29, 2021

When TLS is enabled use the prometheus-tls port in the annotation.

This matches the behaviour of the Service:
When TLS is enabled, port 15691 is exposed in the Service.

When TLS is enabled use the prometheus-tls port in the annotation.

This matches the behaviour of the Service:
When TLS is enabled, port 15691 is exposed in the Service.
@ansd ansd added the blocked Waiting on other work or on 3rd party. label Apr 30, 2021
@ansd
Copy link
Member Author

ansd commented Apr 30, 2021

As @mkuratczyk pointed out, this change will cause a rolling restart for TLS enabled instances. Since the changes in this PR are not important and urgent enough to cause a rolling restart, we'll merge this PR once we cut a new release where the StatefulSet gets updated anyways (by some other change).

Copy link
Contributor

@ChunyiLyu ChunyiLyu left a comment

Choose a reason for hiding this comment

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

Thanks for spotting this! LGTM

@ansd
Copy link
Member Author

ansd commented May 4, 2021

Merging this now since #675 causes a restart of the StatefulSet.

@ansd ansd merged commit 3dbd157 into main May 4, 2021
@ansd ansd deleted the annotation-prometheus-port branch May 4, 2021 15:03
@ansd ansd removed the blocked Waiting on other work or on 3rd party. label May 4, 2021
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