Deploy the Grafana Operator and create a dashboard.
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