Skip to content

Commit

Permalink
Merge pull request #296 from BoyuZhou/patch-1
Browse files Browse the repository at this point in the history
Update serverless-high-availability-architecture.yml
  • Loading branch information
xiao201208 authored Jun 28, 2024
2 parents bc2f666 + 524765a commit e930580
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e930580

Please sign in to comment.