用于存储的自定义配置程序 class

Custom Provisioner for storage class

我正在做一个项目,遇到了一些问题。我仍然是 Kubernetes 的初学者,需要一些帮助。

helm config的代码如下:

storage:
    storageClass: aws-efs
    provisioner: someCustomName
    pvc:
      logs:
      .........

我无法弄清楚 供应商部分 有一些自定义名称而不是通常的存储类供应商,例如 kubernetes.io/azure-file。那么,它是自定义供应商吗?或者它是一些不同的概念?请指导我!

我搜索了很多,但无法找到任何相关信息。

如果 provisioner is prefixed with kubernetes.io/ like azure-file 表示它是一个 internal provisioner 插件。但是使用 外部配置器 也是有效的。

You are not restricted to specifying the "internal" provisioners listed here (whose names are prefixed with "kubernetes.io" and shipped alongside Kubernetes). You can also run and specify external provisioners, which are independent programs that follow a specification defined by Kubernetes. Authors of external provisioners have full discretion over where their code lives, how the provisioner is shipped, how it needs to be run, what volume plugin it uses (including Flex), etc. The repository kubernetes-sigs/sig-storage-lib-external-provisioner houses a library for writing external provisioners that implements the bulk of the specification.

另请参阅有关 AWS EFS CSI driver

的更多信息