代码之家  ›  专栏  ›  技术社区  ›  Anshul Verma

Azure kubernetes上块存储的装入错误

  •  0
  • Anshul Verma  · 技术社区  · 7 年前

    我一直在尝试在Azure中AKS上托管的Kubernetes pod上装载文件共享。到目前为止,我试图:
    一。通过对名称和密钥进行base64编码,成功创建了密钥
    2。通过指定正确的配置创建yaml
    kubectl apply -f azure-file-pod.yaml ,它会给出以下错误:

    输出:装载错误:无法解析的地址

    我有一个名为的Azure文件共享 demo .


    apiVersion: v1 kind: Pod metadata: name: azure-files-pod spec: containers: - image: microsoft/sample-aks-helloworld name: azure volumeMounts: - name: azure mountPath: /mnt/azure volumes: - name: azure azureFile: secretName: azure-secret shareName: demo readOnly: false
    这怎么可能解决呢?

    0 回复  |  直到 7 年前
    推荐文章