# How to use persistent Storage on bare metal? (no minikube)

**URL:** <https://discuss.elastic.co/t/how-to-use-persistent-storage-on-bare-metal-no-minikube/190224>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [July 12, 2019, 11:29am UTC](https://discuss.elastic.co/t/how-to-use-persistent-storage-on-bare-metal-no-minikube/190224 "2019-07-12T11:29:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [July 12, 2019, 11:29am UTC](https://discuss.elastic.co/t/how-to-use-persistent-storage-on-bare-metal-no-minikube/190224/1 "2019-07-12T11:29:16Z")

</div>

Hi,

I am trying to bring a cluster alive using Elastic cloud on kubernetes.

I'v setup a bare metal kubernetes cluster (no minikube). I am a little stuck with the persistent local storage descibed here: [https://github.com/elastic/cloud-on-k8s/tree/master/local-volume](https://github.com/elastic/cloud-on-k8s/tree/master/local-volume)

Since I am not using GCE nor minikube, how do I setup this?

Thanks, Andreas

---

<div class="post-metadata">

**Author:** ![sebgl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sebgl/32/48702_2.png) [@sebgl](https://discuss.elastic.co/u/sebgl)\
**Post date:** [July 12, 2019, 12:30pm UTC](https://discuss.elastic.co/t/how-to-use-persistent-storage-on-bare-metal-no-minikube/190224/2 "2019-07-12T12:30:35Z")

</div>

Hi @asp,

Our [dynamic local-volume provisioner](https://github.com/elastic/cloud-on-k8s/tree/master/local-volume) is a prototype for dynamic local volume provisioning relying on LVM. It's not ready for production-grade setups.

You should probably look into the [SIG Storage Local Static Provisioner](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner). It allows you to create static local persistent volumes, by using the disks of each host, which can then be used as any regular persistent volume with ECK.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 4, 2022, 7:16am UTC](https://discuss.elastic.co/t/how-to-use-persistent-storage-on-bare-metal-no-minikube/190224/3 "2022-11-04T07:16:29Z")

</div>


