Kubernetes Version Middleware Installation Guide
This guide aims to enable customers to quickly get hands-on experience with the Kubernetes version when they cannot provide their own Mysql, S3, CICD, etc.
The MySQL database launched using Kubernetes does not have high availability and is strongly not recommended for storing data in production environments. The platform recommends connecting to external databases owned by users.
1. Prerequisites
To deploy the middleware required by WeiDa, the following conditions must be met:
- CPU: 2 cores, Memory: 4GB, Disk: 100GB
- By default, Docker needs to be installed, and the Docker version must be greater than 20.0.0
2. Start Deployment
2.1. Log in to the deployment environment and switch to the root user
2.2. Download and extract the installation package:
wget -L -O weda-mid.zip https://software-1302110647.cos.ap-guangzhou.myqcloud.com/rc/lastest/weda-mid.zip && unzip weda-mid.zip && cd weda-mid2.3. Run
./install.shto complete the installation2.4. By default, only the giteness service is installed. MySQL and S3 are not provided for installation. After enabling, they will be automatically installed (free maintenance is not provided at the same time).
2.5. To automatically install MySQL and S3 (skip if not needed), execute the following command:
./install.sh all
3. Middleware Information
The access addresses for all middleware are the IP address of this VM.
middleware:
mysql:
host: host: <VM IP address>
port: 3306
username: root
password: "123456"
dbname: lowcode
dbRuntimeName: lcruntime
s3:
## Do not include the http or https protocol name; fill in the protocol name [http or https] in the scheme field
endpoint: endpoint: <VM IP address>
port: 9000
scheme: http
accessKey: admin
secretKey: admin@123456
insecureSkipVerify: false
defaultBucket: lowcode
cloudStorageBucket: lowcode-storage
ciSource: lowcode-ci-source
## Fill in according to the actual situation
region: us-east-1
pathStyle: true
build:
enabled: true
type: "gitness"
gitness:
host: "host: "http://<VM IP address>:3000"
secretId: "admin"
secretKey: "admin"
proxy: "proxy: "<WeDa access domain, which must be accessible from the current machine. If there is no DNS resolution, configure the private network resolution hosts file>"
projectName: "lowcode"
repoName: "software"