What is the role of ephemeral preview environments and how do you keep their cost under control?
IntermediateProductionPipeline Design and Architecture
Answer
Per-PR environments (namespace per PR via Argo CD ApplicationSet pull-request generator, or Helm releases) let reviewers and QA test a change in isolation. Cost control: smaller resource requests, shared dependencies like one dev database with per-PR schema, TTL-based auto cleanup (delete on PR close plus a nightly reaper for anything older than 3 days), scheduled scale-down at night, and spot or low-cost node pools.
More on Pipeline Design and Architecture
What does a good production CI/CD pipeline look like end to end?BeginnerWhat is your target feedback time for CI and how do you hit it?IntermediateHow do you structure repositories: app repo, config repo, pipeline library?IntermediateHow do you design a pipeline for a monorepo with 50 services?AdvancedShould every merge to main deploy to production automatically?IntermediateHow do you keep pipeline definitions DRY across hundreds of repos?Intermediate