Answers: <p>Maybe storage classes?</p>
  
  <p><code>kubectl get sc</code>?</p>
  
Answers: CC BY-SA 4.0
Answers: 2020-05-16T19:41:47.497Z
Answers: no, sc would give available storage classes in the cluster. Describing the SC though would provide details about underlying provisioner for that SC.
Answers: cnu
Answers: CC BY-SA 4.0
Answers: 2020-05-15T13:59:05.283Z
Answers: 2020-05-15T13:59:05.283Z
Answers: David West
Answers: <p>Came to know that there is no way to know this. Somewhere in the documentation I read that system will error out if the referenced provisioner is not present.</p>
  
Answers: CC BY-SA 4.0
Answers: 2020-06-30T13:27:19.623Z
Answers: 2020-06-30T13:27:19.623Z
Answers: cnu
Body: <p>Is there a command or script that one can use to see or list enabled/available volume provisioners in a Kubernetes cluster?</p>
  <p>We have an on-premise cluster and I came to know the hard way that 'local' provisioner has already been enabled in the cluster. So I am trying to see if there is something we can do upfront and set up a few of the provisioners for use by the containers/applications.</p>
  
Tags: <kubernetes-volume>
Title: How to check available volume provisioners in Kubernetes cluster?
UserDisplayName: cnu
ThreadText: # How to check available volume provisioners in Kubernetes cluster?
  
  (Asked by: username_0 on 2020-05-14)
  
  Is there a command or script that one can use to see or list enabled/available volume provisioners in a Kubernetes cluster?
  
  We have an on-premise cluster and I came to know the hard way that 'local' provisioner has already been enabled in the cluster. So I am trying to see if there is something we can do upfront and set up a few of the provisioners for use by the containers/applications.
  
  **Tags:** kubernetes-volume
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2020-05-15. Score: 1
  
  Maybe storage classes?
  
  `kubectl get sc`?
  
  > **Comments:**
  > **username_0**: no, sc would give available storage classes in the cluster. Describing the SC though would provide details about underlying provisioner for that SC.  
  
  ---
  
  ### Answer by username_0 on 2020-06-30. Score: -1
  
  Came to know that there is no way to know this. Somewhere in the documentation I read that system will error out if the referenced provisioner is not present.
  
  
  ---
  
  