【openshift教程-19.4】【监控-prometheus-grafana展示页面】 Published by Connor Xu August 25th, 2019 Permalink 访问地址:http://grafana-monitoring.apps.intra.XXXXXXXX.com 支持自定义,可以在Gitlab对应项目里添加(https://gitee.com/promethues-samples/prometheus-deploy/blob/master/manifests/grafana/grafana-dashboard-definitions-nginx.yaml) Openshift, Prometheus
【openshift教程-19.3】【监控-prometheus-查询页面】 Published by Connor Xu August 25th, 2019 Permalink 访问地址:http://prometheus-k8s-monitoring.apps.intra.XXXX.com 基本上支持所有所需要的指标,需要熟悉PMSQL查询语句 比如: min(kube_deployment_status_replicas_available{deployment="$deployment_name",namespace="$deployment_namespace"}) without (instance, pod) Openshift, Prometheus
【openshift教程-19.2】【监控-prometheus-部署】 Published by Connor Xu August 25th, 2019 Permalink 1、下载部署项目 git clone https://gitee.com/promethues-samples/prometheus-deploy.git2、执行一键部署 cd prometheus-operator/ && ./deploy 成功后: 查看所有的route: Openshift, Prometheus
【openshift教程-19.1】【监控-prometheus-权限设置】 Published by Connor Xu August 25th, 2019 Permalink 开通使用宿主机网络及目录挂载权限 oc edit scc restricted 所有节点放开9100的访问权限 iptables -I OS_FIREWALL_ALLOW -p tcp -m tcp --dport 9100 -j ACCEPT Openshift, Prometheus