简体   繁体   English

我可以在Kubernetes Pod中安装GCS桶吗?

[英]Can I mount a GCS bucket inside Kubernetes Pod?

I know that Kubernetes does not support mounting GCS buckets inside a Pod. 我知道Kubernetes不支持在Pod中安装GCS桶。 But If I use GoogleFuse to mount a GCS bucket on the Node and then expose it to a Pod as a host path will that work? 但是,如果我使用GoogleFuse在节点上安装GCS存储桶,然后将其暴露给Pod,那么主机路径是否可行?

It should work. 它应该工作。 For Host Path volumes, kube doesn't enforce any policy. 对于主机路径卷,kube不强制执行任何策略。 But if your FUSE daemon restarts, the mount will become inaccessible. 但是,如果您的FUSE守护程序重新启动,则安装将无法访问。 AFAIK, kube does not support mount propagation for volumes. AFAIK,kube不支持卷的安装传播。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM