A basic example for deploying OLD Grafana with:
- Session storage in Redis (users logged into web UI)
- Dashboard storage in MySQL or MariaDB
- AWS CloudWatch access via
grafana-cloudwatch-accesssecret (should contain.aws/credentials & config files) - Basic user authentication. Change this if you want LDAP, Google OAuth, etc...
Note: This was to work around bug [grafana/grafana#3824][1]. This stack was for Grafana 3.1.1, and Kubernetes v1.6.4! If I were deploying this into a newer production cluster, I'd use Deployment instead of ReplicationController. NFS still seems to be the most well supported data store supporting multiple pods mounting at the same time.
On the NFS mount, the directory structure used was the following: