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

feat: add thanos for prom HA #1729

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

feat: add thanos for prom HA #1729

wants to merge 11 commits into from

Conversation

srodenhuis
Copy link
Contributor

@srodenhuis srodenhuis commented Sep 24, 2024

This PR adds Thanos for Prometheus HA and includes:

  • add Thanos Helm chart
  • configure Prometheus to use Thanos sidecars
  • create objstore.yml for OBJ configuration based on configured OBJ provider
  • add thanos-query datasource to all Grafana's
  • add Thanos Grafana dashboards to Platform Grafana

Testing

  • Configure OBJ with a bucket for thanos
  • Activate Thanos app
  • Check to see if the thanos sidecar is added to the Prometheus pod
  • Check (using the Thanos query UI) to see if the sidecar endpoint status is up
  • Check if (this can take some time) if the Store endpoint (only one) has status Up
  • Set the replica's for prometheus to 2
  • Check to see if the second sidecar endpoint comes up
  • Check to see if all the announced LabelSets (for both replica's) are shown

You should now see the following:

Screenshot 2024-09-25 at 14 41 17

Checklist

  • The values-schema.yaml file and test/** fixtures have been updated to reflect code changes, if applicable.
  • The OpenApi Schema from redkubes/otomi-api project is compatible with definitions from values-schema.yaml file, if applicable.
  • Helm releases are meeting otomi's baseline security policies, if applicable.

@srodenhuis srodenhuis mentioned this pull request Sep 24, 2024
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.

1 participant