会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
凯文队长
系统运维 k8s 微服务
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
9
···
15
下一页
2019年3月27日
sentinel详解
摘要: https://segmentfault.com/a/1190000002680804
阅读全文
posted @ 2019-03-27 11:43 凯文队长
阅读(3921)
评论(0)
推荐(0)
编辑
expect使用
摘要: expect时用与提供自动交互的工具。比如如果想要用ssh登陆服务器,每次都输入密码你觉得麻烦,那你就可以使用expect来做自动交互,这样的话就不用每次都输入密码了。 先看例子: 解释: 1.#!/usr/bin/expect :需要先安装软件,然后来说明用expect来执行 2.spawn ss
阅读全文
posted @ 2019-03-27 11:18 凯文队长
阅读(317)
评论(0)
推荐(0)
编辑
2019年3月26日
Headless Service 和Service
摘要: 定于spec:clusterIP: None 还记得Service的Cluster IP是做什么的吗?对,一个Service可能对应多个EndPoint(Pod),client访问的是Cluster IP,通过iptables规则转到Real Server,从而达到负载均衡的效果(实现原理请见这里)
阅读全文
posted @ 2019-03-26 16:00 凯文队长
阅读(958)
评论(0)
推荐(0)
编辑
2019年3月25日
helm安装redis+Sentinel集群搭建
摘要: 一、redis集群特点 数据 在多个Redis节点之间自动分片 sentinel特点: sentinel配置文件详解 参考:https://segmentfault.com/a/1190000002680804 主节点down了,从节点选举机制如下: https://blog.csdn.net/tr
阅读全文
posted @ 2019-03-25 16:43 凯文队长
阅读(3200)
评论(0)
推荐(1)
编辑
2019年3月22日
helm安装 删除
摘要: 要安装对应k8s版本的helm https://github.com/helm/helm/releases #wget https://storage.googleapis.com/kubernetes-helm/helm-v2.10.0-linux-amd64.tar.gz wget https:
阅读全文
posted @ 2019-03-22 15:17 凯文队长
阅读(14406)
评论(0)
推荐(0)
编辑
2019年3月18日
prometheus和alertmanager热重启
摘要: # prometheus热重启 prometheus启动命令添加参数 --web.enable-lifecycle 然后热重启:curl -XPOST http://localhost:9090/-/reload # alertmanager热重启 curl -XPOST http://localh
阅读全文
posted @ 2019-03-18 14:51 凯文队长
阅读(9457)
评论(0)
推荐(0)
编辑
2019年3月14日
prometheus告警配置注意事项
摘要: global: scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute. evaluation_interval: 15s # Evaluate rules every
阅读全文
posted @ 2019-03-14 18:07 凯文队长
阅读(1214)
评论(0)
推荐(0)
编辑
2019年3月11日
prometheus函数
摘要: PromQL基础 http_request_total{} 瞬时向量表达式,选择当前最新的数据 http_request_total{}[5m] 区间向量表达式,选择以当前时间为基准,5分钟内的数据 http_request_total{} offset 5m http_request_total{
阅读全文
posted @ 2019-03-11 09:20 凯文队长
阅读(4455)
评论(0)
推荐(0)
编辑
2019年3月8日
高并发情况下Linux系统及kernel参数优化
摘要: 众所周知在默认参数情况下Linux对高并发支持并不好,主要受限于单进程最大打开文件数限制、内核TCP参数方面和IO事件分配机制等。下面就从几方面来调整使Linux系统能够支持高并发环境。 Iptables相关 如非必须,关掉或卸载iptables防火墙,并阻止kernel加载iptables模块。这
阅读全文
posted @ 2019-03-08 11:37 凯文队长
阅读(286)
评论(0)
推荐(0)
编辑
linux中pam模块
摘要: https://www.cnblogs.com/ilinuxer/p/5087447.html linux中pam模块 一、pam简介 Linux-PAM(linux可插入认证模块)是一套共享库,使本地系统管理员可以随意选择程序的认证方式. 换句话说,不用(重新编写)重新编译一个包含PAM功能的应用
阅读全文
posted @ 2019-03-08 09:16 凯文队长
阅读(8916)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
7
8
9
···
15
下一页
公告