上一页 1 2 3 4 5 6 7 8 9 10 ··· 15 下一页
摘要: 高可用文档 https://www.cnblogs.com/ants/p/11489598.html https://kubernetes.io/zh/docs/setup/production-environment/tools/kubeadm/ha-topology/ istio https:/ 阅读全文
posted @ 2021-11-24 23:17 腐汝 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 实测发现也就那样,在有sleep的时候确实比for循环快,但是把sleep 去掉就没有for快了,真垃圾,根据场景选择 real 1m53.050s user 0m0.589s sys 0m1.061s [root@localhost ~]# time for i in `seq 1 100`;do 阅读全文
posted @ 2021-11-19 17:21 腐汝 阅读(54) 评论(0) 推荐(0) 编辑
摘要: sed -i '/\/opt\/php\/bin\/php/ r /tmp/check.file' /root/*.sh sed 替换\t等特殊字符,试了很多博客的方法,最后还是通过16进制修改了。 sed -i 's/\x09/\x01/g' ./* 阅读全文
posted @ 2021-11-05 10:32 腐汝 阅读(46) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="test"> <p v-for="item in msglist">{{item.data}}</p> </div> </template> <script> export default { name : 'test', data() { return 阅读全文
posted @ 2021-11-04 18:06 腐汝 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 有个需求必须从shell 脚本里面去调用 python的脚本,然后在python脚本里面死活获取不到环境变量,然后各种尝试发现获取不到环境变量(启动容器是传入),我的环境是一个自制的docker-compose的集nginx,php,memcache,cronjob (ubuntu)四个容器。 多次 阅读全文
posted @ 2021-11-01 17:05 腐汝 阅读(688) 评论(0) 推荐(0) 编辑
摘要: 网上很多恢复方式都不符合我的要求,当时我的文件系统已经损坏,我发现testdisk 同一个公司开发的另一款牛逼的工具可以满足我的要求,绕过文件系统。 文档上传至我的百度云。 testdisk 阅读全文
posted @ 2021-11-01 16:56 腐汝 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 1、filebeat windows版 filebeat.inputs: - type: log enabled: true paths: - C:\logs\*.log multiline.pattern: '^[0-9]{4}-[0-9]{2}-[0-9]{2}' multiline.negat 阅读全文
posted @ 2021-09-22 17:16 腐汝 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 参考: https://blog.csdn.net/yangbodong22011/article/details/78650896 https://www.cnblogs.com/rexcheny/p/9382342.html 阅读全文
posted @ 2021-09-16 10:30 腐汝 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 1、单节点部署,相同分片不能在一个节点上。 curl -s -u elastic:$BK_ES7_ADMIN_PASSWORD -X GET "http://192.168.60.206:9200/_cluster/health?pretty" { "cluster_name" : "bkee-es 阅读全文
posted @ 2021-08-24 16:05 腐汝 阅读(383) 评论(0) 推荐(0) 编辑
摘要: pipeline{ agent any environment { def git_url = "###" def appdir= "###" def localAppRoot = "###" def stagingip="###" def furl="###" } stages{ stage('c 阅读全文
posted @ 2021-08-11 18:08 腐汝 阅读(474) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 15 下一页