摘要: k8s 查看 deployment 管理的所有 pod 日志 k8s的deployment可以生成并管理多个pod,怎么一起查看所有pod日志呢... 阅读全文
posted @ 2023-04-13 12:20 软件工程师复读机 阅读(2818) 评论(0) 推荐(0) 编辑
摘要: k8s ingress nginx 504 gateway timeout 问题 通过k8s部署的应用,访问接口响应数据量大时会出现 nginx 504 错误... 阅读全文
posted @ 2023-04-12 13:51 软件工程师复读机 阅读(1470) 评论(0) 推荐(0) 编辑
摘要: docker build 构建时 alpinelinux 镜像权限错误 使用 docker 构建镜像时发生错误:ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.15/main: Permission denied 是什么原因以及如何解决呢... 阅读全文
posted @ 2023-03-30 20:00 软件工程师复读机 阅读(1910) 评论(0) 推荐(0) 编辑
摘要: docker desktop k8s错误Unable to connect to the server: EOF 开启 Docker Desktop 的 Kubernetes 功能后运行正常,但在终端中使用 `kubectl` 命令依然会报错,这是什么原因呢... 阅读全文
posted @ 2023-03-30 19:59 软件工程师复读机 阅读(1251) 评论(0) 推荐(0) 编辑
摘要: k8s pod log日志不显示python print打印的内容 Python 程序代码中 print 语句的内容不在 k8s pod log 日志中显示... 阅读全文
posted @ 2023-03-30 11:44 软件工程师复读机 阅读(381) 评论(0) 推荐(0) 编辑
摘要: 使HTML input输入框只接受 Excel 文件 如何让HTML input输入框在选择文件时只能选择 Excel 文件呢... 阅读全文
posted @ 2023-03-27 14:56 软件工程师复读机 阅读(993) 评论(0) 推荐(0) 编辑
摘要: 解决VSCode新建终端自动时执行`pyenv shell xxxx` VScode新建内置终端时,会自动执行 `pyenv shell xxx`,但这并不是我们所需要的... 阅读全文
posted @ 2023-03-25 16:58 软件工程师复读机 阅读(309) 评论(0) 推荐(1) 编辑
摘要: 解决Docker alpine构建镜像时的node-gyp错误 当安装的 npm 包需要使用 node-gyp 编译,docker 构建镜像时可能会出现错误... 阅读全文
posted @ 2023-03-21 15:36 软件工程师复读机 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 让Dockerfile里的包管理器也用上缓存 让Dockerfile里使用的包管理器也用上缓存,加快镜像构建的速度... 阅读全文
posted @ 2023-03-17 19:20 软件工程师复读机 阅读(792) 评论(0) 推荐(1) 编辑
摘要: LeetCode题3无重复字符的最长字串 LeetCode题3无重复字符的最长字串解决方案... 阅读全文
posted @ 2023-02-23 20:30 软件工程师复读机 阅读(28) 评论(0) 推荐(0) 编辑