diff --git a/README.md b/README.md index 58c1f91bac3d069613ffc4e2f09a150b273ad990..787c7b5b9083b8dd045e12b491736e1c8fc9c7b6 100644 --- a/README.md +++ b/README.md @@ -82,9 +82,25 @@ Prometheus ```shell export PROMETHEUS=$(kubectl get pods --namespace monitoring -l "app=prometheus" -o jsonpath="{.items[0].metadata.name}") -kubectl --namespace monitoring port-forward $PROMETHEUS 3000:3000 +kubectl --namespace monitoring port-forward $PROMETHEUS 9090:9090 ``` -Then access via [http://localhost:3000](http://localhost:3000) +Then access via [http://localhost:9090](http://localhost:9090) + +Grafana + +```shell +export GRAFANA=$(kubectl get pods --namespace monitoring -l "app=grafana" -o jsonpath="{.items[0].metadata.name}") +kubectl --namespace monitoring port-forward $GRAFANA 3000:3000 +``` +Then access via [http://localhost:3000](http://localhost:3000) and use the default grafana user:password of `admin:admin`. + +Alert Manager + +```shell +export ALERTMGR=$(kubectl get pods --namespace monitoring -l "app=alertmanager" -o jsonpath="{.items[0].metadata.name}") +kubectl --namespace monitoring port-forward $ALERTMGR 9093:9093 +``` +Then access via [http://localhost:9093](http://localhost:9093) ## Customizing Kube-Prometheus