排查一个常见 502 现象
现象
nginx 的日志中有两个关键错误
- no live upstreams while connecting to upstream
- upstream prematurely closed connection while reading response header from upstream
安装部署后,BK_DOMAIN 默认使用的是 bktencent.com,PaaS 的访问域名为 paas.bktencent.com。
此文档将以配置为 *.bk.example.com 为目标展开说明(此时 PaaS 的 paas.bk.example.com)
Running in BKCI
install/upgrade mysqlclient
refer: https://docs.djangoproject.com/en/3.2/ref/databases/#mysql-db-api-drivers
本来想搞个 Prometheus 把房子里的两台服务器监控起来的,看完 Prometheus + Grafana + node_exporter 的实现方案,对自己发出了疑问?我究竟是想要监控什么?我无非只是想要个大屏看着爽而已。