Skip to content

Commit fca87bd

Browse files
authored
Merge pull request #189548 from KarlErickson/karler-mem
fixes MicrosoftDocs/azure-docs#88483
2 parents a2e2302 + 28a8385 commit fca87bd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/spring-cloud/quickstart-deploy-apps.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ Compiling the project takes 5-10 minutes. Once completed, you should have indivi
212212
1. Create the 2 core Spring applications for PetClinic: API gateway and customers-service.
213213

214214
```azurecli
215-
az spring-cloud app create --name api-gateway --instance-count 1 --memory 2 --assign-endpoint
216-
az spring-cloud app create --name customers-service --instance-count 1 --memory 2
215+
az spring-cloud app create --name api-gateway --instance-count 1 --memory 2Gi --assign-endpoint
216+
az spring-cloud app create --name customers-service --instance-count 1 --memory 2Gi
217217
```
218218

219219
1. Deploy the JAR files built in the previous step.
@@ -258,9 +258,9 @@ Access the app gateway and customers service from browser with the **Public Url*
258258
To get the PetClinic app functioning with all features like Admin Server, Visits and Veterinarians, you can deploy the other apps with following commands:
259259

260260
```azurecli
261-
az spring-cloud app create --name admin-server --instance-count 1 --memory 2 --assign-endpoint
262-
az spring-cloud app create --name vets-service --instance-count 1 --memory 2
263-
az spring-cloud app create --name visits-service --instance-count 1 --memory 2
261+
az spring-cloud app create --name admin-server --instance-count 1 --memory 2Gi --assign-endpoint
262+
az spring-cloud app create --name vets-service --instance-count 1 --memory 2Gi
263+
az spring-cloud app create --name visits-service --instance-count 1 --memory 2Gi
264264
az spring-cloud app deploy --name admin-server --jar-path spring-petclinic-admin-server/target/spring-petclinic-admin-server-2.5.1.jar --jvm-options="-Xms2048m -Xmx2048m"
265265
az spring-cloud app deploy --name vets-service --jar-path spring-petclinic-vets-service/target/spring-petclinic-vets-service-2.5.1.jar --jvm-options="-Xms2048m -Xmx2048m"
266266
az spring-cloud app deploy --name visits-service --jar-path spring-petclinic-visits-service/target/spring-petclinic-visits-service-2.5.1.jar --jvm-options="-Xms2048m -Xmx2048m"

0 commit comments

Comments
 (0)