This repository deploys an Grafana instance in a kubernetes cluster.
kubectl apply -f grafana-namespace.yaml
Create the Grafana PVC, Deployment and service with:
kubectl apply -f grafana-pvc.yaml
kubectl apply -f grafana-deployment.yaml
kubectl apply -f grafana-service.yaml
Once the deployment is ready, you can access to Grafana instance follwing your network configuration.
http://grafana.calfolguera.com:3000
You can use admin/admin as default credentials.
You can also deploy a Grafana instance through an ArgoCD application. Use the example in: https://github.com/hfolguera/kubernetes-argocd/blob/main/applications/grafana-application.yaml
Clone or download the repo, update and deploy it:
wget https://raw.githubusercontent.com/hfolguera/kubernetes-argocd/main/applications/grafana-application.yaml
vim grafana-application.yaml
kubectl apply -f grafana-application.yaml
Get the official documentation at https://grafana.com/docs/grafana/latest/installation/kubernetes/
- Configuration as code
TODO