Interview Prep/DevOps Fundamentals/Deployment strategies

What are feature flags?

BeginnerConceptDeployment strategies
Answer

A feature flag is a switch in the code that turns a feature on or off without a new deployment.

Example: a new checkout page is deployed but hidden. You turn it on for internal staff first, then 10% of users, then everyone. If it causes problems, you turn the flag off in seconds.

Feature flags separate deploying code from releasing features.

All DevOps Fundamentals questions Roadmap: What is DevOps

More on Deployment strategies