diff --git a/README.md b/README.md index bae1801..677b30c 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,9 @@ ## Prerequisites -- JDK 1.8 +- JDK 1.8 - [Maven](http://maven.apache.org/) 3.0 and above -- IvorySQL 5.6 +- IvorySQL 6.0 - Kubernetes 1.23 (Must have default storage class) ## Installation instructions @@ -22,38 +22,47 @@ Enter the project root directory: cd ivory-cloud ``` - ## Deployment ### Compile and build -1. Please ensure that all files ending with .sh in the ivory-cloud\cloudnative\src\main\resources\monitor folder and all its subfolders are in UNIX format. If they are not, please run the dos2unix command to convert them to UNIX format. +1. Please ensure that all files ending with .sh in the ivory-cloud\cloudnative\src\main\resources\monitor folder and all its subfolders are in UNIX format. If they are not, please run the dos2unix command to convert them to UNIX format. 2. Maven:Maven configuration is required,After configuration, execute the following command: ``` mvn clean mvn package -D maven.test.skip=true ``` + After the packaging is completed, you can find the cloudnative-1.0-SNAPSHOT.jar file at the path ivory-cloud/cloudnative/target. -### Deploy backend projects + +### Deploy backend projects + 1. Install a database such as ivorysql on your server and start it. 2. create a directory to store the application files. For example: + ``` mkdir -p /home/ivory ``` + 4. upload JAR file (cloudnative-1.0-SNAPSHOT.jar) to your server. 5. create a directory(name must be: config) under /home/ivory to store the application files. For example: + ``` mkdir -p /home/ivory/config ``` + 6. Please upload below files from the source code path ivory-cloud/cloudnative/src/main/resources to the /home/ivory/config path on your server. + ``` application.yaml application-native.yaml spring_pro_logback.xml ``` + 7. then edit /home/ivory/config/application-native.yaml -Please modify url, username, password parts according to your actual situation. + Please modify url, username, password parts according to your actual situation. + ``` datasource: druid: @@ -63,6 +72,7 @@ datasource: username: ivorysql password: "ivory@123" ``` + 8. Launch ivory-cloud app cd /home/ivory/ diff --git a/cloudnative/src/main/resources/application-native.yaml b/cloudnative/src/main/resources/application-native.yaml index 131a176..00dd78b 100644 --- a/cloudnative/src/main/resources/application-native.yaml +++ b/cloudnative/src/main/resources/application-native.yaml @@ -36,8 +36,8 @@ common: linuxk8sConfigPath: /root/.kube/config # ivoryPgKernelVersion: 15 #数据库内核版本 # ivoryVersion: 2.3 #ivory版本 - ivoryPgKernelVersion: 18 #数据库内核版本 - ivoryVersion: 5.6 #ivory版本 + ivoryPgKernelVersion: 19 #数据库内核版本 + ivoryVersion: 6.0 #ivory版本 logging: level: org: diff --git a/ivory-cloud_release_notes.txt b/ivory-cloud_release_notes.txt index 436a965..bc3c5e9 100644 --- a/ivory-cloud_release_notes.txt +++ b/ivory-cloud_release_notes.txt @@ -1,4 +1,8 @@ ivory-cloud RELEASE NOTES +******************v6.0****************** +1.IvorySqL6.0适配 + + ******************v5.6****************** 1.IvorySqL 5.6适配