会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
xiao_pai_pai
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
11
下一页
2019年10月9日
prometheus配置简介
摘要: 参考网页:https://my.oschina.net/wangyunlong/blog/3060776 global: scrape_interval: 15s evaluation_interval: 15s alerting: alertmanagers: - static_configs:
阅读全文
posted @ 2019-10-09 09:52 xiao_pai_pai
阅读(793)
评论(0)
推荐(0)
2019年9月26日
centos6.7搭建局域网ntp服务器
摘要: 修改/etc/ntp.conf文件 restrict xxx nomodify notrap nopeer noquery #xxx 此处配置本地IP地址restrict 127.0.0.1restrict xxx mask 255.255.255.0 nomodify notrap # xxx为允
阅读全文
posted @ 2019-09-26 14:06 xiao_pai_pai
阅读(271)
评论(0)
推荐(0)
2019年7月22日
python字符串常用函数
摘要: # 索引与切片 *** capitalize() **首字母大写 upper() lower() *** 大写和小写函数 startswith endswith *** 判断以‘’字母’开头或者结尾函数 find : 通过元素找索引,找到第一个就返回(可切片),找不到返回-1 strip:默认去除字
阅读全文
posted @ 2019-07-22 22:27 xiao_pai_pai
阅读(292)
评论(0)
推荐(0)
2019年6月21日
filebeat+redis+logstash+elasticsearch基本配置--适用于6.4版本
摘要: filebeat配置: filebeat.inputs:- type: log enabled: true paths: - /opt/xxxx.log fields: 在filebeat收集的消息后面新增加字段,用于后面logstash的区分,分别放置于不同的索引 service: xxx fie
阅读全文
posted @ 2019-06-21 14:28 xiao_pai_pai
阅读(400)
评论(0)
推荐(0)
2019年6月12日
ansible简单部署前端
摘要: pipeline{ agent any parameters { choice(name: 'server_name', choices: ['xx','xx'], description: 'server_name') text(name: 'tag', defaultValue: '', des
阅读全文
posted @ 2019-06-12 09:45 xiao_pai_pai
阅读(392)
评论(0)
推荐(0)
2019年6月5日
jumperserver安装
摘要: 参照官网地址进行安装 https://jumpserver.readthedocs.io/zh/master/setup_by_centos.html 在安装的时候踩了一个坑 Python 模块安装中 python-keycloak==0.13.3python-keycloak-client==0.
阅读全文
posted @ 2019-06-05 18:45 xiao_pai_pai
阅读(704)
评论(0)
推荐(0)
2019年4月15日
k8s常用github网站
摘要: 1、集群安装地址 https://github.com/gjmzj/kubeasz https://github.com/opsnull/follow-me-install-kubernetes-cluster 采用本网站安装需要注意点: 1、docker的cgroup驱动 需改为cgroupfs
阅读全文
posted @ 2019-04-15 10:32 xiao_pai_pai
阅读(2423)
评论(0)
推荐(0)
2019年4月4日
k8s CI/CD--Jenkinsfile例子
摘要: 试用k8s内部jenkins,并且配置好podtemplate pipeline{ agent any stages{ stage('get the code'){ steps{ container('jnlp'){ sh 'cp Dockerfile xx-svc.yaml /tmp' check
阅读全文
posted @ 2019-04-04 09:16 xiao_pai_pai
阅读(1440)
评论(0)
推荐(0)
2019年3月26日
k8s deployment yam 文件分析
摘要: apiVersion: extensions/v1beta1 kind: Deployment metadata: name: namespace: labels:spec: replicas: #设置Deployment的副本数量 selector: matchLabels:...
阅读全文
posted @ 2019-03-26 19:50 xiao_pai_pai
阅读(2360)
评论(0)
推荐(0)
k8s资源pod yaml文件分析
摘要: apiVersion: v1 kind: Pod_name metadata name: pod_name #描述Pod的名字 namespace: default #...
阅读全文
posted @ 2019-03-26 14:37 xiao_pai_pai
阅读(1217)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
11
下一页
公告