Skip to content

logo

Prometheus#

Prometheus is an open-source systems monitoring and alerting toolkit originally built at SoundCloud. Since its inception in 2012, many companies and organizations have adopted Prometheus, and the project has a very active developer and user community.

Prerequisites#

Deploy k0rdent v1.0.0: QuickStart

Deploy Ingress-nginx to expose application web UI

Install template to k0rdent#

helm install prometheus oci://ghcr.io/k0rdent/catalog/charts/prometheus-service-template \
    --version 27.5.1 -n kcm-system

Verify service template#

kubectl get servicetemplates -A
# NAMESPACE    NAME                       VALID
# kcm-system   prometheus-27-5-1          true

Deploy service template#

apiVersion: k0rdent.mirantis.com/v1alpha1
kind: ClusterDeployment
# kind: MultiClusterService
...
  serviceSpec:
    services:
      - template: prometheus-27-5-1
        name: prometheus
        namespace: prometheus
        values: |
          prometheus:
            server:
              ingress:
                enabled: true
                annotations:
                  kubernetes.io/ingress.class: nginx
                hosts:
                  - prometheus.example.com