Tutorial
Database Creation
SuperMap iManager supports to ‘one-click’ creating Redis, MySQL, MinIO, PostGIS, PostgreSQL, Elasticsearch, or Yukon database, please refer to the following steps(The following content demonstrate how to create MySQL database, the steps of creating other databases are same as this demonstration):
- Open Sites Management on the left navigation bar.
- Clicks on + Create.
-
Fills in the name of MySQL environment, and select MySQL in the Site type.
Advanced Options:
- Use Service Mesh: Click to open service mesh function, the site is available to achieve service trace and service metrics. Modify the value of deploy_istio_enabled to ‘true’ in the ‘values.yaml’ file of iManager deployment package first if you want to use service mesh, please refer to Guides > Deployment Guide > Install iManager.
-
Resources Allocation: Set the limitation of CPU and Memory of the database environment. The CPU/Memory in the database environment is different to the CPU/Memory in hardware machine, the CPU/Memory in the database environment is the CPU/Memory occupy of a service node in Kubernetes, the total CPU/Memory of the database environment is equal to the sum of CPU/Memory of service nodes.
- CPU(Required): Set the maximum CPU of the database environment.
- Memory(Required): Set the maximum Memory of the database environment.
- Pods: Set the maximum number of available pods in the Site.
- Default container CPU limit: Set the maximum available CPU of a single container when creating.
- Default container Memory limit: Set the maximum available Memory of a single container when creating.
Notes:
If the database environment enable Service Mesh, each service node would create a istio-proxy, a istio-proxy occupies 2 core CPU and 1 GB Memory, the total CPU/Memory of the database environment is equal to the sum of CPU/Memory of service nodes plus the occupy of the istio-proxy. - Clicks on OK.
- Check the status on the MySQL page, while the status change to ‘Normal’, the MySQL created successfully.