Open clement128 opened 1 year ago
Have the same issue, it feels like it has to do with using the correct versions on orleans and kubernetes client. But i can't find any docs regarding that
You need to downgrade KubernetesClient
to 6.x.
If your app uses Microsoft.Orleans.Hosting.Kubernetes
, it can pull in a newer KubernetesClient
. So, downgrade Microsoft.Orleans.Hosting.Kubernetes
to <= 3.5.1.
Aah nice thanks, had to add kubernetesClient nuget also manually with that version. For some reason did it decide to use v7.2.0. Got another error so hopefully it will work soon 👍
Never mind, it didn't work, well i got this error when upgrading kubernetes to 1.25, i get the feeling that the configuration error other packages has had regarding getting kubernetes container ID is the main issue for me. I however don't use F-Sharp, i use .net 5.0 so this might be another thread for this question?
Hi there,
I was just tried to use version 2.1.0 in my fsharp project with orleans 3.7, but I got
Could not load type 'k8s.Models.V1ObjectMeta' from assembly KubernetesClient
exception when the application startup. Does anyone encountered similar issue? thanks