carbon-aware-sdk icon indicating copy to clipboard operation
carbon-aware-sdk copied to clipboard

[Bug]: Avoid inotify limit in WebAPI container on Kubernetes

Open YaSuenag opened this issue 8 months ago • 3 comments

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

YaSuenag avatar Jun 04 '24 06:06 YaSuenag