From 524765ad93c6464ac63de173a2418b425806c04a Mon Sep 17 00:00:00 2001 From: ZhouBoyu <2470200492@qq.com> Date: Fri, 28 Jun 2024 17:40:23 +0800 Subject: [PATCH] Update serverless-high-availability-architecture.yml change env key --- .../serverless-high-availability-architecture.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: