上一页 1 2 3 4 5 6 7 8 ··· 93 下一页
摘要: 参考: https://hub.docker.com/_/mongo 创建PVC 创建PVC用于数据持久化 # cat mongodb-pvc.yaml apiVersion: v1 kind: PersistentVolumeClaim metadata: name: mongodb-pvc sp 阅读全文
posted @ 2024-03-27 10:47 minseo 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 使用curl命令发送POST请求并带请求json 本次测试使用测试站点 # https://httpbin.org/ 使用Postman测试 使用curl命令测试 # # curl -X POST -H "accept: application/json" --data '{"test":"test 阅读全文
posted @ 2024-03-25 14:35 minseo 阅读(997) 评论(0) 推荐(0) 编辑
摘要: 参考: https://www.cnblogs.com/chuanzhang053/p/16355454.html 使用curl命令返回页面内容,在一些检测网页的需求中只需要返回页面状态码来判断页面是否正常 使用以下命令判断百度是否正常,返回状态码为200则代表正常 # curl -o /dev/n 阅读全文
posted @ 2024-03-25 14:20 minseo 阅读(320) 评论(0) 推荐(0) 编辑
摘要: pip下载模块超时 提示如下 HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Read timed out 解决办法 增加超时参数把超时时间设置长一点 --default-timeout=100 h 完整命令如下 注意 阅读全文
posted @ 2024-03-19 11:59 minseo 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 参考: https://www.cnblogs.com/pitaiyang/p/17975041 报错信息 nginx-ingress-controller限制上传文件大小为1M如果上传文件大于1M则会在浏览器报以下错误 # Request Entity Too Large 解决方法 修改ingre 阅读全文
posted @ 2024-03-18 17:39 minseo 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 参考 https://blog.csdn.net/weixin_43334786/article/details/128432325 当我们的某个服务在外部集群的时候,但是又想k8s集群内的应用连接它,这是可以创建一个service,用service代理外部服务,然后集群内就能连接该service, 阅读全文
posted @ 2024-03-13 16:44 minseo 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 按以下步骤删除一个仓库 选择项目 进入设置 设置-通用 拖动到底部点击高级-展开 点击删除项目 输入项目名称确认删除 阅读全文
posted @ 2024-03-13 16:25 minseo 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 搭建elascsearch集群 不详述 配置日志发送 打开日志Rancher配置日志发送 其实时在node启用了Daemonset使用fluentd进行日志收集 # kubectl get daemonset -n cattle-logging NAME DESIRED CURRENT READY 阅读全文
posted @ 2024-03-13 15:06 minseo 阅读(42) 评论(0) 推荐(0) 编辑
摘要: ELK7版本索引输入至elasticsearch后使用Create Index pattern添加索引至Kibana 在ELK8版本添加方式有所不同 左侧菜单选择Management 选择Kibana-Data Views 创建data view 查看Discover 选择刚刚设置的索引名即可 阅读全文
posted @ 2024-03-07 16:54 minseo 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 参考 https://blog.csdn.net/qq_43114229/article/details/124078914 https://kubernetes.io/zh-cn/docs/tasks/run-application/run-replicated-stateful-applicat 阅读全文
posted @ 2024-03-05 16:46 minseo 阅读(246) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 93 下一页