Python 版本的 kube-client 如何实现从 pod 里下载文件到 local

查看 23|回复 0
作者:shuiguomayi   
仔细看了几个帖子
  • 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 一对比, 发现对不上.
    大拿指导一下.
  • 您需要登录后才可以回帖 登录 | 立即注册

    返回顶部