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 ingress support #53

Merged
merged 1 commit into from Apr 11, 2024
Merged

add ingress support #53

merged 1 commit into from Apr 11, 2024

Conversation

lucabello
Copy link
Contributor

Issue

Closes #51.

Solution

This PR adds support for the ingress relation. It's worth noting that the external_url is only used for:

  • nginx, which happens automatically;
  • remote write, for which it's passed in the PrometheusRemoteWriteProvider.

It's not used for the self-monitoring prometheus-scrape relation(s), because those are meant to be "in model" only.


The PR also adds the nginx configuration generation to mimir-cluster-changed events, to regenerate it when the worker cluster changes.

src/charm.py Show resolved Hide resolved
src/charm.py Show resolved Hide resolved
@lucabello lucabello merged commit 1b09c63 into main Apr 11, 2024
13 checks passed
@lucabello lucabello deleted the feature/ingress branch April 11, 2024 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mimir is forwarding the wrong address to grafana agents
3 participants