Production readiness
Before your first production deployment
A practical checklist for the application, the environment and the team that will operate them.
On this page6 sections
Define the smallest complete application
Start with a real user journey. List the services needed to complete it: the frontend, API, workers, database and any external dependencies. Record which services need to reach each other and which need a public endpoint.
For each service, identify the source repository, build method, start command, listening port and required configuration. A successful build is useful evidence, but it does not prove that the application can serve a request.
- Gate: Serves a requestDefine the appServices, ports, config.
- Gate: Secrets listedName the envAccount, region, owner.
- Gate: Alert has a responderDefine healthyChecks, signals, on-call.
- Gate: Restore timedRehearse recoveryRollback and restore.
- Set a cost boundaryBaseline, limits, reviewer.
Make the environment explicit
Choose the account and region with the people responsible for the application and its data. Give the environment an owner and a clear name. Keep staging and production configuration separate, including credentials for third-party services.
- Record where persistent data lives.
- List the secrets each component needs.
- Decide which endpoints should be public.
- Identify who can deploy and who can change infrastructure.
The docs describe how environments and environment types work in Kapten, and which roles control who can deploy.
- Frontend connects to API (calls).
- API connects to Worker (jobs).
- Worker connects to Postgres.
- Worker connects to Object storage.
Kapten deploys to Kubernetes clusters you own: connect a cluster with a kubeconfig and Kapten installs its agent, with an ingress gateway, cert-manager for TLS and log and metric collectors. A common setup is one cluster for production and one shared by development and staging.
Decide what healthy means
Choose a health check that reflects whether a service can handle work. Identify a small set of useful signals: request errors, latency, worker failures or queue backlog, depending on the application.
Make sure someone can find the relevant deployment and application logs. Define who investigates an alert and how they reach the rest of the team. A dashboard is useful when it supports an agreed response.
Rehearse recovery
Write down how to restore a previous application version and how database changes affect that plan. An image rollback does not automatically undo a schema migration or recover deleted data.
| Check | Frontend | API | Worker | Postgres |
|---|---|---|---|---|
| Health check reflects real work | Yes | Yes | Partial | Yes |
| Logs findable by someone else | Yes | Yes | Yes | Partial |
| Secrets listed per environment | Yes | Yes | No | Yes |
| Rollback path written downIncluding schema changes | Yes | Partial | Yes | No |
| Restore tested | n/a | n/a | n/a | No |
Agree a backup policy with the data owner, then test a restore in a separate environment. Record what was recovered and how long it took. Use that evidence to decide whether the recovery plan meets the needs of the product.
Set a cost boundary
Estimate the baseline resources your application needs, including storage and network usage. Define who reviews the cloud bill and what happens if spend rises unexpectedly.
Set capacity limits with expected traffic in mind: in Kapten, each application has CPU and memory requests and limits and a minimum and maximum number of instances (see Resources). Include staging and unused test environments in the review; infrastructure outside production still has an owner and a cost.
Try it on a real setup
You are ready when you can name the application shape, target account, region, data dependencies and operating constraints. The quickstart walks through connecting a cluster and deploying a first service; request early access if you do not have an account yet. Keep credentials out of the request form.
Build with Kapten
Start with one service.
Build from there.
Tell us what you want to deploy. We review each request and follow up about fit and onboarding on your preferred cloud.
Free during early access. No card required. Cloud usage billed separately.