Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 596 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 596 Bytes

Pre-requisite

An up and running k8s cluster

NOTE: Successfully tested on kind-v0.23.0

Ex1: Install prometheus-operator

./install.sh

# Prometheus access:
kubectl port-forward -n monitoring prometheus-prometheus-stack-kube-prom-prometheus-0 9090

# Grafana access:
# login as admin with password prom-operator
kubectl port-forward $(kubectl get  pods --selector=app.kubernetes.io/name=grafana -n  monitoring --output=jsonpath="{.items..metadata.name}") -n monitoring  3000 &

# Alertmanager UI access
kubectl port-forward -n monitoring svc/alertmanager-operated 9093:9093