Replies: 4 comments
-
see #680 you can also take a look at the csharp/tests/E2E.Tests/MnikubeTests.cs Line 29 in e45fa77 |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply. Could you provide some more information about the |
Beta Was this translation helpful? Give feedback.
-
There is a watch callback example here: You will get a delete event when the object is deleted. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your help! I'm closing the issue. |
Beta Was this translation helpful? Give feedback.
-
Hi all 👋
I'm looking for a nice way to delete an existing Kubernetes job and then create a new job with the same name. This is a (simplified) code snippet that I came up with:
However, when I execute this code I will always end up with the following exception: "object is being deleted: jobs.batch "..." already exists". It looks like the task that is returned by DeleteNamespacedJobAsync completes early before the delete is done.
What is the cleanest possible way to solve this using the Kubernetes Client library?
Thanks for the help!
Beta Was this translation helpful? Give feedback.
All reactions