<p>Found out that there is no specific 'default' storageclass(SC) type for Docker EE or others, it depends on the requirement and specific to Kubernetes provider(s). I went ahead and created a sc with 'local' provisioner type.</p>

CC BY-SA 4.0
2020-05-12T00:45:09.780Z
2020-05-12T00:45:09.780Z
cnu
<p>We're using Docker EE Kubernetes on-prem set up and noticed that cluster(s) don't have default StorageClass set up. To the best of my knowledge this is supposed to be set up during install/set up, but not done here.</p>

<p>I am aware of steps and have YAML in place to create a PV and StoageClass but trying to understand if there are any best practices and 'right' approach to set that up?</p>

<p>I came across <a href="https://docs.docker.com/ee/ucp/kubernetes/storage/use-nfs-volumes/#exposing-nfs-shares-as-a-cluster-object" rel="nofollow noreferrer">nfs-volume</a> but still not clear if we need a separate NFS drive/server, or can we use one of the nodes for creating the StorageClass(SC)?</p>

<p>Also we don't want the SC to be available for other namespaces or pods as I need to set up SC as a pre-requisite for installing an Ingress Controller.</p>

<docker><kubernetes><ingress>
Default StorageClass set up for Docker EE Kubernetes
cnu
# Default StorageClass set up for Docker EE Kubernetes

(Asked by: username_0 on 2020-05-08)

We're using Docker EE Kubernetes on-prem set up and noticed that cluster(s) don't have default StorageClass set up. To the best of my knowledge this is supposed to be set up during install/set up, but not done here.

I am aware of steps and have YAML in place to create a PV and StoageClass but trying to understand if there are any best practices and 'right' approach to set that up?

I came across [nfs-volume](https://docs.docker.com/ee/ucp/kubernetes/storage/use-nfs-volumes/#exposing-nfs-shares-as-a-cluster-object) but still not clear if we need a separate NFS drive/server, or can we use one of the nodes for creating the StorageClass(SC)?

Also we don't want the SC to be available for other namespaces or pods as I need to set up SC as a pre-requisite for installing an Ingress Controller.

**Tags:** docker, kubernetes, ingress


---

## 1 answers

### Answer by username_0 on 2020-05-12. Score: 1 | Accepted answer

Found out that there is no specific 'default' storageclass(SC) type for Docker EE or others, it depends on the requirement and specific to Kubernetes provider(s). I went ahead and created a sc with 'local' provisioner type.


---

