A set of scripts and configuration files which helps to simplify local development.
Prerequisites
Create KinD cluster
kind create cluster --config helpers/kind_cluster_config.yaml --image kindest/node:v1.30.0
Install Kubernetes Monitoring Stack
helm upgrade --install monitoring chart --dependency-update -f helpers/values-kind.yaml
Follow installation notes and use Port Forwarding if you want to access the Grafana server from outside your KinD cluster
export POD_NAME=$(kubectl get pods --namespace default -l "app.kubernetes.io/name=grafana,app.kubernetes.io/instance=monitoring" -o jsonpath="{.items[0].metadata.name}")
kubectl --namespace default port-forward $POD_NAME 3000
dNation uses re-branded version of Grafana. This is done by basic script which needs to be mounted as k8s secret. Raw form of scrips is available here. If you want to re-generate k8s secret use following:
kubectl create secret generic dnation-brand --from-file=helpers/dnation_brand.sh --dry-run -o yaml