Boshi Lian
Boshi Lian
the patch banned for aot is because that patch is so dynamic i looked into it but did not have better idea any suggestion?
here is the reason why V1Patch is not easy to fit AOT https://github.com/kubernetes-client/csharp/blob/cdf5398e2d017f4687a15ba5f644aac47b469fc7/src/KubernetesClient/Models/V1PatchJsonConverter.cs#L24 V1Patch.body is a type-less object which AOT does not like a workaround is to make V1Patch body...
imho, dynamic will still play an important role in future .net projects. keep patient, a bit busy there days, will get it done as soon as i got time
thanks @guillaume-chervet if you can port https://github.com/kubernetes-client/csharp/blob/master/src/KubernetesClient/Models/V1Patch.cs and https://github.com/kubernetes-client/csharp/blob/master/src/KubernetesClient/Models/V1PatchJsonConverter.cs to AOT project, then patch will be good i am thinking to support string only, but the behavior changed from non-aot...
see here https://github.com/kubernetes-client/csharp/discussions/1216
any alternative way to know if the app is running inside k8s? this is designed to use incluster auth
i believe the ask is reband `IsInCluster` -> `HasInClusterToken` ?
totally agree gracefully restart was planned this is the library i was thinking to make it happen https://godoc.org/github.com/facebookgo/grace
check here https://github.com/tg123/sshpiper/blob/b2f7f79cc485cea23a2d7db5bd436b6265df9b81/cmd/sshpiperd/daemon.go#L181 it is same as ```c accept(fd) ``` and ```go func(conn)``` can be interpret as ```pthread_create(func)``` (not thread, but help you understand) really appreciate if you can send...