Skip to content

Conversation

@emily-shen
Copy link
Contributor

@emily-shen emily-shen commented Aug 22, 2025

Changes in this PR:

  1. move more pages things under 'platform reference' so the sidebar is less overwhelming.
  2. create a new rollouts page under platform reference
  3. rename 'architecture' to 'container lifecycle' and add lots more details, mostly copied over from the FAQ page which has lots of useful information but under a non-obvious location.

Before:

Screenshot 2025-08-22 at 17 29 12

After:
Screenshot 2025-08-22 at 17 28 47 Screenshot 2025-08-22 at 17 28 33

I think this is better?

@github-actions
Copy link
Contributor

github-actions bot commented Aug 22, 2025

This PR requires additional review attention because it affects the following areas:

Redirects

This PR changes current filenames or deletes current files. Make sure you have redirects set up to cover the following paths:

  • /containers/architecture/
  • /containers/durable-object-methods/
  • /containers/image-management/
  • /containers/platform-details/
  • /containers/scaling-and-routing/

Partials

This PR updates partial files, which are pieces of content used across multiple files in our Render component.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 22, 2025

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/public/__redirects @GregBrimble, @KianNH, @pedrosousa, @WalshyDev, @cloudflare/pcx-technical-writing
/src/content/docs/containers/ @mikenomitch, @th0m, @cloudflare/pcx-technical-writing, @cloudflare/cloudchamber
/src/content/docs/workers/wrangler/ @cloudflare/wrangler, @irvinebroque, @kodster28, @cloudflare/pcx-technical-writing, @cloudflare/workers-runtime-1
* @cloudflare/pcx-technical-writing

@github-actions
Copy link
Contributor

github-actions bot commented Aug 22, 2025

Preview URL: https://25af132f.preview.developers.cloudflare.com
Preview Branch URL: https://emily-containers-restructure.preview.developers.cloudflare.com

Files with changes (up to 15)

Original Link Updated Link
https://developers.cloudflare.com/containers/platform-details/architecture/ https://emily-containers-restructure.preview.developers.cloudflare.com/containers/platform-details/architecture/
https://developers.cloudflare.com/containers/ https://emily-containers-restructure.preview.developers.cloudflare.com/containers/
https://developers.cloudflare.com/containers/examples/env-vars-and-secrets/ https://emily-containers-restructure.preview.developers.cloudflare.com/containers/examples/env-vars-and-secrets/
https://developers.cloudflare.com/containers/architecture/ https://emily-containers-restructure.preview.developers.cloudflare.com/containers/architecture/
https://developers.cloudflare.com/containers/platform-details/image-management/ https://emily-containers-restructure.preview.developers.cloudflare.com/containers/platform-details/image-management/
https://developers.cloudflare.com/containers/platform-details/rollouts/ https://emily-containers-restructure.preview.developers.cloudflare.com/containers/platform-details/rollouts/
https://developers.cloudflare.com/containers/platform-details/environment-variables/ https://emily-containers-restructure.preview.developers.cloudflare.com/containers/platform-details/environment-variables/
https://developers.cloudflare.com/containers/platform-details/limits/ https://emily-containers-restructure.preview.developers.cloudflare.com/containers/platform-details/limits/
https://developers.cloudflare.com/containers/examples/container-backend/ https://emily-containers-restructure.preview.developers.cloudflare.com/containers/examples/container-backend/
https://developers.cloudflare.com/containers/container-package/ https://emily-containers-restructure.preview.developers.cloudflare.com/containers/container-package/
https://developers.cloudflare.com/containers/platform-details/scaling-and-routing/ https://emily-containers-restructure.preview.developers.cloudflare.com/containers/platform-details/scaling-and-routing/
https://developers.cloudflare.com/containers/faq/ https://emily-containers-restructure.preview.developers.cloudflare.com/containers/faq/
https://developers.cloudflare.com/containers/local-dev/ https://emily-containers-restructure.preview.developers.cloudflare.com/containers/local-dev/
https://developers.cloudflare.com/containers/get-started/ https://emily-containers-restructure.preview.developers.cloudflare.com/containers/get-started/
https://developers.cloudflare.com/containers/examples/cron/ https://emily-containers-restructure.preview.developers.cloudflare.com/containers/examples/cron/

@emily-shen emily-shen force-pushed the emily/containers-restructure branch 4 times, most recently from 58eb81c to 3ff3d87 Compare September 3, 2025 14:03
isolation from other workloads running on Cloudflare's network. Containers
should be built for the `linux/amd64` architecture, and should stay within
[size limits](/containers/platform-details/limits). [Logging](/containers/faq/#how-do-container-logs-work), metrics collection, and
networking are automatically set up on each container, if configured by the developer.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be nice linking to enableInternet here (for networking).

Comment on lines 97 to 98
cleanup to ensure a graceful shutdown in this time. The container instance
will be rebooted elsewhere shortly after this.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should say "restarted elsewhere" instead of "rebooted elsewhere". But even then this is not always the case, right? Sometimes a container shuts down, but doesn't get restarted somewhere else (e.g. when downscaling).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i've done a lot of shuffling around, that probably made more sense in its original context. will remove here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually, if say, max_instances was 2 and i only had 1 instance running (ie not downscalling), and the container had to shutdown for some reason, would it restart even if there was no new DO activity?

@emily-shen emily-shen force-pushed the emily/containers-restructure branch 2 times, most recently from d666e7e to 99fa4cd Compare September 11, 2025 16:08
@emily-shen emily-shen marked this pull request as ready for review September 11, 2025 16:09
@emily-shen emily-shen changed the title Restructure containers docs (draft) Restructure containers docs Sep 22, 2025
@emily-shen emily-shen force-pushed the emily/containers-restructure branch from 99fa4cd to 0295f3e Compare September 22, 2025 11:05
@emily-shen emily-shen enabled auto-merge (squash) September 22, 2025 15:48
@emily-shen emily-shen merged commit ab8a17e into production Sep 22, 2025
8 checks passed
@emily-shen emily-shen deleted the emily/containers-restructure branch September 22, 2025 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.