I am deploying grafana(6.6.0) in kubernetes cluster(v1.15.2) and now I want to install Pie Chart plugin in grafana. When I am not in docker, I could use this command to install:
grafana-cli plugins install grafana-piechart-panel
But now I am in kubernetes cluster, I could login to the pod and run install command, but when the pod is destroyed and recreated the installing history is lost. What should I do to permanently install plugin in the kubernetes cluster grafana? I have tried to define in yaml like this:
"name": "grafana",
"image": "grafana/grafana:6.6.0",
"ports": [
{
"name": "http",
"containerPort": 3000,
"protocol": "TCP"
}
],
"env": [
{
"name": "GF_INSTALL_PLUGINS",
"value": "grafana-piechart-panel"
}
],
and not works for me.
所有评论(0)