doc issue related to monitor part
This commit is contained in:
parent
e7739bdf6f
commit
be87141fe7
3 changed files with 6 additions and 6 deletions
|
@ -38,5 +38,5 @@ data:
|
||||||
replacement: $1:$2
|
replacement: $1:$2
|
||||||
|
|
||||||
- source_labels: [__meta_kubernetes_service_name]
|
- source_labels: [__meta_kubernetes_service_name]
|
||||||
regex: prometheus-service
|
regex: prometheus-server
|
||||||
action: drop
|
action: drop
|
||||||
|
|
|
@ -94,7 +94,7 @@ spec:
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: prometheus-service
|
name: prometheus-server
|
||||||
namespace: ingress-nginx
|
namespace: ingress-nginx
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: prometheus
|
app.kubernetes.io/name: prometheus
|
||||||
|
|
|
@ -32,7 +32,7 @@ clusterrole "prometheus-server" created
|
||||||
serviceaccount "prometheus-server" created
|
serviceaccount "prometheus-server" created
|
||||||
clusterrolebinding "prometheus-server" created
|
clusterrolebinding "prometheus-server" created
|
||||||
deployment "prometheus-server" created
|
deployment "prometheus-server" created
|
||||||
service "prometheus-service" created
|
service "prometheus-server" created
|
||||||
```
|
```
|
||||||
|
|
||||||
### Prometheus Dashboard
|
### Prometheus Dashboard
|
||||||
|
@ -44,7 +44,7 @@ kubectl get svc -n ingress-nginx
|
||||||
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
|
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
|
||||||
default-http-backend ClusterIP 10.103.59.201 <none> 80/TCP 3d
|
default-http-backend ClusterIP 10.103.59.201 <none> 80/TCP 3d
|
||||||
ingress-nginx NodePort 10.97.44.72 <none> 80:30100/TCP,443:30154/TCP,10254:32049/TCP 5h
|
ingress-nginx NodePort 10.97.44.72 <none> 80:30100/TCP,443:30154/TCP,10254:32049/TCP 5h
|
||||||
prometheus NodePort 10.98.233.86 <none> 9090:32630/TCP 1m
|
prometheus-server NodePort 10.98.233.86 <none> 9090:32630/TCP 1m
|
||||||
```
|
```
|
||||||
|
|
||||||
Obtain the IP address of the nodes in the running cluster:
|
Obtain the IP address of the nodes in the running cluster:
|
||||||
|
@ -77,8 +77,8 @@ kubectl get svc -n ingress-nginx
|
||||||
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
|
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
|
||||||
default-http-backend ClusterIP 10.103.59.201 <none> 80/TCP 3d
|
default-http-backend ClusterIP 10.103.59.201 <none> 80/TCP 3d
|
||||||
ingress-nginx NodePort 10.97.44.72 <none> 80:30100/TCP,443:30154/TCP,10254:32049/TCP 5h
|
ingress-nginx NodePort 10.97.44.72 <none> 80:30100/TCP,443:30154/TCP,10254:32049/TCP 5h
|
||||||
prometheus NodePort 10.98.233.86 <none> 9090:32630/TCP 10m
|
prometheus-server NodePort 10.98.233.86 <none> 9090:32630/TCP 10m
|
||||||
grafana NodePort 10.98.233.86 <none> 9090:31086/TCP 10m
|
grafana NodePort 10.98.233.87 <none> 3000:31086/TCP 10m
|
||||||
```
|
```
|
||||||
|
|
||||||
Open your browser and visit the following URL: _http://{node IP address}:{grafana-svc-nodeport}_ to load the Grafana Dashboard.
|
Open your browser and visit the following URL: _http://{node IP address}:{grafana-svc-nodeport}_ to load the Grafana Dashboard.
|
||||||
|
|
Loading…
Reference in a new issue