
kubenetes
kubenetes
俞骏#
俞骏
展开
-
prometheus自定义监控指标
prometheus自定义监控指标 pushgateway添加为服务方式启动 vim /usr/lib/systemd/system/pushgateway.service [Unit] Description=pushgateway After=network.target [Service] ExecStart=/opt/pushgateway/pushgateway Restart=on-failure [Install] WantedBy=multi-user.target原创 2021-10-12 20:29:24 · 1137 阅读 · 0 评论 -
Prometheus+Grafana监控平台搭建
Prometheus+Grafana监控平台搭建 Prometheus安装 官网地址: https://prometheus.io/ 下载prometheus和node_exporter 启动node_exporter # nohup ./node_exporter & 安装Prometheus 编辑prometheus.yml, 将node_exporter添加到Prometheus目标对象,因为这里node_exporter和Prometheus安装在同一台机器,使用localhost即可,原创 2021-10-12 20:26:44 · 303 阅读 · 0 评论 -
kubernetes(k8s)+仪表盘部署
环境: 三台centos7 192.168.59.130: 192.168.59.131: 192.168.59.132: 1:关闭防火墙 systemctl stop firewalld setenforce 0 2:时间同步 yum -y install ntpdate ntpdate pool.ntp.org 3.修改主机名 hostnamectl set-hostname k8s-master hostnamectl set-hostname k8s-node1 hostnamectl set原创 2020-09-29 17:46:27 · 1236 阅读 · 1 评论