当前位置: 首页 > 文档资料 > Cloudadc 帮助文档 >

Monitor Dashboard

优质
小牛编辑
122浏览
2023-12-01

Monitoring Dashboard is used to access Nginx Plus Ingress Controller Live Activity, this page is for setting up Nginx Plus Ingress Controller Monitoring Dashboard.

Monitoring Dashboard

1. Get Code
git clone https://github.com/cloudadc/container-ingress.git
cd container-ingress/nginx-plus-ingress/monitor/
2. Configuration Highlight
      containers:
        ports:
        - name: monitor
          containerPort: 8898
        args:
          - -nginx-status=true
          - -nginx-status-allow-cidrs=0.0.0.0/0
          - -nginx-status-port=8898

Refer to https://www.xnip.cn/doc/s9RCTZXrWAmonitor/nginx-plus-ingress.yaml for completed configuration.

3. Expose Dashboard to F5
kubectl apply -f https://www.xnip.cn/doc/s9RCTZXrWAmonitor/nginx-plus-ingress-svc.yaml
kubectl apply -f https://www.xnip.cn/doc/s9RCTZXrWAmonitor/nginx-plus-ingress-configmap.yaml

Refer to https://www.xnip.cn/doc/s9RCTZXrWAmonitor/nginx-plus-ingress-svc.yaml and https://www.xnip.cn/doc/s9RCTZXrWAmonitor/nginx-plus-ingress-configmap.yaml for completed configuration.

4. Demonstrations

Access the Monitoring Dashboard via http://192.168.5.40:8080/dashboard.html