From 5faaed352f78fad70c6951dab17749aa830d27cb Mon Sep 17 00:00:00 2001 From: Oleksandr Shmyheliuk Date: Fri, 29 Jan 2021 10:00:08 -0600 Subject: [PATCH] MCLOUD-7173: Update default Disc and DB value. for Magento cloud --- src/cloud/project/magento-app-properties.md | 2 +- src/cloud/project/services-mysql.md | 6 +++--- src/cloud/project/services.md | 20 ++++++++++---------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/cloud/project/magento-app-properties.md b/src/cloud/project/magento-app-properties.md index e6fdf861e93..8cd362b90a9 100644 --- a/src/cloud/project/magento-app-properties.md +++ b/src/cloud/project/magento-app-properties.md @@ -146,7 +146,7 @@ This example shows the default web configuration for a Cloud project configured Defines the persistent disk size of the application in MB. ```yaml -disk: 2048 +disk: 5120 ``` The minimal recommended disk size is 256MB. If you see the error `UserError: Error building the project: Disk size may not be smaller than 128MB`, increase the size to 256MB. diff --git a/src/cloud/project/services-mysql.md b/src/cloud/project/services-mysql.md index 301e5211883..561cedd828b 100644 --- a/src/cloud/project/services-mysql.md +++ b/src/cloud/project/services-mysql.md @@ -25,7 +25,7 @@ MariaDB 10.1 is the last version that support XtraDB as the storage engine. Vers ```yaml mysql: type: mysql: - disk: 2048 + disk: 5120 ``` {:.bs-callout-tip} @@ -69,8 +69,8 @@ If no endpoints are defined, a single endpoint named `mysql` has `admin` access ```yaml mysql: - type: mysql:10.2 - disk: 2048 + type: mysql:10.3 + disk: 5120 configuration: schemas: - main diff --git a/src/cloud/project/services.md b/src/cloud/project/services.md index 2577dd9726b..eb91afdc734 100644 --- a/src/cloud/project/services.md +++ b/src/cloud/project/services.md @@ -33,7 +33,7 @@ You can view default versions and disk values in the current, [default `services ```yaml mysql: type: mysql: - disk: 2048 + disk: 5120 redis: type: redis: @@ -88,7 +88,7 @@ The `type` value specifies the service name and version. For example: ```yaml mysql: - type: mysql:10.2 + type: mysql:10.3 ``` Use [`Service versions`](#service-versions) table to see supported services and their versions @@ -99,8 +99,8 @@ The `disk` value specifies the size of the persistent disk storage (in MB) to al ```yaml mysql: - type: mysql:10.2 - disk: 2048 + type: mysql:10.3 + disk: 5120 ``` The current default storage amount per project is 5GB, or 5120MB. You can distribute this amount between your application and each of its services. @@ -138,7 +138,7 @@ To verify relationships in local environment: database: - ... - type: 'mysql:10.2' + type: 'mysql:10.3' port: 3306 ``` @@ -218,7 +218,7 @@ You can upgrade the installed service version by updating the service configurat ```yaml mysql: type: mysql:10.3 - disk: 2048 + disk: 5120 ``` 1. Add, commit, and push your code changes. @@ -260,7 +260,7 @@ To downgrade a service version by renaming an existing service: ```yaml mysql: type: mysql:10.4 - disk: 2048 + disk: 5120 ``` > New `services.yaml` definition @@ -268,7 +268,7 @@ To downgrade a service version by renaming an existing service: ```yaml mysql2: type: mysql:10.3 - disk: 2048 + disk: 5120 ``` 1. Update the relationships in the `.magento.app.yaml` file. @@ -299,10 +299,10 @@ To downgrade a service by creating an additional service: ```yaml mysql: type: mysql:10.4 - disk: 2048 + disk: 5120 mysql2: type: mysql:10.3 - disk: 2048 + disk: 5120 ``` 1. Change the relationships configuration in the `.magento.app.yaml` file to use the new service.