Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kubernetes监控 #303

Open
uniquejava opened this issue Apr 24, 2020 · 0 comments
Open

Kubernetes监控 #303

uniquejava opened this issue Apr 24, 2020 · 0 comments

Comments

@uniquejava
Copy link
Owner

uniquejava commented Apr 24, 2020

What, Why, How?

详见 Monitoring Kubernetes with Prometheus

实战
Monitoring Your Apps in Kubernetes Environment with Prometheus

要监控什么?

Type Description
硬件监控 1)通过远程控制卡:Dell的IDRAC2)IPMI(硬件管理接口)监控物理设备。3)网络设备:路由器、交换机温度,硬件故障等。
系统监控 CPU,内存,硬盘利用率,硬件I/O,网卡流量,TCP状态,进程数
应用监控 Nginx、Tomcat、PHP、MySQL、Redis等,业务涉及的服务都要监控起来
日志监控 系统日志、服务日志、访问日志、错误日志,这个现成的开源的ELK解决方案,会在下一章讲解
安全监控 1)可以利用Nginx+Lua实现WAF功能,并存储到ES,通过Kibana可视化展示不同的攻击类型。2)用户登录数,passwd文件变化,其他关键文件改动
API监控 收集API接口操作方法(GET、POST等)请求,分析负载、可用性、正确性、响应时间
业务监控 例如电商网站,每分钟产生多少订单、注册多少用户、多少活跃用户、推广活动效果(产生多少用户、多少利润)
流量分析 根据流量获取用户相关信息,例如用户地理位置、某页面访问状况、页面停留时间等。监控各地区访问业务网络情况,优化用户体验和提升收益

K8s dashboard太简陋了, 寻找替代方案。

kubernetes监控-prometheus+grafana完美监控

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant