DeleteNamespacedAsync hangs indefinitely #1637
Unanswered
justinmchase
asked this question in
Q&A
Replies: 1 comment
-
i believe this is not an SDK issue kubectl will stuck as well when your finalizer of ns blocked you from deleting it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
I am awaiting
await generic.DeleteNamespacedAsync<T>(...)
but it never returns.Kubernetes C# SDK Client Version
16.0.7
Server Kubernetes Version
1.30.5
Dotnet Runtime Version
net8
To Reproduce
Expected behavior
KubeConfig
N/A
Where do you run your app with Kubernetes SDK (please complete the following information):
Additional context
I have a watcher going at the same time:
This is detecting the resource being deleted and it keeps operating fine without hanging, I can manually create and delete more resources in kube and this watcher responds as normal. I'm also calling a
PatchNamespacedAsync<T>
and that one returns fine, its specifically deletion thats appears to hang.Beta Was this translation helpful? Give feedback.
All reactions