Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/cloud/project/magento-app-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions src/cloud/project/services-mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ MariaDB 10.1 is the last version that support XtraDB as the storage engine. Vers
```yaml
mysql:
type: mysql:<version>
disk: 2048
disk: 5120
```

{:.bs-callout-tip}
Expand Down Expand Up @@ -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
Expand Down
20 changes: 10 additions & 10 deletions src/cloud/project/services.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ You can view default versions and disk values in the current, [default `services
```yaml
mysql:
type: mysql:<version>
disk: 2048
disk: 5120

redis:
type: redis:<version>
Expand Down Expand Up @@ -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
Expand All @@ -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.
Expand Down Expand Up @@ -138,7 +138,7 @@ To verify relationships in local environment:
database:
-
...
type: 'mysql:10.2'
type: 'mysql:10.3'
port: 3306
```

Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -260,15 +260,15 @@ To downgrade a service version by renaming an existing service:
```yaml
mysql:
type: mysql:10.4
disk: 2048
disk: 5120
```

> New `services.yaml` definition

```yaml
mysql2:
type: mysql:10.3
disk: 2048
disk: 5120
```

1. Update the relationships in the `.magento.app.yaml` file.
Expand Down Expand Up @@ -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.
Expand Down