diff --git a/documents/solution/high-availability-architecture/serverless-high-availability-architecture.yml b/documents/solution/high-availability-architecture/serverless-high-availability-architecture.yml index 29dc444c..8c6b6d0e 100644 --- a/documents/solution/high-availability-architecture/serverless-high-availability-architecture.yml +++ b/documents/solution/high-availability-architecture/serverless-high-availability-architecture.yml @@ -253,10 +253,10 @@ Resources: -XX:HeapDumpPath=/home/admin/nas/dump-${POD_IP}-$(date '+%s').hprof Envs: Fn::Sub: >- - [{"name":"APPLETS_RDS_ENDPOINT","value":"${PolarDBCluster.PrimaryConnectionString}"}, - {"name":"APPLETS_RDS_USER","value":"${PolarDBAccount}"}, - {"name":"APPLETS_RDS_PASSWORD","value":"${DBPassword}"}, - {"name":"APPLETS_RDS_DB_NAME","value":"applets"}] + [{"name":"APPLETS_MYSQL_ENDPOINT","value":"${PolarDBCluster.PrimaryConnectionString}"}, + {"name":"APPLETS_MYSQL_USER","value":"${PolarDBAccount}"}, + {"name":"APPLETS_MYSQL_PASSWORD","value":"${DBPassword}"}, + {"name":"APPLETS_MYSQL_DB_NAME","value":"applets"}] Readiness: '{"exec":{"command":["sleep","6s"]},"initialDelaySeconds":15,"timeoutSeconds":12}' Liveness: '{"httpGet":{"path":"/","port":80,"scheme":"HTTP"},"initialDelaySeconds":10,"timeoutSeconds":10,"periodSeconds":10,"successThreshold":1,"failureThreshold":3}' WaitApp: