Orchestrating observability and infrastructure as code
Hands-on guides for deploying a database on Kubernetes with Pulumi and monitoring it with Prometheus, Grafana, OpenTelemetry and Coroot.
- Company
- FerretDB
- Role
- Senior Technical Writer
- When
- 2022 to 2025
Runnable guides that take a developer from an empty cluster to a deployed, monitored database.
Most of us have followed a tutorial that stopped working halfway through: a missing install step, a value in a config file nobody mentioned, a step that assumed something the reader didn’t have.
How I approach it
I try to run everything I document. These guides were built in working environments, step by step, so the steps on the page match what actually happened.
Infrastructure as code
Deploying FerretDB on Kubernetes with Pulumi walks through infrastructure as code, from an empty cluster to a running database, with PostgreSQL as the backend.
Observability
Once something is running, the next question is whether it’s healthy. I wrote guides covering the observability stack:
- Prometheus for collecting metrics.
- Grafana for dashboards on top of them.
- OpenTelemetry for instrumentation and traces.
- Coroot for monitoring database performance with less setup.
Why it matters
A tutorial is a small promise: follow these steps and you’ll get this result. Keeping that promise is one of the most useful things documentation can do for a developer’s time.