Skip to content

Pros and cons

Deployments automate rollouts and rollbacks for stateless services, at the cost of requiring readiness probes.

Pros

  • Rolling update without downtime when readinessProbe is correct.
  • Rollback in one command: kubectl rollout undo.
  • Declarative reconciliation applied continuously.
  • Horizontal scaling is trivial.
  • Revision history for audit via revisionHistoryLimit.

Cons

  • Not for stateful workloads: no stable Pod identity.
  • Without readinessProbe: traffic before the app is ready.
  • Not zero-downtime by default: depends on maxSurge and maxUnavailable.
  • Rollback does not revert data migrations.