-
-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
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
.net5.0 拉取配置时,部分成功,失败的文件没有重试拉取 #190
Comments
后续会重试,但第一次(同时本地没有缓存文件)失败后会造成程序缺少配置。 |
好,我试下,配置到程序外面 |
我就遇到第一次获取失败的问题了,给我整懵逼了,生产环境看代码死活找不到问题。 |
一般都是k8s造成的,不过建议挂载/opt目录,防止加载失败 |
目前默认就是挂载在/opt/data/{appId}/config-cache 目录的,还有什么其他优化方案吗?请问,之前没有上K8s部署dcoker里面没遇到过这个问题,一上k8s这个问题必现。。。 |
程序启动的时候会拉取4个配置文件,其中三个成功了,另外一个因为网络或者ng问题返回了503没有拉取到,但是并没有重试拉取,cache目录没有生成这个配置文件,导致已经启动了,但却缺少部分配置,服务异常
需要额外的参数进行配置么?
监控抓包发现是有不断的在请求apollo, 但没有再去拉文件
配置
The text was updated successfully, but these errors were encountered: