我试图从kubernetes pod到达Azure Blob容器,但没有成功。当我尝试使用FileShare时,它按预期工作(当我更改为Blob容器时,它失败了)我的kubernetes设置:
spec:
volumes:
- name: test-data-proccessing
azureFile:
secretName: azure-secret-file-share
shareName: fileshare-test
readOnly: false
# In the container spec part
template:
- name: some-deployment
container:
volumeMounts:
mountPath: /data
name: test-data-proccessing
你遇到过类似的问题吗?
您可以为Kubernetes使用Azure Blob Storage CSI驱动程序。这是一个基本的使用指南。