【问题标题】:Azure Kubernetes Service - Persistent Volume using Disk on another tenant?Azure Kubernetes 服务 - 使用另一个租户上的磁盘的持久卷?
【发布时间】:2021-09-01 10:05:17
【问题描述】:

为了让 AKS 使用 azure 磁盘进行持久存储,我们可以定义一个 persistentVolumeClaim 如下 -

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: azure-managed-disk
spec:
  accessModes:
  - ReadWriteOnce
  storageClassName: default
  resources:
    requests:
      storage: 5Gi

是否可以使用来自另一个租户 B 的 azure 磁盘作为租户 A 中 AKS 的 persistentVolume?

【问题讨论】:

    标签: azure azure-active-directory azure-aks azure-disk


    【解决方案1】:

    我认为这是不可能的。

    我猜您必须将磁盘迁移到正在运行的订阅 AKS。然后您可以使用现有磁盘,如 here 所述。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-12-31
      • 1970-01-01
      • 2021-11-22
      • 2017-11-26
      • 1970-01-01
      • 2018-12-21
      • 2019-07-09
      • 2019-04-26
      相关资源
      最近更新 更多