Hi,
I am attempting to create a 3-node Elasticsearch cluster by following the instructions here. The operator creates a cluster with persistent volumes of 1GiB with the default storage class, which happens to be do-block-storage for DO managed Kubernetes (more details on how to provision persistent volume here).
However, I would like to use local PVs instead of network ones (Block Storage) as is recommended here. Is there a guide on how to go about this?
Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
According to the official documentation, DigitalOcean recommends against using HostPath volumes with their Managed Kubernetes services because nodes are frequently replaced and all data stored on the nodes will be lost.
You can persist data in DigitalOcean Kubernetes clusters to block storage volumes using the DigitalOcean CSI plugin. The volume gets mounted to the node itself and then a PVC is created, so there should not really be any noticeable latency.
Alternatively, you could deploy an unmanaged Kubernetes cluster on a few Droplets as per the instructions here:
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.