仔细看了几个帖子
- Allow retrieval of binary data from WSClient output stream Issue #1471 kubernetes-client/python
- WSClient.update should not decode binary data frames Issue #2005 kubernetes-client/python
- Copy file from pod to host by using kubernetes python client - Stack Overflow
均以失败告终. 传输文本文件始终是 ok, 传二进制就没有成功过. 即使有数据传过来, 最后 md5 一对比, 发现对不上.
大拿指导一下.
