Skip to content

Getting Started

Frank Jogeleit edited this page Mar 18, 2021 · 10 revisions

Installation with Helm

Policy Reporter provides a Helm Chart and related Helm Chart Repository. The basic installation provides a Prometheus Metrics Endpoint.

To add optional features like the Policy Reporter UI, Monitoring Stack for Prometheus Operator or Notifications to Grafana Loki, Elasticsearch, Discord or Slack have a look to the Helm Chart values.yaml and Subcharts

Add the Helm Repository

helm repo add policy-reporter https://fjogeleit.github.io/policy-reporter
helm repo update

Basic Installation

  • Prometheus Metrics Endpoint: http://policy-reporter:2112/metrics
helm install policy-reporter policy-reporter/policy-reporter -n policy-reporter --create-namespace

Installation including the Policy Reporter UI

helm install policy-reporter policy-reporter/policy-reporter --set ui.enabled=true -n policy-reporter --create-namespace

Accessing via Port Forward

kubectl port-forward service/policy-reporter-ui 8082:8080 -n policy-reporter

Installation including the Monitoring Stack

  • ServiceMonitor for Prometheus
  • 3 preconfigured ConfigMaps with Grafana Dashboards
helm install policy-reporter policy-reporter/policy-reporter --set monitoring.enabled=true -n policy-reporter --create-namespace

Installation including Notifcations to Grafana Loki

  • Send new PolicyReport Results to Grafana Loki
helm install policy-reporter policy-reporter/policy-reporter --set target.loki.host=http://loki:3100 -n policy-reporter --create-namespace
Clone this wiki locally