Azure 您可以从不同的区域在AKS Kubernetes群集上装载NetApp卷吗?
我正在使用Azure NetApp文件和AK。假设我在一个地区拥有一个NetApp帐户和一个NetApp池,我想在另一个地区的k8s群集的pod上装载一个卷。那可能吗?到目前为止,我一直收到一个错误,说pod无法装入卷,它超时了Azure 您可以从不同的区域在AKS Kubernetes群集上装载NetApp卷吗?,azure,kubernetes,azure-virtual-network,azure-aks,netapp,Azure,Kubernetes,Azure Virtual Network,Azure Aks,Netapp,我正在使用Azure NetApp文件和AK。假设我在一个地区拥有一个NetApp帐户和一个NetApp池,我想在另一个地区的k8s群集的pod上装载一个卷。那可能吗?到目前为止,我一直收到一个错误,说pod无法装入卷,它超时了 Unable to mount volumes for pod "x": timeout expired waiting for volumes to attach or mount for pod "x" 我的PersistentVolume和PersistentV
Unable to mount volumes for pod "x": timeout expired waiting for volumes to attach or mount for pod "x"
我的PersistentVolume和PersistentVolumeClaim yaml文件如下所示:
apiVersion: v1
kind: PersistentVolume
metadata:
name: test
finalizers : null
labels:
type: nfs
spec:
capacity:
storage: 200Gi
accessModes:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
nfs:
server: 1.2.3.4
path: /test-volume
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: test
namespace: myNamespace
finalizers: null
spec:
accessModes:
- ReadWriteMany
storageClassName: ""
resources:
requests:
storage: 200Gi
selector:
matchLabels:
type: nfs
不幸的是,恐怕你不能做到这一点。针对AKS的Azure NetApp文件的限制,它说: Azure NetApp文件服务必须在同一虚拟网络中创建 作为你的AKS集群
你知道,AKS的虚拟网络应该和AKS在同一个区域,然后它就可以使用了。因此,您无法将Azure NetApp文件装载到AKS的其他区域。不幸的是,恐怕您无法实现这一点。针对AKS的Azure NetApp文件的限制,它说: Azure NetApp文件服务必须在同一虚拟网络中创建 作为你的AKS集群
你知道,AKS的虚拟网络应该和AKS在同一个区域,然后它就可以使用了。因此,您无法将Azure NetApp文件装载到AKS的其他区域。关于此问题还有其他问题吗?或者如果它对你有效,请接受它作为答案。关于这个问题还有什么问题吗?或者如果它对你有效,请接受它作为答案。