Hangfire
Hangfire copied to clipboard
Hangfire on Azure Kubernetes
I'm trying to use Hangfire in a .NET 7 project dockerized, and locally works fine. I have to deploy in a K8S cluster, anyone has any experiences? Any suggestion about configuration?
My idea is to have several pods, each one with a workerCount of 2 parallel jobs. Is there any specific configuration for working on a dockerized environment?
Thanks for any experiences about it.
I would also be interested, does anyone have experience with a containerized Hangfire solution in Azure? An AppService is expensive, because it runs 24/7. Currently I have a look at Azure Container Apps, maybe they could work (if one instance is always online and the others are idle).
we have about 20 recurring jobs running in AKS, oldest was created 3 years ago, got about 350K succeeded jobs
We have Hangfire server running in containerized ASP.NET Core app in AKS against Azure Postgres just fine.