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

This tab will not be visible to users and provides only information to help authors when creating content.

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]