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: adding kube prometheus monitoring stack #703

Merged
merged 60 commits into from
Apr 27, 2023
Merged

feat: adding kube prometheus monitoring stack #703

merged 60 commits into from
Apr 27, 2023

Conversation

lmyslinski
Copy link
Contributor

@lmyslinski lmyslinski commented Apr 24, 2023

This PR introduces a new monitoring setup, which primarily replaces our existing infrastructure setup. Instead of deploying everything via Pulumi, we utilize a different tool for setting up this part of the infrastructure configuration with a dedicated tool called kube-prometheus.

This middle-ground solution allows us to tweak most of the settings more easily and use built-in configuration options. For things that are not covered by the tool, we still depend on the Pulumi stack, such as the Traeffic ingress or any additional stuff that's easier to do via Pulumi.

Changes performed:

  • New tool added to the unchained monitoring setup
  • CI configured to apply the changes to our cluster after approval
  • Because kube-prometheus does not offer diff functionality similar to Pulumi, we depend on kubectl diff to preview the changes to be made to our stack
  • Removal of the old tool setup

Closes #700

.circleci/config.yml Outdated Show resolved Hide resolved
@kaladinlight
Copy link
Collaborator

to clarify, does the kube prometheus actually deploy grafana/loki/prometheus, or just bundle grafana dashboard views and different alerts?

@lmyslinski
Copy link
Contributor Author

to clarify, does the kube prometheus actually deploy grafana/loki/prometheus, or just bundle grafana dashboard views and different alerts?

It's the full stack. Prometheus operator, node exporter, grafana, alert manager plus some nice default dashboards and alerts

@lmyslinski lmyslinski merged commit 556184c into develop Apr 27, 2023
@lmyslinski lmyslinski deleted the promstack branch April 27, 2023 12:57
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.

Setup new monitoring stack
2 participants