Skip to main content

Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

  1. Blog
  2. Article

Peter Jose De Sousa
on 24 October 2019


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.

Take The Tutorial

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.

Related posts


Canonical
11 February 2025

Canonical announces 12 year Kubernetes LTS 

Canonical announcements Article

Canonical’s Kubernetes LTS (Long Term Support) will support FedRAMP compliance and receive at least 12 years of committed security maintenance and enterprise support on bare metal, public clouds, OpenStack, Canonical MicroCloud and VMware. February 11,  2025 Today, Canonical announced a 12 year security maintenance and support commitment ...


Philip Williams
3 February 2025

How to reduce data storage costs by up to 50% with Ceph

Ceph Article

Canonical Ceph with IntelⓇ Quick Assist Technology (QAT) In our last blog post we talked about how you can use Intel® QAT with Canonical Ceph, today we’ll cover why this technology is important from a business perspective – in other words, we’re talking data storage costs. Retaining and protecting data has an inherent cost based ...


Philip Williams
27 January 2025

How to utilize CPU offloads to increase storage efficiency

Ceph Article

Canonical Ceph with IntelⓇ Quick Assist Technology (QAT) When storing large amounts of data, the cost ($) to store each gigabyte (GB) is the typical measure used to gauge the efficiency of the storage system. The biggest driver of storage cost is the protection method used.  It is common to protect data by either having ...