Notes
Agile
Agile is the idea underneath. Deliver working software in small, frequent steps, get feedback early, and change the plan as you learn, instead of planning everything for a year and delivering at the end. It comes from the Agile Manifesto, written in two thousand one. DevOps grew out of the same thinking, and extended it from writing software to running it.
- deliver working software in small, frequent steps
- get feedback early
- change the plan as you learn
- people and collaboration over heavy process
- from the Agile Manifesto, 2001
The backlog
Work lives in a backlog: one ordered list of everything the team could do. Items are written as stories when they describe a user need, like, as a developer I can create a staging environment with one click. There are also plain tasks, bugs, and technical debt, the work that keeps systems healthy. The most valuable items sit at the top, and the order is revisited often.
- story: a user need "as a developer I can create a staging env in one click"
- task: a piece of work
- bug: something broken
- tech debt: work to keep things healthy
- top = most valuable now
Scrum
Scrum organises work in sprints of one or two weeks. At sprint planning the team picks a goal and the backlog items that serve it. A short daily stand-up surfaces blockers. At the end, a review shows what is done, and a retrospective asks how to work better. Scrum names three roles: a product owner who orders the backlog, a scrum master who helps the process, and the developers. Many product teams you support will work this way.
- sprint: 1 to 2 weeks
- planning: pick a goal and the items for it
- daily stand-up: 15 minutes, blockers first
- review: show what is done
- retrospective: improve how the team works
- roles: product owner, scrum master, developers
Kanban
Kanban is simpler. Work moves across a board, from to do, to doing, to done. The key rule is a limit on work in progress: the doing column may hold, say, three items, and new work is pulled in only when one finishes. There are no fixed sprints. Limiting work in progress sounds slow, but it makes work finish faster, because people stop juggling ten half-done things.
TO DO DOING (WIP 3) DONE upgrade rotate certs alerts k8s fix CI cache tuned new VPC access request ... pull work only when a column has room no fixed sprints
Why ops likes Kanban
This is why many operations and SRE teams prefer Kanban. An outage cannot wait two weeks for the next sprint planning, and requests arrive every day. Kanban boards usually have an expedite lane for truly urgent items, which are pulled in immediately. Other teams keep Scrum but reserve part of each sprint for unplanned work. Both work; what fails is pretending interrupts will not come.
- an incident cannot wait two weeks for sprint planning
- requests arrive every day
- Kanban: an expedite lane for urgent items, pulled now
- many ops and SRE teams run Kanban, or Scrum with reserved capacity
Protect planned work
Good teams protect planned work. One person each week takes the interrupt duty: tickets, questions and small requests, so the rest of the team can focus. On-call is planned the same way. Interrupts are counted by type, and the most common ones are automated away, for example letting developers create their own test environments. This is exactly what SREs mean by reducing toil.
- interrupt rotation: one person per week handles tickets and questions
- on-call separate from the project work
- track interrupts: how many, which kind
- automate the most common requests away
Flow metrics
Kanban teams measure flow with a few numbers. Lead time runs from when a request is created to when it is done. Cycle time runs from when work actually starts to done. Throughput is how many items finish per week, and work in progress is how many are open right now. Too much work in progress almost always means long cycle times. Note that this lead time is different from DORA's change lead time, which runs from commit to production.
- lead time: request created to done
- cycle time: work started to done
- throughput: items finished per week
- WIP: items in progress now
- too much WIP = long cycle times
Which to choose
Which should you choose? Mostly planned project work with a clear goal suits Scrum. Mostly incoming, varied work suits Kanban. Most DevOps teams have a mix, and do well with Kanban plus work-in-progress limits and a weekly planning review, or Scrum with capacity reserved for interrupts. Whatever you pick, keep the retrospective. A team that never stops to improve how it works stays stuck.
- mostly planned project work with a clear goal → Scrum
- mostly incoming, varied work → Kanban
- a mix → Kanban with WIP limits and a weekly review, or Scrum with reserved capacity
- keep the retrospective either way
Common mistakes
Mistakes. Sprints planned as if no interrupts will come. No work-in-progress limit, so everything is in progress and nothing finishes. Everyone answering every ticket, so nobody focuses. Interrupts that are never counted, so they never get automated. Stand-ups that become status reports for a manager. And skipping retrospectives.
- sprints that ignore interrupts
- no WIP limit: everything is "in progress"
- everyone answering every ticket
- tickets nobody counts
- stand-ups as status reports
- skipping retrospectives
Say it like this
In the interview: we use Kanban with a work-in-progress limit and an expedite lane for urgent work. One person each week handles interrupts, so the rest of the team stays focused on project work. We count incoming requests by type and automate the most common ones away, and we review our flow and process every week in a short retrospective.
- "We run Kanban with a WIP
- limit and an expedite lane.
- One person a week takes
- interrupts, so the others keep
- project focus. We count requests
- by type and automate the top
- ones, and review flow and process every week."