New restart methods? #867
Replies: 3 comments
-
/assign tg123 |
Beta Was this translation helpful? Give feedback.
-
the plan for c# sdk is to create a kubectl experience api. the subproject is starting soon, PRs are welcomed 2 not quite get the example of patch in and e2e tests depends on json.patch csharp/tests/E2E.Tests/MnikubeTests.cs Line 74 in 92ccac4 |
Beta Was this translation helpful? Give feedback.
-
well about 2nd point I meant about python approach, I tried also restartedAt option but I can assure it changes ( edits ) yaml file but not restarts pods. I have different solution for this which works for all. My idea is instead of all time creating Patch just to create direct restart methods. I will make PR for restart options. Thanks for reply |
Beta Was this translation helpful? Give feedback.
-
I have logic for restarting deployment, daemon set and stateful set via using patch.
I have 2 suggestion
1 - to create new ready methods for Restart(...)
2 - in next release to use dependency for Json.Patch ( because of System.Text.Json not compatible with Mircrosoft.AspNetCore.JsonPatch )
as it is still in open on aspnet core github issue you think it will be better to wait for their support or we can use Json.Patch as dependency?
I can make PR on examples if you are ok with ideas.
Beta Was this translation helpful? Give feedback.
All reactions