Categories
gcp Kubernetes

Kubernetes: Install Grafana & Prometheus on GKE using Helm Bitnami

Install Grafana https://github.com/bitnami/charts/tree/master/bitnami/grafana Create namespace kubectl create ns monitoring Add repo helm repo add bitnami https://charts.bitnami.com/bitnami Update repo helm repo update View version helm search repo -l bitnami/grafana | head Create custom_values.yaml https://github.com/bitnami/charts/blob/master/bitnami/grafana/values.yaml I added an annotation because I wanted an internal IP for the Load Balancer. Feel free to remove that section. vi custom_values.yaml […]

Categories
Kubernetes

Kubernetes: Install Grafana & Prometheus on GKE using Helm kube-prometheus-stack

https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack Add Repo helm repo add prometheus-community https://prometheus-community.github.io/helm-charts helm repo update Create custom_values.yaml GKE uses kubeDNS by default, so I enabled it. I created persistent disks and added an Internal Load Balancer by adding a google specific annotation. cat <<EOF > custom_values.yaml coreDns: enabled: false kubeDns: enabled: true prometheusOperator: createCustomResource: false alertmanager: alertmanagerSpec: storage: volumeClaimTemplate: […]