Ad Code

Responsive Advertisement

Ticker

6/recent/ticker-posts

AKS Promethus Graffan

 Ref:

https://www.coachdevops.com/2023/03/how-to-setup-monitoring-on-aks-cluster.html

https://srivastavasuman8.medium.com/setting-up-kube-prometheus-stack-on-kubernetes-services-5acc10fbb535

https://dev.to/thenjdevopsguy/monitoring-aks-with-prometheus-and-grafana-9o8

kubectl get all -n monitoring


monitor.yaml

prometheus:

  enabled: true


alertmanager:

  enabled: true


grafana:

  enabled: true


helm install kube-prometheus-stack prometheus-community/kube-prometheus-stack -n monitoring -f monitor.yaml



# Deploy the nginx ingress

helm install ingress-nginx ingress-nginx /ingress-nginx \

  --namespace monitoring \

  --set controller.service.annotations."service\.beta\.kubernetes\.io/azure-load-balancer-health-probe-request-path"=/healthz


helm install ingress-nginx ingress-nginx/ingress-nginx \

  --namespace ingress-nginx \

  --set controller.service.annotations."service\.beta\.kubernetes\.io/azure-load-balancer-health-probe-request-path"=/healthz



Expose Graffana:

kubectl port-forward svc/prometheus-grafana -n monitoring 4000:80


Expose Promethus:

kubectl port-forward svc/prometheus-kube-prometheus-prometheus -n monitoring 4001:9090


Post a Comment

0 Comments

Ad Code

Responsive Advertisement