【发布时间】:2021-12-31 18:56:04
【问题描述】:
有一种方法可以在 kubernetes pod 上挂载 azure blob 存储帐户。
我在 kubernetes 中运行的 pod 需要使用 blob 存储中存在的文件。
我试过了:https://docs.microsoft.com/en-us/azure/storage/blobs/storage-how-to-mount-container-linux
# rpm -qa | grep blobfuse
blobfuse-1.3.6-1.el7.x86_64
[]# blobfuse /home/test/mycontainer --tmp-path=/home/test/blobfusetmp --config-file=/home/test/fuse_connection.cfg -o attr_timeout=240 -o entry_timeout=240 -o negative_timeout=120
fuse: device not found, try 'modprobe fuse' first
[]# modprobe fuse
modprobe: ERROR: could not insert 'fuse': Cannot allocate memory
谢谢 萨蒂扬
【问题讨论】:
标签: azure kubernetes azure-blob-storage