- Installing Grafana
- Dashboards
- Data Sources
- Multi namespace support
- Plugins
- Mounting extra config files
- Jsonnet support
- Env vars
The following example CRs are provided:
- Grafana.yaml: Installs Grafana using the default configuration and an Ingress or Route.
- GrafanaWithIngressHost.yaml: Installs Grafana using the default configuration and an Ingress where the host is set for external access.
- ldap/Grafana.yaml: Installs Grafana and sets up LDAP authentication. LDAP configuration is mounted from the configmap ldap/ldap-config.yaml
- oauth/Grafana.yaml: Installs Grafana and enable OAuth authentication using the OpenShift OAuthProxy.
- ha/Grafana.yaml: Installs Grafana in high availability mode with Postgres as a database.
- persistentvolume/Grafana-Kubernetes.yaml: Installs Grafana but provides a dedicated PVC for the database.
- persistentvolume/Grafana-OpenShift.yaml: Installs Grafana but provides a dedicated PVC for the database. OpenShift specific example without assigning an
fsGroup
. - env/Grafana.yaml: Shows how to provide env vars including admin credentials from a secret.
- datasource-env-vars/Grafana.yaml: Shows how to provide env vars and use them in a data source to provide credentials.
- SimpleDashboard.yaml: Minimal empty dashboard.
- DashboardWithPlugins.yaml: Minimal empty dashboard with plugin dependencies.
- DashboardFromURL.yaml: A dashboard that downloads its contents from a URL and falls back to embedded json if the URL cannot be resolved.
- KeycloakDashboard.yaml: A dashboard that shows keycloak metrics and demonstrates how to use datasource inputs.
- Prometheus.yaml: Prometheus data source, expects a service named
prometheus-service
listening on port 9090 in the same namespace. - SimpleJson.yaml: Simple JSON data source, requires the grafana-simple-json-datasource plugin to be installed.