Closed jonstelly closed 5 years ago
Hi! Sorry about that, I guess I was so focused on the serialisation that deserialisation dropped off the radar somewhat. Thanks for the fix - I'll publish a new version shortly.
Not a problem, I appreciate your work on this library.
I'm using KubeClient to list deployments and getting an exception when processing a liveness probe.
KubeClient version:
2.2.7
Kubernetes Version info:
The exception looks like this:
From debugging it seems to be the liveness check for nginx ingress controller (deployed with Helm from here):
the liveness port for 10254 is where the exception happens. I was able to capture the JSON for this deployment by replacing KubeResourceClient.cs line 178 with
var json = await responseMessage.Content.ReadAsStringAsync();