Skip to content

Commit 3618bdf

Browse files
authored
[Containers] Use partial for instance types (#25675)
* [Containers] Use partial for instance types * add /partials/containers/ codeowners
1 parent 9fc1a8d commit 3618bdf

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
# Developer Platform
9393

9494
/src/content/docs/containers/ @mikenomitch @th0m @cloudflare/pcx-technical-writing @cloudflare/cloudchamber
95+
/src/content/partials/containers/ @mikenomitch @th0m @cloudflare/pcx-technical-writing @cloudflare/cloudchamber
9596
/src/content/docs/d1/ @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @harshil1712 @cloudflare/pcx-technical-writing
9697
/src/content/release-notes/d1.yaml @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @cloudflare/pcx-technical-writing
9798
/src/content/partials/d1/ @elithrar @rozenmd @vy-ton @joshthoward @oxyjun @harshil1712 @cloudflare/pcx-technical-writing

src/content/docs/containers/platform-details/limits.mdx

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,14 @@ sidebar:
55
order: 2
66
---
77

8+
import { Render } from "~/components";
9+
810
## Instance Types
911

1012
The memory, vCPU, and disk space for Containers are set through predefined instance types.
1113
Six instance types are currently available:
1214

13-
| Instance Type | vCPU | Memory | Disk |
14-
| ------------- | ---- | ------ | ---- |
15-
| lite | 1/16 | 256 MiB | 2 GB |
16-
| basic | 1/4 | 1 GiB | 4 GB |
17-
| standard-1 | 1/2 | 4 GiB | 8 GB |
18-
| standard-2 | 1 | 6 GiB | 12 GB |
19-
| standard-3 | 2 | 8 GiB | 16 GB |
20-
| standard-4 | 4 | 12 GiB | 20 GB |
15+
<Render product="containers" file="instance-types" />
2116

2217
These are specified using the [`instance_type` property](/workers/wrangler/configuration/#containers) in your Worker's Wrangler configuration file. Looking for larger instances? [Give us feedback here](/containers/beta-info/#feedback-wanted) and tell us what size instances you need, and what you want to use them for.
2318

src/content/docs/containers/pricing.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ sidebar:
55
order: 11
66
---
77

8+
import { Render } from "~/components";
9+
810
## vCPU, Memory and Disk
911

1012
Containers are billed for every 10ms that they are actively running at the following rates, with included monthly usage as part of the $5 USD per month [Workers Paid plan](/workers/platform/pricing/):
@@ -20,11 +22,7 @@ You only pay for what you use — charges start when a request is sent to the co
2022

2123
When you add containers to your Worker, you specify an [instance type](/containers/platform-details/#instance-types). The instance type you select will impact your bill — larger instances include more vCPUs, memory and disk, and therefore incur additional usage costs. The following instance types are currently available, and larger instance types are coming soon:
2224

23-
| Name | Memory | CPU | Disk |
24-
| -------- | ------- | --------- | ---- |
25-
| dev | 256 MiB | 1/16 vCPU | 2 GB |
26-
| basic | 1 GiB | 1/4 vCPU | 4 GB |
27-
| standard | 4 GiB | 1/2 vCPU | 4 GB |
25+
<Render product="containers" file="instance-types" />
2826

2927
## Network Egress
3028

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
| Instance Type | vCPU | Memory | Disk |
2+
| ------------- | ---- | ------ | ---- |
3+
| lite | 1/16 | 256 MiB | 2 GB |
4+
| basic | 1/4 | 1 GiB | 4 GB |
5+
| standard-1 | 1/2 | 4 GiB | 8 GB |
6+
| standard-2 | 1 | 6 GiB | 12 GB |
7+
| standard-3 | 2 | 8 GiB | 16 GB |
8+
| standard-4 | 4 | 12 GiB | 20 GB |

0 commit comments

Comments
 (0)