[Reference Architecture]: Rolling updates for a persistent cloud browser
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 57/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- cloud, kubernetes, postgresql
- Ambito
- documentation
Direzione di ricerca
This is a proposed architecture write-up; the payload names no repository files or tests. Start by checking the repository’s existing reference architecture submissions and the contribution guidance, then shape the material into a component diagram and a checklist for testing new connections, transport reconnection, and browser profile restoration with disposable Chrome sessions. Done means the three outcomes are independently testable and the bounded production and synthetic results are described accurately.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Organization or Team Name
Cloudbrowser
Organization Website
Contact
Cloudbrowser engineering team (via this issue)
Contact Email
No response
Organization Size
No response
Target User Base Size
No response
Industries
Developer tools, browser automation
Tags
kubernetes, browser automation, websocket, rolling updates
Relevant CNCF Projects
Kubernetes | | | | Runs the application and browser connection gateways on DigitalOcean Kubernetes. The browser processes run separately in Cloudflare Sandboxes.
Describe your organisation
Cloudbrowser provides persistent Chrome desktops for AI agents and browser automation. Tools can attach to a running browser over CDP. An authorized person can watch or operate the same browser through Live View.
Describe your entity and/or team
No response
Brief overview of your architecture and any potential goals you are trying to achieve with it?
How do you roll out the web application when its users hold long-lived browser connections? Cloudbrowser runs two application replicas on Kubernetes and runs each Chrome desktop separately in a Cloudflare Sandbox. The application authenticates requests and routes CDP and desktop connections. PostgreSQL coordinates lifecycle operations across the application replicas, and private R2 backups carry Chrome profiles across browser pauses and image upgrades. The architecture separates three outcomes that can be tested independently: accepting a new connection, reconnecting a transport that was interrupted by an application rollout, and restoring the saved browser profile after a browser pause. Public CDP connection guide
Can you expand on why you are using those projects/services?
Kubernetes manages application availability during rollout. The Deployment uses readiness checks, two replicas, maxUnavailable=0, and maxSurge=1. A pre-stop delay gives the ingress time to remove the outgoing pod. Chrome lifecycle and profile storage stay outside the pod. This lets the connection clients reattach when an application pod is replaced.
What has worked well?
One November production rollout returned HTTP 200 on all 90 sampled health requests. A separate synthetic browser test completed two pause/resume cycles, reconnected through the original CDP URL, retained a test cookie, and received desktop pixels. These were bounded checks of specific paths.
What has not worked well?
Existing WebSocket streams can close when an application pod exits. A separate rollout sample returned 89 successful health responses and one client timeout whose cause was undetermined. Health probes alone cannot measure stream continuity. Browser resume and transport reconnection also need their own checks.
What sort of "glue" have you had to develop to enable usage of your architecture?
The application serializes lifecycle operations in PostgreSQL and associates each live connection with one browser runtime generation. Clients reconnect through their existing authorized link when the transport drops. The browser runtime waits for Chrome to exit before saving its profile. During an image upgrade the restore path can use the portable R2 backup. Pause and resume behavior
Has your architecture evolved? What lessons did you learn from previous iterations?
The application originally used one Kubernetes replica with a Recreate deployment strategy. The rollout moved to two application replicas with readiness gating and connection draining. A browser's own lifecycle remains separate from rolling application releases. The main lesson was to verify connection recovery and profile recovery separately.
What's next for your architecture? What are you looking to do next?
For review, the proposed write-up can include a high-level component diagram and a checklist for testing these three paths using disposable Chrome sessions. The submission comes from the Cloudbrowser product team, with AI assistance in drafting.
- Lingua principale
- JavaScript
- Stelle
- 0
- Fork
- 10
- Merge medio
- 1g 12h
- PR unite (30g)
- 37
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di cncf/endusers
-
architecture-submission stage/010-actionable
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
dependency-audit stage/010-actionable stage/stalled
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
cncf/endusers#2142 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[Reference Architecture: ] Agentic RAG on Kubeflow — Implementation Deep DiveForse già presa @castrojo l’ha presa 25 giorni fa. Apertastage/040-covered-by-pr
cncf/endusers#2114 · 2 commenti · 4 reazioni · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[quality] Image alt text is double-escaped: /architectures/swisscom-kubernetes-service reads "CNIP & SKP"Forse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertaagent/quality blocked testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 28/100
cncf/endusers#2084 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
🐝 Hive Advisory ReportForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertahive/advisory
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
cncf/endusers#23 · 14 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di cncf/endusers
Issue simili
-
area: api area: auth area: backend area: security bug cookies difficulty: easy dogfood error-handling good first issue needs-triage priority: P1 reliability security session tech: cloudflare-workers tech: javascript
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
priority: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
lapanti/lavanti.fi#1753 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
githubnext/gh-aw-workshop#6506 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
swc-project/swc-next-issues#1240 ·