Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
192 views
in Technique[技术] by (71.8m points)

amazon web services - Custom Provisioner for storage class

I'm working on a project and encountered some issues. I'm still a beginner with Kubernetes and need some help regarding that.

The code from helm config is as follows:

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

I'm unable to figure out the provisioner part there's some custom name written instead of the usual storageclass provisioner such as kubernetes.io/azure-file. So, is it a custom provisioner? or it's some different concept? Please, guide me!

I've searched a lot but unable to get anything on this.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

If the provisioner is prefixed with kubernetes.io/ like azure-file it means that it is an internal provisioner plugin. But it is valid to use an external provisioner as well.

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.

Also see more about the AWS EFS CSI driver


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...