会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lixinliang
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
10
11
12
13
14
15
16
17
18
···
22
下一页
2020年10月9日
docker 优化
摘要: $ cat /etc/docker/daemon.json { "default-ulimits":{ "nofile":{ "Name":"nofile", "Hard":864000, "Soft":864000 } }, "log-driver":"json-file", "log-opts"
阅读全文
posted @ 2020-10-09 16:38 lixinliang
阅读(318)
评论(0)
推荐(0)
2020年8月19日
Megacli 简易使用
摘要: HP 服务器查询: hpacucli ctrl all show config hpacucli ctrl slot=1 show config detail 其他型号: MegaCli -LdPdInfo -aALL|more MegaCli -PDList -aAll| grep -Ei "(E
阅读全文
posted @ 2020-08-19 10:49 lixinliang
阅读(737)
评论(0)
推荐(0)
2020年8月12日
k8s 1.15 版本生产线上证书时间调整(亲测)
摘要: 1. 查看各个证书过期时间 3个master 都要 kubeadm alpha certs check-expiration 2. 备份原有证书 3个master 都要 cp -rp /etc/kubernetes /etc/kubernetes.bak 3. 备份etcd数据目录 3个master
阅读全文
posted @ 2020-08-12 09:47 lixinliang
阅读(353)
评论(0)
推荐(0)
2020年8月7日
grafana 展示 k8s prometheus
摘要: { "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name":
阅读全文
posted @ 2020-08-07 21:01 lixinliang
阅读(234)
评论(0)
推荐(0)
2020年7月13日
一场关于 thumbor 涉及到的Nginx 转发需求
摘要: 需求: 1> 在一个图片 url 后面添加: ?resize=axb (a b 任意数字) 返回缩略图尺寸,url 保持不变 2> 在一个图片 url 后面添加: ?stype=xxlarge 返回以下产品规定的 xxlarge 尺寸大小 3> 在一个图片 url 中 类型_图片.jpg 返回产品规
阅读全文
posted @ 2020-07-13 15:18 lixinliang
阅读(716)
评论(0)
推荐(0)
2020年7月1日
iptables udp 端口转发
摘要: 需求: java 服务: 10.16.0.186:7000 (udp 端口) 配置的转发机器: 外网ip(1.2.3.4) 内网ip(10.16.0.95) udp端口: 27001 iptables 开启转发功能: echo 1 >/proc/sys/net/ipv4/ip_forward sys
阅读全文
posted @ 2020-07-01 10:37 lixinliang
阅读(3487)
评论(0)
推荐(0)
2020年6月28日
minio 使用Elasticsearch发布MinIO事件
摘要: mc event add newminio/xy-production arn:minio:sqs::1:elasticsearch mc event list newminio/xy-production 参考连接: https://docs.min.io/cn/minio-bucket-noti
阅读全文
posted @ 2020-06-28 18:25 lixinliang
阅读(932)
评论(0)
推荐(0)
2020年6月16日
k8s 版本升级与证书续签方案
摘要: 此次升级是 1.15 版本升级至 1.16 升级 master 查找最新的稳定的1.16版本 (master01 执行) yum list --showduplicates kubeadm --disableexcludes=kubernetes 升级控制平面节点 升级第一个控制平面节点 1. 在您
阅读全文
posted @ 2020-06-16 16:27 lixinliang
阅读(848)
评论(0)
推荐(1)
2020年6月1日
logstash timestamp时间差8小时问题及解决
摘要: logstash中的时间与服务器时间差8小时,导致@timestamp字段中的时间不对,影响后续流程处理,因此修改logstash配置文件,主要修改 filter 中的字段: apiVersion: v1 data: input_main: |- input { udp { port => 1514
阅读全文
posted @ 2020-06-01 14:00 lixinliang
阅读(3373)
评论(0)
推荐(0)
k8s lifecycle 之 preStop
摘要: 环境: 因容器里服务不能直接被kill -9 强制杀掉,切pid 不为1 ,因此需要在容器关掉之前进行服务关闭操作,用到k8s 功能 prestop 关闭服务脚本: $ cat stop.sh #!/bin/sh echo "" echo "begin to shutdown..." #根据端口号查
阅读全文
posted @ 2020-06-01 13:55 lixinliang
阅读(7645)
评论(0)
推荐(0)
上一页
1
···
10
11
12
13
14
15
16
17
18
···
22
下一页
公告