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 our team. We 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


Philip Williams
25 July 2024

How do you select the best enterprise data storage solution for your business?

Ceph Article

The choices you make around IT infrastructure have great impact for both business cost and performance, across areas as diverse as operations, finance, data analysis and marketing. Given the importance of data across all of these areas and frankly, across your business as a whole, making the right decision when choosing a new storage syst ...


Philip Williams
16 July 2024

The guide to cloud storage security for public sector

Ceph Article

Cloud storage solutions can provide public sector organisations with a high degree of flexibility when it comes to their storage needs, either public cloud based, or in their own private clouds. In our previous blog post we looked at the economic differences between these two approaches. In this blog we will explore some of the ...


Philip Williams
5 July 2024

Ceph Days London 2024

Ceph Article

Date: July 17th, 2022 Location: London, United Kingdom In a couple of weeks, Ceph Days makes a stop off in London, at Canonical’s newly opened office at More London Place. Canonical is proud to be sponsoring this community led event alongside IBM. If you are unfamiliar, Ceph Days are one day conference events that bring ...