摘要:
参考网页:https://my.oschina.net/wangyunlong/blog/3060776 global: scrape_interval: 15s evaluation_interval: 15s alerting: alertmanagers: - static_configs: 阅读全文
摘要:
修改/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为允 阅读全文
摘要:
# 索引与切片 *** capitalize() **首字母大写 upper() lower() *** 大写和小写函数 startswith endswith *** 判断以‘’字母’开头或者结尾函数 find : 通过元素找索引,找到第一个就返回(可切片),找不到返回-1 strip:默认去除字 阅读全文
摘要:
filebeat配置: filebeat.inputs:- type: log enabled: true paths: - /opt/xxxx.log fields: 在filebeat收集的消息后面新增加字段,用于后面logstash的区分,分别放置于不同的索引 service: xxx fie 阅读全文
摘要:
pipeline{ agent any parameters { choice(name: 'server_name', choices: ['xx','xx'], description: 'server_name') text(name: 'tag', defaultValue: '', des 阅读全文
摘要:
参照官网地址进行安装 https://jumpserver.readthedocs.io/zh/master/setup_by_centos.html 在安装的时候踩了一个坑 Python 模块安装中 python-keycloak==0.13.3python-keycloak-client==0. 阅读全文
摘要:
1、集群安装地址 https://github.com/gjmzj/kubeasz https://github.com/opsnull/follow-me-install-kubernetes-cluster 采用本网站安装需要注意点: 1、docker的cgroup驱动 需改为cgroupfs 阅读全文
摘要:
试用k8s内部jenkins,并且配置好podtemplate pipeline{ agent any stages{ stage('get the code'){ steps{ container('jnlp'){ sh 'cp Dockerfile xx-svc.yaml /tmp' check 阅读全文