mirror of
https://github.com/langgenius/aws-cdk-for-dify.git
synced 2026-07-01 20:14:06 -04:00
upgrade the RDS and EKS version (#18)
* upgrade the RDS and EKS version old RDS and eks version is not supported by AWS * Update .env.example
This commit is contained in:
@@ -19,6 +19,7 @@ OPENSEARCH_SUBNETS=
|
||||
|
||||
|
||||
OPENSEARCH_ADMINNAME=
|
||||
# The length of OPENSEARCH_PASSWORD is at least 8 characters
|
||||
OPENSEARCH_PASSWORD=
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -14,7 +14,7 @@ export const prodConfig: ProdStackConfig = {
|
||||
account: process.env.CDK_PROD_ACCOUNT || process.env.CDK_DEFAULT_ACCOUNT || '',
|
||||
|
||||
cluster: {
|
||||
version: KubernetesVersion.V1_30,
|
||||
version: KubernetesVersion.V1_31,
|
||||
tags: { "marketplace": "dify" },
|
||||
// at least 2 ids
|
||||
vpcSubnetIds: process.env.EKS_CLUSTER_SUBNETS?.trim().split(',').filter(id => id.length > 0) || [],
|
||||
@@ -36,7 +36,7 @@ export const prodConfig: ProdStackConfig = {
|
||||
},
|
||||
|
||||
postgresSQL: {
|
||||
version: PostgresEngineVersion.VER_14_9,
|
||||
version: PostgresEngineVersion.VER_14,
|
||||
instanceType: new InstanceType(RDS_INSTANCE_MAP['4c32m']),
|
||||
dbName: 'postgres',
|
||||
dbCredentialUsername: 'clusteradmin',
|
||||
|
||||
+2
-2
@@ -18,7 +18,7 @@ export const testConfig: TestStackConfig = {
|
||||
account: process.env.CDK_TESTING_ACCOUNT || process.env.CDK_DEFAULT_ACCOUNT || '',
|
||||
|
||||
cluster: {
|
||||
version: KubernetesVersion.V1_29,
|
||||
version: KubernetesVersion.V1_31,
|
||||
tags: { "marketplace": "dify" },
|
||||
// at least 2 ids
|
||||
vpcSubnetIds: process.env.EKS_CLUSTER_SUBNETS?.trim().split(',').filter(id => id.length > 0) || [],
|
||||
@@ -40,7 +40,7 @@ export const testConfig: TestStackConfig = {
|
||||
},
|
||||
|
||||
postgresSQL: {
|
||||
version: PostgresEngineVersion.VER_14_9,
|
||||
version: PostgresEngineVersion.VER_14,
|
||||
instanceType: new InstanceType(RDS_INSTANCE_MAP['2c8m']),
|
||||
dbName: 'postgres',
|
||||
dbCredentialUsername: 'clusteradmin',
|
||||
|
||||
Generated
+1255
-887
File diff suppressed because it is too large
Load Diff
+4
-4
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "dify-cdk",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"bin": {
|
||||
"dify-cdk": "bin/dify-cdk.js"
|
||||
},
|
||||
@@ -12,15 +12,15 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "20.11.19",
|
||||
"aws-cdk": "2.148.1",
|
||||
"aws-cdk": "2.173.4",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "~5.3.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@aws-quickstart/eks-blueprints": "1.15.1",
|
||||
"@aws-quickstart/eks-blueprints": "1.16.3",
|
||||
"@types/lodash": "^4.14.197",
|
||||
"@types/source-map-support": "^0.5.10",
|
||||
"aws-cdk-lib": "2.148.1",
|
||||
"aws-cdk-lib": "2.173.4",
|
||||
"cdk-redisdb": "^0.0.39",
|
||||
"constructs": "^10.0.0",
|
||||
"dotenv": "^16.0.0",
|
||||
|
||||
Reference in New Issue
Block a user