Skip to content

15.3 Autoscaling and Resilience

Sprint: Sprint 15 - Deployment
Feature ID: 15.3
Subtasks: 15.3.1, 15.3.2

Objective

Deliver "Autoscaling and Resilience" within Sprint 15 - Deployment.

Dependencies

Aggregated from the subtasks below (prerequisite task IDs and enablers):

  • 15.2.1

Subtasks

15.3.1 Horizontal Pod Autoscalers

  • ID: 15.3.1
  • Title: Configure HPA for stateless services
  • Description: HPA manifests scaling services on CPU/throughput targets, validating the stateless, horizontally scalable design (NFR-03).
  • Business Purpose: Elastic capacity under load (NFR-03).
  • Inputs: NFR-03, analysis Section 5.
  • Outputs: HPA manifests.
  • Acceptance Criteria:
  • Under synthetic load a service scales out and back in per its HPA policy.
  • Dependencies: 15.2.1
  • Complexity: M

15.3.2 Pod disruption budgets and readiness gating

  • ID: 15.3.2
  • Title: Add PDBs and rollout readiness gating
  • Description: PodDisruptionBudgets and rollout strategies (maxUnavailable/maxSurge) preserving availability during deploys, supporting the 99.5% uptime objective (NFR-04).
  • Business Purpose: Maintain availability during disruptions and rollouts (NFR-04).
  • Inputs: NFR-04.
  • Outputs: PDB + rollout config.
  • Acceptance Criteria:
  • A rolling deploy keeps the service available (no full outage) and respects the PDB.
  • Dependencies: 15.2.1
  • Complexity: S

Acceptance Criteria

Each subtask above carries its own objective, testable acceptance criteria. This feature is complete when every subtask's acceptance criteria are met.

Deliverables

  • HPA manifests.
  • PDB + rollout config.

Definition of Done

  • All subtasks (15.3.1, 15.3.2) completed and their acceptance criteria verified.
  • All listed dependencies satisfied.
  • Build and tests green per the global conventions in ../README.md (Section 3).