Deploy RadonDB MySQL on KubeSphere
RadonDB MySQL is an open source, cloud-native, and highly available cluster solution based on MySQL database. With the Raft protocol, RadonDB MySQL enables fast failover without losing any transactions.
This tutorial demonstrates how to deploy RadonDB MySQL from the App Store of KubeSphere.
Prerequisites
- Please make sure you enable the OpenPitrix system.
- You need to create a workspace, a project, and a user account (
project-regular
) for this tutorial. The account needs to be a platform regular user and to be invited as the project operator with theoperator
role. In this tutorial, you log in asproject-regular
and work in the projectdemo-project
in the workspacedemo-workspace
. For more information, see Create Workspaces, Projects, Users and Roles.
Hands-on Lab
Step 1: Deploy RadonDB MySQL from the App Store
On the Overview page of the project
demo-project
, click App Store in the top-left corner.Find RadonDB MySQL and click Install on the App Information page.
Set a name and select an app version. Make sure RadonDB MySQL is deployed in
demo-project
and click Next.In App Settings, you can use the default settings or customize the settings by editing the YAML file directly. When you finish, click Install.
Wait until RadonDB MySQL is up and running.
Step 2: Access RadonDB MySQL
In Services under Application Workloads, click the Service name of RadonDB MySQL.
Under Pods, expand the menu to see container details, and then click the Terminal icon.
In the pop-up window, enter commands in the terminal directly to use the app.
If you want to access RadonDB MySQL outside the cluster, see the open-source project of RadonDB MySQL in detail.