Kubernetes storage options: StorageOS
Peter Jose De Sousa
on 24 October 2019
Tags: Charmed Kubernetes , Storage , StorageOS
Kubernetes offers a range of storage solutions out of the box, but the majority of these are specific to cloud providers, for example, AWS or Google Cloud. This means that the options left for bare metal deployments are Ceph, NFS or local.
“StorageOS is a newcomer to this area providing an easy to setup solution for storage in Charmed Kubernetes.” – said Tytus Kurek, Product Manager for Charmed Kubernetes at Canonical.
In this tutorial, you will learn how to deploy StorageOS operator in Charmed Kubernetes environment. We will also create an example workload that uses StorageOS based on WordPress and MySQL.
Prerequisites
Before we get started, we have to find ourselves a healthy Charmed Kubernetes cluster. If you do not have a Charmed Kubernetes cluster, you can refer to the following tutorial to spin up one in minutes. Charmed Kubernetes is a production-grade Kubernetes offering from Canonical which is fully compliant with the upstream project. Get Charmed Kubernetes right away and benefit from simplified deployments and operations provided by Juju charms.
How to deploy StorageOS
Deploying StorageOS in Charmed Kubernetes environment involves completing the following steps:
- Install the StorageOS operator – deploy the StorageOS operator from GitHub
- Create a secret for StorageOS – create an initial StorageOS user account
- Deploy the daemon sets – deploy the StorageOS cluster.
Once completed, you can use StorageOS when creating persistent volume claims in Kubernetes.
As the whole process requires a bunch of manual steps, we decided to create a detailed tutorial that you can follow step-by-step to understand how to deploy StorageOS in Charmed Kubernetes environment.
Conclusions
Using StorageOS allows you to easily set up a storage solution for Charmed Kubernetes which can be used in bare metal deployments. You can check out StorageOS’ documentation on how to take your newly learned skills and apply them to your Kubernetes clusters.
What is Ceph?
Ceph is a software-defined storage (SDS) solution designed to address the object, block, and file storage needs of both small and large data centers.
It's an optimized and easy-to-integrate solution for companies adopting open source as the new norm for high-growth block storage, object stores and data lakes.

How to optimize your cloud storage costs
Cloud storage is amazing, it's on demand, easy to implement, but is it the most cost effective approach for large, predictable data sets?
Understand the true costs of storing data in a public cloud, and how open source Ceph can provide a cost effective alternative.
A guide to software-defined storage for enterprises
Ceph is a software-defined storage (SDS) solution designed to address the object, block, and file storage needs of both small and large data centres.
Explore how Ceph can replace proprietary storage systems in the enterprise.
Performant, reliable and cost-effective storage with Ceph
Canonical Ceph simplifies the entire management lifecycle of deployment, configuration, and operation of a Ceph cluster, no matter its size or complexity. Install, monitor, and scale cloud storage with extensive interoperability.
Find out how Ceph scales effortlessly and cost-effectively ›
Newsletter signup
Related posts
Native integration available for Dell PowerFlex and Canonical LXD
The integration delivers reliable, cost-effective virtualization for modern IT infrastructure Canonical, the company behind Ubuntu, has collaborated with...
Native integration now available for Pure Storage and Canonical LXD
Canonical, the company behind Ubuntu, and Pure Storage, the IT pioneer delivering enterprise-grade all-flash storage, have partnered to introduce a native...
Canonical announces 12 year Kubernetes LTS
Canonical’s Kubernetes LTS (Long Term Support) will support FedRAMP compliance and receive at least 12 years of committed security maintenance and enterprise...