Difficulty: Beginner
Estimated Time: 10 minutes

This sandbox environment is a fully configured 3 node Kubernetes cluster with StorageOS already installed.

In this tutorial, you will install MySQL and configure volumes for high availability.


Step 1 of 4

Introduction and Setup Environment

MySQL is a popular SQL open source database for a wide range of popular web-based applications. In this tutorial, we'll look at how to configure it with StorageOS for high availability and failover.

First we need to set the environment variables that allow us to connect to the StorageOS cluster.


Verify that you have a healthy installation with three nodes:

storageos node ls

We are going to use the default StorageClass that was created when StorageOS was installed, called fast.

The fast StorageClass is backed by the storageos provisioner:

kubectl describe storageclass fast