Closed
Description
Currently I have to simply do this:
response = stream(self.api.connect_get_namespaced_pod_exec,
podname, 'kube-system',
command=exec_command,
stderr=False, stdin=False,
stdout=True, tty=False)
if not response:
do_something__()
However, I can't get the error code, or the stderror.
Looking at the source code I don't see an easy way.