carbon-aware-sdk
carbon-aware-sdk copied to clipboard
[Bug]: Avoid inotify limit in WebAPI container on Kubernetes
Contact Details
No response
What happened?
We are using WebAPI container on Kubernetes with Helm chart, then we saw a error which explained in following URL. https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/docker/?view=aspnetcore-8.0
We think it is better to set DOTNET_HOSTBUILDER__RELOADCONFIGONCHANGE
environment variable as the article said because we cannot update appsettings.json - it is mounted as subPath
.
In general, reload config might be useful if WebAPI runs on the OS (not coantainer). So I will modify Helm chart to add environment variables for WebAPI container if you agree. What do you think?
client
WebAPI (Default)
Relevant log output
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct