How to run Grafana on Synpse
- Create secret with Grafana configuration:
synpse secret create grafana-config -f samples/grafana/grafana.ini
! Important to know about grafana Config is that once started it will not accept changes.
- Create Grafana deployment:
synpse deploy -f samples/grafana/grafana-synpse.yaml
To expose your Grafana you can use Webhookrelay
-
Register and login to WHR
-
Create bidirectional tunnel with custom domain. Set destination to
http://grafana:3000
-
Create token to configure your tunnel
-
Create secrets
relaySecret
andrelayKey
:
synpse secret create relaySecret -v RELAYSECRET
synpse secret create relayKey -v RELAYKEY
- Change
grafana-synpse-webhookrelay.yaml
to point to your tunnel:
- name: relayd
image: webhookrelay/webhookrelayd-aarch64:1
args:
- --mode
- tunnel
- -t
- <tunnel_name>
- Deploy
grafana-synpse-webhookrelay.yaml
to Synpse!