Examples / Deployment diagrams
Web app on Kubernetes
A typical web app deployed on Kubernetes: ingress, web and worker deployments, a managed Postgres, Redis and object storage outside the cluster.
- Deployment diagram
- Kubernetes
- Postgres
- Redis
Open in Plotix
A copy you can edit, or ask the agent to change.
Plotix's agent drew it from this request
Draw a deployment diagram of a web app on a Kubernetes cluster: an ingress controller, a web deployment with three pods behind a service, a background worker deployment, a cron job, and outside the cluster a managed Postgres, Redis and S3-compatible object storage.
What's in it
- Users
- Ingress controller
- Web deployment
3 replicas (pods) · Port 8080 - Worker deployment
Consumes job queue - Cron job
Nightly schedule - Managed Postgres
- Redis
- S3-compatible object storage
- Web service
- Kubernetes cluster
How the parts connect
- Users → Ingress controller HTTPS requests
- Web deployment → Managed Postgres SQL queries
- Web deployment → Redis Cache reads and writes
- Web deployment → S3-compatible object storage Upload files
- Worker deployment → Redis Pull jobs
- Worker deployment → Managed Postgres Write job results
- Worker deployment → S3-compatible object storage Store generated files
- Cron job → Managed Postgres Nightly cleanup
- Ingress controller → Web service Route /
- Web service → Web deployment Load-balances to pods
More on deployment diagrams.
Related examples
Serverless API on AWSDeployment · Where a serverless web API runs on AWS: CloudFront and S3 for the site, API Gateway and L…
OAuth login with PKCESequence · How a single-page app signs a user in with OAuth 2.0 authorization code and PKCE, from th…
Stripe checkout and webhookFlow · The steps from a cart to a paid order with Stripe Checkout, including the webhook that co…