【发布时间】:2018-04-17 23:30:09
【问题描述】:
您好,我无法使用 google-cloud-storage~=1.6.0 客户端将 2GB 的“大”文件上传到 google 存储形式 kubernetes。
client = storage.Client()
self.bucket = client.get_bucket('test-bucket')
blob = self.bucket.blob(remote_file)
blob.upload_from_filename(local_file)
我给了 pod 很多内存 (4GB+) 认为它可能会解决它,但主人无论如何都会杀死它(OOMKilled),我想我在上传过程中缺少一些配置。
【问题讨论】:
-
你检查你的防火墙了吗?!
标签: python kubernetes google-cloud-platform google-cloud-storage