You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
csharp-subscriber pods crash looping with the following error from pod
You must install or update .NET to run this application.
App: /app/csharp-subscriber.dll
Architecture: arm64
Framework: 'Microsoft.NETCore.App', version '8.0.0' (arm64)
.NET location: /usr/share/dotnet/
The following frameworks were found:
7.0.16 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Learn about framework resolution:
https://aka.ms/dotnet/app-launch-failed
To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=8.0.0&arch=arm64&rid=debian.11-arm64
One workaround is to use a previous version of the image, for my case the version 1.12 worked fine.
Just change the image field in the cshapr-subscriber.yaml file as follows:
Expected Behavior
When following the tutorial to run pub-sub in Kubernetes, during the deployment step, all applications are expected to start and be healthy.
https://github.com/dapr/quickstarts/tree/master/tutorials/pub-sub#deploy-assets
Actual Behavior
csharp-subscriber
pods crash looping with the following error from podThe project file has .NET target 8.0
quickstarts/tutorials/pub-sub/csharp-subscriber/csharp-subscriber.csproj
Line 4 in 6c1392a
While docker uses .NET 7 base image.
quickstarts/tutorials/pub-sub/csharp-subscriber/Dockerfile
Line 4 in 6c1392a
Steps to Reproduce the Problem
Follow the pub-sub tutorial to run apps in Kubernetes
https://github.com/dapr/quickstarts/tree/master/tutorials/pub-sub#run-in-kubernetes
csharp-subscriber
crashingkubectl logs deployments/csharp-subscriber
The text was updated successfully, but these errors were encountered: