11 2022 档案

摘要:一、 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 阅读(68) 评论(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 阅读(1075) 评论(0) 推荐(0) 编辑
摘要:Prometheus 从数据源拉取数据后,会对原始数据进行编辑 其中 ​​metric_relabel_configs​​​是 Prometheus 在保存数据前的最后一步标签重新编辑(relabel_configs)。所以,哪怕你将 ​​metric_relabel_configs​​​模块放在  阅读全文
posted @ 2022-11-28 19:08 arun_yh 阅读(1161) 评论(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 阅读(53) 评论(0) 推荐(0) 编辑
摘要:状态码 307 与 302 之间的唯一区别在于,当发送重定向请求的时候,307 状态码可以确保请求方法和消息主体不会发生变化 阅读全文
posted @ 2022-11-15 15:51 arun_yh 阅读(109) 评论(0) 推荐(0) 编辑
摘要:一、nginx reload所做的事情 首先会-t进行检查,假如检查失败,nginx好像是不会重启worker进程的;检查通过nginx会启动新的worker进程,并shutdown老的worker进程;如下图所示 阅读全文
posted @ 2022-11-03 16:54 arun_yh 阅读(47) 评论(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 阅读(73) 评论(0) 推荐(0) 编辑
摘要:一、打印先前退出容器 # -p, --previous=false: If true, print the logs for the previous instance of the container in a pod if it exists.# -p参数应用场景为 --> 可以打印一个pods 阅读全文
posted @ 2022-11-02 23:04 arun_yh 阅读(53) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示