Deploy MeterSphere on KubeSphere
This tutorial demonstrates how to deploy MeterSphere on KubeSphere.
- You need to enable the OpenPitrix system.
Hands-on Lab
Log in to KubeSphere as . In your workspace, go to App Repositories under App Management, and then click Add.
In the dialog that appears, enter
metersphere
for the app repository name andhttps://charts.kubesphere.io/test
for the MeterSphere repository URL. Click Validate to verify the URL and you will see a green check mark next to the URL if it is available. Click OK to continue.Your repository displays in the list after it is successfully imported to KubeSphere.
Log out of KubeSphere and log back in as
project-regular
. In your project, go to Apps under Application Workloads and click Create.Select
metersphere
from the drop-down list, then click metersphere-chart.On the Basic Information page, you can view the app name, app version, and deployment location. Click Next to continue.
On the App Settings page, change the value of
imageTag
from tov1.6
, and then click Install.Wait for MeterSphere to be up and running.
-
Note
It may take a while before all the Deployments and StatefulSets are up and running.
Go to Services under Application Workloads, and you can see the MeterSphere Service and its type is set to
NodePort
by default.You can access MeterSphere through
<NodeIP>:<NodePort>
using the default account and password (admin/metersphere
).You may need to open the port in your security groups and configure related port forwarding rules depending on where your Kubernetes cluster is deployed. Make sure you use your own
NodeIP
.