上一页 1 2 3 4 5 6 7 8 9 10 ··· 63 下一页
摘要: 一、背景 如二、描述所示pods频繁地重启,导致听云的探针收集规则文件占用大量的空间,需要查询"063915dd-c5b8-4137-9e9c-119488992b56"对应的是哪个pod 听云data下存储的探针收集规则: 二、 (1)对应pod查询 kubectl get po -A -o js 阅读全文
posted @ 2022-12-22 21:48 arun_yh 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 零、快速解决ops无法登录问题 chage -M -1 ops && chage -M 90 ops tr -dc '@A-Za-z0-9%_' </dev/urandom | head -c 15 > /tmp/testpass echo ops:`cat /tmp/testpass` | chp 阅读全文
posted @ 2022-12-20 22:52 arun_yh 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 一、Shell中将分隔符的字符串转为数组的常用方法 [root@host ~]# str="ONE,TWO,THREE,FOUR" [root@host ~]# arr=(`echo $str | tr ',' ' '`) [root@host ~]# echo ${arr[@]} ONE TWO 阅读全文
posted @ 2022-12-01 10:46 arun_yh 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 一、 docker search portainer NAME DESCRIPTION STARS OFFICIAL AUTOMATED portainer/portainer This Repo is now deprecated, use portainer/p… 2303 docker run 阅读全文
posted @ 2022-11-30 11:07 arun_yh 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 写在之前 prometheus 配置文件大体框架有以下几个部分: data: prometheus.yml: | # rule_files: - etc/prometheus/rules.yml alerting: alertmanagers: - static_configs: - targets 阅读全文
posted @ 2022-11-28 21:12 arun_yh 阅读(949) 评论(0) 推荐(0) 编辑
摘要: Prometheus 从数据源拉取数据后,会对原始数据进行编辑 其中 ​​metric_relabel_configs​​​是 Prometheus 在保存数据前的最后一步标签重新编辑(relabel_configs)。所以,哪怕你将 ​​metric_relabel_configs​​​模块放在  阅读全文
posted @ 2022-11-28 19:08 arun_yh 阅读(941) 评论(1) 推荐(2) 编辑
摘要: vim /etc/login.defs vim /etc/pam.d/system-auth https://www.cnblogs.com/smail-bao/p/9488629.html https://www.networkworld.com/article/2726217/how-to-en 阅读全文
posted @ 2022-11-26 17:18 arun_yh 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 状态码 307 与 302 之间的唯一区别在于,当发送重定向请求的时候,307 状态码可以确保请求方法和消息主体不会发生变化 阅读全文
posted @ 2022-11-15 15:51 arun_yh 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 一、nginx reload所做的事情 首先会-t进行检查,假如检查失败,nginx好像是不会重启worker进程的;检查通过nginx会启动新的worker进程,并shutdown老的worker进程;如下图所示 阅读全文
posted @ 2022-11-03 16:54 arun_yh 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 一、get pods的诡异现象记录 #Init的状态的pod已经不是Running了,但是它恢复后pod的name不会变,而且RESTARTS的次数为0,注意下这个!!! root@xx-qq-bj:~# kubectl --kubeconfig ~/.kube/config_prod -n pro 阅读全文
posted @ 2022-11-02 23:18 arun_yh 阅读(63) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 63 下一页