From defa2bd1e242519c62a5c2b3b786b1caa6d906d4 Mon Sep 17 00:00:00 2001 From: Ashwin Sriram <116557116+AshwinSriram11@users.noreply.github.com> Date: Tue, 16 Jul 2024 17:34:15 +0530 Subject: [PATCH] Modified Access-UI Page for Website (#2455) --- docs/access-ui.md | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/docs/access-ui.md b/docs/access-ui.md index 3bdd9f2b..da31f666 100644 --- a/docs/access-ui.md +++ b/docs/access-ui.md @@ -1,8 +1,19 @@ -# Access UIs +--- +weight: 300 +toc: true +title: Access Dashboards +menu: + docs: + parent: kube +images: [] +draft: false +--- -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. +Prometheus, Grafana, and Alertmanager dashboards can be accessed quickly using `kubectl port-forward` after running the quickstart via the commands below. -> 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. +> Kubernetes 1.10 or later is required. + +You can also learn how to [expose Prometheus/Alertmanager/Grafana via Ingress ->]({{<ref "kube-prometheus/kube/exposing-prometheus-alertmanager-grafana-ingress">}}) ## Prometheus @@ -10,7 +21,12 @@ Prometheus, Grafana, and Alertmanager dashboards can be accessed quickly using ` $ kubectl --namespace monitoring port-forward svc/prometheus-k8s 9090 ``` -Then access via [http://localhost:9090](http://localhost:9090) +Open Prometheus on [http://localhost:9090](http://localhost:9090) in your browser. + +Check out the [alerts](http://localhost:9090/alerts) and [rules](http://localhost:9090/rules) pages with the pre-configured rules and alerts! +This Prometheus is supposed to monitor your Kubernetes cluster and make sure to alert you if there’s a problem with it. + +For your own applications we recommend running one or more other instances. ## Grafana @@ -18,12 +34,13 @@ Then access via [http://localhost:9090](http://localhost:9090) $ 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`. +Open Grafana on [localhost:3000](https://localhost:3000) in your browser. +You can login with the username `admin` and password `admin`. -## Alert Manager +## Alertmanager ```shell $ kubectl --namespace monitoring port-forward svc/alertmanager-main 9093 ``` -Then access via [http://localhost:9093](http://localhost:9093) +Open Alertmanager on [localhost:9093](http://localhost:9093) in your browser. -- GitLab