Under Service Ports, you can see the port is exposed. For more information, see Project Gateway. Select NodePort for Access Method and click OK. Go to Services and click the service name of MySQL.Ĭlick More and select Edit Internet Access from the drop-down menu. To access MySQL outside the cluster, you need to expose the app through a NodePort first. Step 3: Access the MySQL Database outside the Cluster In the terminal, execute mysql -uroot -ptesting to log in to MySQL as the root user. Under Pods, expand the menu to see container details, and then click the Terminal icon. Go to Workloads and click the service name of MySQL. In App Config, uncomment the mysqlRootPassword field and customize the password. Make sure MySQL is deployed in demo-project and click Next. On the Overview page of the project demo-project, click App Store in the top left corner.įind MySQL and click Deploy on the App Info page. Hands-on Lab Step 1: Deploy MySQL from the App Store For more information, see Create Workspaces, Projects, Accounts and Roles. In this tutorial, you log in as project-regular and work in the project demo-project in the workspace demo-workspace. The account needs to be a platform regular user and to be invited as the project operator with the operator role. You need to create a workspace, a project, and a user account for this tutorial.Please make sure you enable the OpenPitrix system.This tutorial walks you through an example of deploying MySQL from the App Store of KubeSphere. It provides a fully managed database service to deploy cloud-native applications using the world’s most popular open-source database. MySQL is an open-source relational database management system (RDBMS), which uses the most commonly used database management language - Structured Query Language (SQL) for database management.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |