We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://aleiwu.com/post/configmap-hotreload/
The text was updated successfully, but these errors were encountered:
hi, Aylei, 场景二,Pod 滚动更新一:修改 CI 流程 这一节是不是这样理解: CI脚本 watch configmap的变化,有变化了就通知deployment做一个更新(比如kubectl apply 更新后的.yaml)。
Pod 滚动更新一:修改 CI 流程
这里的CI是类比 开发/测试中持续集成的概念, 能持续更新deployment
Sorry, something went wrong.
并没有类比, 就是指常规的 CI, 这里预设了配置变更是由开发或运维发起的(比如一个 Pull Request), PR 合并后触发 CI 更新 k8s 资源. 而重新计算 Hash 值就是在更新 k8s 资源前增加了一个操作
Hello, 以前碰到过类似得需求. 当时的做法是用 Liveness 调用个脚本, 脚本里判断文件是否变动. 如果变动, Liveness 得到 false, 重启 pod. 也可以同时设置 Readiness.
No branches or pull requests
Kubernetes Pod 中的 ConfigMap 配置更新
https://aleiwu.com/post/configmap-hotreload/
The text was updated successfully, but these errors were encountered: