Skip to content

Instantly share code, notes, and snippets.

@cmwylie19
Last active January 24, 2024 21:45
Show Gist options
  • Save cmwylie19/a581764e40b36ee8192d3bed76086996 to your computer and use it in GitHub Desktop.
Save cmwylie19/a581764e40b36ee8192d3bed76086996 to your computer and use it in GitHub Desktop.
Pepr Dashboard

Grafana Dashboard

Deploy the Grafana Operator and create a dashboard.

Demo

Deploy the Grafana helm chart

kubectl create ns grafana
helm install grafana -n grafana oci://registry-1.docker.io/bitnamicharts/grafana-operator

Create an instance of Grafana

kubectl create -f -<<EOF
apiVersion: grafana.integreatly.org/v1beta1
kind: Grafana
metadata:
  name: grafana
  namespace: grafana
  labels:
    dashboards: "grafana"
spec:
  config:
    log:
      mode: "console"
  #  auth:
  #   disable_login_form: "true"
    security:
      admin_user: root
      admin_password: secret
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment