mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-08-19 13:31:10 +02:00
30 lines
981 B
Markdown
30 lines
981 B
Markdown
# Access UIs
|
|
|
|
Prometheus, Grafana, and Alertmanager dashboards can be accessed quickly using `kubectl port-forward` after running the quickstart via the commands below. Kubernetes 1.10 or later is required.
|
|
|
|
> Note: There are instructions on how to route to these pods behind an ingress controller in the [Exposing Prometheus/Alermanager/Grafana via Ingress](customizations/exposing-prometheus-alertmanager-grafana-ingress.md) section.
|
|
|
|
## Prometheus
|
|
|
|
```shell
|
|
$ kubectl --namespace monitoring port-forward svc/prometheus-k8s 9090
|
|
```
|
|
|
|
Then access via [http://localhost:9090](http://localhost:9090)
|
|
|
|
## Grafana
|
|
|
|
```shell
|
|
$ kubectl --namespace monitoring port-forward svc/grafana 3000
|
|
```
|
|
|
|
Then access via [http://localhost:3000](http://localhost:3000) and use the default grafana user:password of `admin:admin`.
|
|
|
|
## Alert Manager
|
|
|
|
```shell
|
|
$ kubectl --namespace monitoring port-forward svc/alertmanager-main 9093
|
|
```
|
|
|
|
Then access via [http://localhost:9093](http://localhost:9093)
|