mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 01:53:33 -06:00
727 B
727 B
Grafana Kubernetes compatible API Server
Basic Setup
app_mode = development
[feature_toggles]
grafanaAPIServer = true
kubernetesPlaylists = true
Start Grafana:
make run
Enable dual write to etcd
Start etcd
:
make devenv sources=etcd
Add etcd server to custom.ini
:
[grafana-apiserver]
etcd_servers = 127.0.0.1:2379
kubectl
access
From the root of the Grafanaa repository, run the following:
export KUBECONFIG=$PWD/data/grafana-apiserver/grafana.kubeconfig
kubectl api-resources
Grafana API Access
The Kubernetes compatible API can be accessed using existing Grafana AuthN at: http://localhost:3000/apis.