Open antontroshin opened 3 months ago
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:
...
image: ghcr.io/dapr/samples/pubsub-csharp-subscriber:1.12
...
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 https://github.com/dapr/quickstarts/blob/6c1392af01bef762efeef44a79a14af8a14f2c18/tutorials/pub-sub/csharp-subscriber/csharp-subscriber.csproj#L4
While docker uses .NET 7 base image. https://github.com/dapr/quickstarts/blob/6c1392af01bef762efeef44a79a14af8a14f2c18/tutorials/pub-sub/csharp-subscriber/Dockerfile#L4
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