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 the operator role. In this tutorial, you log in as project-regular and work in the project demo-project in the workspace demo-workspace. For more information, see Create Workspaces, Projects, Accounts and Roles.

Hands-on Lab

Step 1: Deploy RadonDB MySQL from the App Store

  1. On the Overview page of the project demo-project, click App Store in the top left corner.

  2. Find RadonDB MySQL and click Deploy on the App Information page.

    RadonDB MySQL-in-app-store

    deploy-RadonDB MySQL

  3. Set a name and select an app version. Make sure RadonDB MySQL is deployed in demo-project and click Next.

    confirm-deployment

  4. In App Configurations, uncomment the mysqlRootPassword field and customize the password. Make sure you record the username and the password which will be used to access the app. When you finish, click Deploy.

    set-app-configuration

  5. Wait until RadonDB MySQL is up and running.

    RadonDB MySQL-running

Step 2: Access RadonDB MySQL

  1. In Services under Application Workloads, click the Service name of RadonDB MySQL.

    RadonDB MySQL-service

  2. Under Pods, expand the menu to see container details, and then click the Terminal icon.

    RadonDB MySQL-terminal

  3. In the pop-up window, enter commands in the terminal directly to use the app.

    Access RadonDB MySQL

  4. If you want to access RadonDB MySQL outside the cluster, see the open-source project of RadonDB MySQL in detail.