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 prometheus hostname to clowdenv status field #481

Merged
merged 1 commit into from
Oct 26, 2021
Merged

Conversation

kylape
Copy link
Member

@kylape kylape commented Oct 26, 2021

This will allow an entity to look at clowdenv.status.prometheus.hostname
to know how to connect to the Prometheus instance associated with this
environment.

When in app-interface mode, the hostname will just be copied over from
clowdenv.spec.providers.metrics.prometheus.appInterfaceHostname. When in
operator mode, the hostname will be generated based on the target
namespace of the clowdenv.

More fields may be added to clowdenv.status.prometheus down the road,
e.g. TLS, credentials, etc.

This will allow an entity to look at clowdenv.status.prometheus.hostname
to know how to connect to the Prometheus instance associated with this
environment.

When in app-interface mode, the hostname will just be copied over from
clowdenv.spec.providers.metrics.prometheus.appInterfaceHostname. When in
operator mode, the hostname will be generated based on the target
namespace of the clowdenv.

More fields may be added to clowdenv.status.prometheus down the road,
e.g. TLS, credentials, etc.
@kylape kylape merged commit bf43cd2 into master Oct 26, 2021
@kylape kylape deleted the prom-status branch October 26, 2021 22:07
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.

None yet

1 participant