Skip to content

Use cluster integrations by default [RUN AS-IF-FOSS]

What does this MR do?

Changes references to Clusters::Applications::{ElasticStack,Prometheus} to the corresponding Clusters::Integrations::{ElasticStack,Prometheus} where appropriate.

For context, we are removing one-click applications from GitLab but leaving the integrations for Prometheus and Elastic Stack.

We have code in place that keeps the integration in sync with the corresponding cluster application, and have backfilled the integrations, so we can now use them as a source of truth.

This is not a breaking change (alert updates continue to work for now), but should make it a lot easier to remove the application models when the time comes.

See

Screenshots (strongly suggested)

Steps taken:

  1. Added a cluster
  2. Installed prometheus and elastic stack
    • Pod logs work
    • Metrics work
    • Alerts work
  3. Ran cluster.application_elastic_stack.delete and cluster.application_prometheus.delete
    • Pod logs work
    • Metrics work
    • Alerts work
Pod logs Metrics Alerts
Screenshot_2021-05-28_Administrator_minimal-ruby-app_1_ Screenshot_2021-05-28_Metrics_Dashboard___production___Administrator_minimal-ruby-app_1_ Screenshot_2021-05-28_Alerts___Administrator_minimal-ruby-app

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Hordur Freyr Yngvason

Merge request reports

Loading