Skip to content

chore: connect instances to prometheus

Keith Grootboom requested to merge keith/se_5491 into main

Description

Adds the necessary configuration so that namespaces outside of prometheus and kube-system are monitored.

Supporting information

Testing instructions

  • Apply the changes
  • For any instance change the EDX_PLATFORM_VERSION to something that doesn't exist like opencraft-release/maple.10-grove
  • Deploy your instance (./grove deploy {instance_name})
  • When the instance fails to deploy there will be a KubeJobFailed alert.
    • Port forward the prometheus container: ./kubectl --namespace monitoring port-forward svc/prometheus-operated 9090
    • View the alerts: http://localhost:9090/alerts

Screenshots

Screenshot_20220530_135430

Checklist

If any of the items below is not applicable, do not remove them, but put a check in it.

  • All providers include the new feature/change
  • All affected providers can provision new clusters
  • Unit tests are added/updated
  • Documentation is added/updated
  • The TOOLS_CONTAINER_IMAGE_VERSION in ci_vars.yml is updated
  • The grove-template repository is updated
Edited by Keith Grootboom

Merge request reports