stefanprodan / faas-grafana

OpenFaaS Grafana

Home Page:https://hub.docker.com/r/stefanprodan/faas-grafana/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

faas-grafana

OpenFaaS Grafana Docker image

Kubernetes

Run Grafan in OpenFaaS Kubernetes namespace:

kubectl -n openfaas run \
--image=stefanprodan/faas-grafana:4.6.3 \
--port=3000 \
grafana

Expose Grafan with a NodePort:

kubectl -n openfaas expose deployment grafana \
--type=NodePort \
--name=grafana

Find Grafana node port address:

$GRAFANA_PORT=$(kubectl -n openfaas get svc grafana -o jsonpath="{.spec.ports[0].nodePort}")

URL: http://<KUBE_IP>:<GRAFANA_PORT>/dashboard/db/openfaas Credentials: admin/admin

Swarm

Run Grafana in OpenFaaS Swarm network:

docker service create -d \
--name=func_grafana \
--publish=3000:3000 \
--network=func_functions \
stefanprodan/faas-grafana:4.6.3

URL: http://<SWARM_IP>:3000/dashboard/db/openfaas

ezoic increase your site revenue

About

OpenFaaS Grafana

https://hub.docker.com/r/stefanprodan/faas-grafana/

License:MIT License


Languages

Language:Shell 74.7%Language:Dockerfile 14.2%Language:Makefile 11.0%