Open rahul-neudesic opened 1 month ago
thanks for reporting please share the func name,timestamp ,region and share the repro steps.Thanks
thanks for reporting please share the func name,timestamp ,region and share the repro steps.Thanks
FuncName -
public class ServiceBusFunction
{
[Function("ServiceBusFunction")]
public void Run([TimerTrigger("0/10 * * * * *")] TimerInfo myTimer)
{
Console.WriteLine("Worker function");
}
}
Region - west US2 Repro steps -
Create a .Net8 based isolated time trigger function. Create docker file and push to ACR Pull image from ACR and deploy to AKS container You will see the message - Hosting environment: Production Content root path: /azure-functions-host Now listening on: http://[::]:5000 Application started. Press Ctrl+C to shut down.
@kshyju please comment.Thanks
@rahul-neudesic Can you elaborate what specifically is not working and what is your expected behavior? Please update the post and title to reflect it as needed.
@kshyju We are facing similar issue and function is not able to startup. We have raised an issue for this https://github.com/Azure/azure-functions-host/issues/10413 but our function inproc instead of isolated model. Please let me know if you require more information?
We have service bus triggered functions and Time triggered functions which we have moved to Azure Kubernetes workloads was working fine with .Net6
After moving to .Net 8 isolated worker function we are seeing below logs on container ->
Hosting environment: Production Content root path: /azure-functions-host Now listening on: http://[::]:5000 Application started. Press Ctrl+C to shut down.
As part of moving to .net8 we have made below updates
csProj Changes
Docker File -