· 5 min read
JSON, YAML or TOML? Converting configuration without surprises
What changes when config moves between JSON, YAML and TOML: the Norway problem, version strings, octal numbers, nulls, comments and large integers — and how to fix each.
7 tools
Lift workloads off a single server: capture hand-run containers in Compose, turn Compose into Kubernetes manifests, reshape environment files for each platform, and re-home cron jobs.
Most migrations to a cloud platform follow the same path. First make the current setup reproducible: every docker run command becomes a Compose service, every setting an environment variable. Then translate that description into the target platform's objects — Deployments, Services, Secrets, scheduled jobs.
The parts that don't translate mechanically are the ones that relied on the server itself: files on its disk, the order things started in, its local time zone, and cron. The converters here call those out explicitly.
Environment files contain database passwords and API keys. Pasting them into an online converter that processes them on a server is a real risk. Everything on this site runs in your browser, and the pages work offline once loaded.
· 5 min read
What changes when config moves between JSON, YAML and TOML: the Norway problem, version strings, octal numbers, nulls, comments and large integers — and how to fix each.
· 5 min read
Moving Docker Compose to Kubernetes: Deployments and Services, depends_on, volumes, secrets, health checks, cron jobs — and the parts that need a redesign.