摘要: 需要这个的继续往下看 环境mac os 12.6.2 安装dokcer https://docs.docker.com/desktop/install/mac-install/ 安装k8s https://blog.csdn.net/qq_20042935/article/details/12447 阅读全文
posted @ 2023-04-25 14:11 肥嘟嘟肉呼呼 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 1.自定义域名 sudo vi /etc/hosts 增加自定义域名 zhengzhihua.mac 保存退出 测试域名 2.生成证书脚本 创建文件build_crt.sh #!/bin/bash set -x $(openssl genrsa -out rootCA.key 4096) $(ope 阅读全文
posted @ 2022-12-08 17:21 肥嘟嘟肉呼呼 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 使用 github.com/smartystreets/goconvey/convey 表现上会好看些,通过So验证结果 go test -bench . -benchmem -cpuprofile prof.cpu 生成文件 go tool pprof example_test.go prof.c 阅读全文
posted @ 2022-04-25 16:24 肥嘟嘟肉呼呼 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 参考 https://www.cnblogs.com/lvdongjie/p/9901348.html 一、服务器端: 1.1安装NFS服务: #执行以下命令安装NFS服务器, #apt会自动安装nfs-common、rpcbind等13个软件包 sudo apt install nfs-kerne 阅读全文
posted @ 2022-01-19 11:29 肥嘟嘟肉呼呼 阅读(646) 评论(0) 推荐(0) 编辑
摘要: 参考https://helm.sh/zh/docs/intro/quickstart/ 阅读全文
posted @ 2021-11-02 16:49 肥嘟嘟肉呼呼 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/weixin_45669656/article/details/108667279?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefa 阅读全文
posted @ 2021-10-29 17:03 肥嘟嘟肉呼呼 阅读(275) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/wubolive/p/11225486.html 如果出现Unable to connect to the server: x509: certificate is valid for 10.43.0.1, 127.0.0.1, 192.168.13. 阅读全文
posted @ 2021-10-27 15:10 肥嘟嘟肉呼呼 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 参考 http://docs.rancher.cn/docs/k3s/quick-start/_index/ curl -sfL http://rancher-mirror.cnrancher.com/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn sh - s 阅读全文
posted @ 2021-10-10 17:36 肥嘟嘟肉呼呼 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 1. 从官网选择镜像 jenkins/jenkins:2.289.1-lts-centos7 2.编写docker 3.启动jenkins docker-compose -f jenkins.yml up -d 4.根据提示去对应路径下找到文件复制出密码解锁 docker exec -it (CON 阅读全文
posted @ 2021-06-25 16:14 肥嘟嘟肉呼呼 阅读(92) 评论(0) 推荐(0) 编辑
摘要: go tool pprof main profilemain 代表的是二进制文件,也就是编译出来的可执行文件profile 就是上文中生成的profile,可以是cpu_profile, 也可以是mem_profile 对于cpu_profile 来说,代码开始的时候就可以开始统计了mem_prof 阅读全文
posted @ 2021-04-03 15:01 肥嘟嘟肉呼呼 阅读(697) 评论(0) 推荐(0) 编辑