[英]Mounting a large file in Kubernetes
We are running a pod in Kubernetes that needs to load a file during runtime.我们在 Kubernetes 中运行一个 pod,它需要在运行时加载一个文件。 This file has the following properties:该文件具有以下属性:
We have considered various options:我们考虑了各种选择:
Both of these solutions feels a little bit hacked - is there a better solution out there that we could utilize for solving this?这两种解决方案都感觉有点被黑了——有没有更好的解决方案可以用来解决这个问题?
You need to use a shared filesystem that supports Read/Write Multiple Pods.您需要使用支持读/写多个 Pod 的共享文件系统。 Here is a link to the CSI Drivers which can be used with Kubernetes and provide those access: https://kubernetes-csi.github.io/docs/drivers.html Here is a link to the CSI Drivers which can be used with Kubernetes and provide those access: https://kubernetes-csi.github.io/docs/drivers.html
Ideally, you need a solution that is not an appliance, and can run anywhere meaning it can run in the cloud or on-prem.理想情况下,您需要一个不是设备的解决方案,并且可以在任何地方运行,这意味着它可以在云中或本地运行。
The platforms that could work for you are Ceph, GlusterFS, and Quobyte ( Disclaimer, I work for Quobyte )可以为您工作的平台是 Ceph、GlusterFS 和 Quobyte(免责声明,我为 Quobyte 工作)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.