【发布时间】:2020-02-17 20:33:29
【问题描述】:
我一直在尝试使用这些方法来访问卷安装中的文件:
with open('./log/file.json', 'w+') as f:
f.write(json.dumps(output, sort_keys=True, indent=4))
但它不起作用。有什么想法吗?在我的部署文件中,我有这个:
volumeMounts:
- mountPath: /logs
name: wag-log
【问题讨论】:
标签: python kubernetes yaml