根据 Configmap/Secret 变化更新 Deployment
这个项目叫做 Reloader,它可以监控 Configmap/Secret 的变化,根据 Annotation 选择 Deployment,对相关 Deployment 进行滚动更新。
简单工具的安装还是很简单的:
kubectl apply -f \
https://raw.githubusercontent.com/stakater/Reloader/master/deployments/kubernetes/reloader.yaml
首先创建我们要用到的配置对象,其中包含了一个 Se...
blog.fleeto.us1 min read