You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we maintaining this client's fork @ https://github.com/truenas/kubernetes_asyncio – I have faced an issue recently where client is unable to parse out 400 error and instead raise a bare exception.
Steps to reproduce
Create a pod which is stuck in initialization e.g.
$ kubectl get po
busybox-79d6c664ff-zsr9f 0/1 Init:0/1 0 27m
$ kubectl logs po/busybox-79d6c664ff-zsr9f -c busybox
Error from server (BadRequest): container "busybox"in pod "busybox-79d6c664ff-zsr9f" is waiting to start: PodInitializing
k8s client snippet that results in a bare exception:
we maintaining this client's fork @ https://github.com/truenas/kubernetes_asyncio – I have faced an issue recently where client is unable to parse out 400 error and instead raise a bare exception.
Steps to reproduce
PodInitializing
:Actual
Expected
A meaningful exception scheme that can be handled by calling body to extract information and present to the end user
Thanks!
The text was updated successfully, but these errors were encountered: