https://github.com/stefanprodan/faas-grafana
OpenFaaS Grafana
https://github.com/stefanprodan/faas-grafana
Last synced: 5 days ago
JSON representation
OpenFaaS Grafana
- Host: GitHub
- URL: https://github.com/stefanprodan/faas-grafana
- Owner: stefanprodan
- License: mit
- Created: 2018-03-02T21:17:01.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-29T13:07:50.000Z (over 4 years ago)
- Last Synced: 2025-03-31T08:43:47.870Z (about 1 month ago)
- Language: Shell
- Homepage: https://hub.docker.com/r/stefanprodan/faas-grafana/
- Size: 6.84 KB
- Stars: 35
- Watchers: 2
- Forks: 22
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# faas-grafana
OpenFaaS Grafana [Docker image](https://hub.docker.com/r/stefanprodan/faas-grafana/)
### Kubernetes
Run Grafan in OpenFaaS Kubernetes namespace:
```bash
kubectl -n openfaas run \
--image=stefanprodan/faas-grafana:4.6.3 \
--port=3000 \
grafana
```Expose Grafan with a NodePort:
```bash
kubectl -n openfaas expose deployment grafana \
--type=NodePort \
--name=grafana
```Find Grafana node port address:
```bash
$GRAFANA_PORT=$(kubectl -n openfaas get svc grafana -o jsonpath="{.spec.ports[0].nodePort}")
```URL: `http://:/dashboard/db/openfaas`
Credentials: `admin/admin`### Swarm
Run Grafana in OpenFaaS Swarm network:
```bash
docker service create -d \
--name=func_grafana \
--publish=3000:3000 \
--network=func_functions \
stefanprodan/faas-grafana:4.6.3
```URL: `http://:3000/dashboard/db/openfaas`