From 32f6334846fd8d6ea4ddc071f3dd6c5df25ab348 Mon Sep 17 00:00:00 2001 From: cutezhangq Date: Sun, 19 Jun 2022 12:31:22 +0800 Subject: [PATCH] improve docs-prometheus Signed-off-by: cutezhangq --- docs/working-with-prometheus.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/working-with-prometheus.md b/docs/working-with-prometheus.md index 9bd578206..d6ee0f6ef 100644 --- a/docs/working-with-prometheus.md +++ b/docs/working-with-prometheus.md @@ -1,19 +1,19 @@ # Use Prometheus to monitor Karmada member clusters -[Prometheus](https://github.com/prometheus/prometheus) , a [Cloud Native Computing Foundation ](https://cncf.io/) project, is a systems and service monitoring system. It collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts when specified conditions are observed. +[Prometheus](https://github.com/prometheus/prometheus), a [Cloud Native Computing Foundation](https://cncf.io/) project, is a system and service monitoring system. It collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts when specified conditions are observed. -This document gives an example to demonstrate how to use the `Prometheus` to monitor karmada member clusters. +This document gives an example to demonstrate how to use the `Prometheus` to monitor Karmada member clusters. -##Start up Karmada clusters -You just need to clone Karmada repo, and run the following script in Karmada directory. +## Start up Karmada clusters +You just need to clone Karmada repo, and run the following script in Karmada directory. -``` +```shell hack/local-up-karmada.sh ``` ## Start Prometheus -1. Create resource objects of prometheus, the content is as follows. +1. Create resource objects of Prometheus, the content is as follows. ``` apiVersion: v1 @@ -287,7 +287,7 @@ hack/local-up-karmada.sh name: prometheus-config ``` -2. Run the below command to execute karmada PropagationPolicy and ClusterPropagationPolicy. +2. Run the below command to execute Karmada PropagationPolicy and ClusterPropagationPolicy. ``` cat <