上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 21 下一页
摘要: { "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": 阅读全文
posted @ 2020-08-07 21:01 lixinliang 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 需求: 1> 在一个图片 url 后面添加: ?resize=axb (a b 任意数字) 返回缩略图尺寸,url 保持不变 2> 在一个图片 url 后面添加: ?stype=xxlarge 返回以下产品规定的 xxlarge 尺寸大小 3> 在一个图片 url 中 类型_图片.jpg 返回产品规 阅读全文
posted @ 2020-07-13 15:18 lixinliang 阅读(666) 评论(0) 推荐(0) 编辑
摘要: 需求: 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 阅读(3360) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(862) 评论(0) 推荐(0) 编辑
摘要: 此次升级是 1.15 版本升级至 1.16 升级 master 查找最新的稳定的1.16版本 (master01 执行) yum list --showduplicates kubeadm --disableexcludes=kubernetes 升级控制平面节点 升级第一个控制平面节点 1. 在您 阅读全文
posted @ 2020-06-16 16:27 lixinliang 阅读(811) 评论(0) 推荐(1) 编辑
摘要: logstash中的时间与服务器时间差8小时,导致@timestamp字段中的时间不对,影响后续流程处理,因此修改logstash配置文件,主要修改 filter 中的字段: apiVersion: v1 data: input_main: |- input { udp { port => 1514 阅读全文
posted @ 2020-06-01 14:00 lixinliang 阅读(3258) 评论(0) 推荐(0) 编辑
摘要: 环境: 因容器里服务不能直接被kill -9 强制杀掉,切pid 不为1 ,因此需要在容器关掉之前进行服务关闭操作,用到k8s 功能 prestop 关闭服务脚本: $ cat stop.sh #!/bin/sh echo "" echo "begin to shutdown..." #根据端口号查 阅读全文
posted @ 2020-06-01 13:55 lixinliang 阅读(7477) 评论(0) 推荐(0) 编辑
摘要: FROM centos:7 MAINTAINER www.liang.com RUN yum install -y unzip gcc gcc-c++ make libxml2 libxml2-devel libxslt libxslt-devel gd gd-devel perl-ExtUtils 阅读全文
posted @ 2020-05-26 13:03 lixinliang 阅读(509) 评论(0) 推荐(0) 编辑
摘要: 1. nginx 版本要高,1.12 以上,且有 --with-stream 模块,测试地址: 10.16.0.95 (公网地址 121.251.110.41 ) 2. 物理机 nginx 必须将以下配置添加在nginx.conf中,http 模块外 stream { upstream udpser 阅读全文
posted @ 2020-04-21 14:34 lixinliang 阅读(1452) 评论(0) 推荐(0) 编辑
摘要: git clone https://glab.tagtic.cn/xxx/tgbus-comment.git cd tgbus-comment/ 查看git 提交的记录 git log 根据git 提交的记录切换到当时的分支 git checkout baba71e4c449957d08a96de2 阅读全文
posted @ 2020-04-15 12:08 lixinliang 阅读(1637) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 21 下一页