capacity-planning

Solid

Forecast infrastructure capacity needs — traffic projection, resource headroom calculations, node pool sizing, K8s cluster capacity.

DevOps & Infrastructure 14 stars 3 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
39
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Skill: Capacity Planning > **Expertise:** Traffic forecasting, per-pod resource modeling, node pool sizing, cluster capacity headroom, VPA/HPA tuning for growth. ## When to load When planning for growth, validating current cluster headroom, sizing node pools, or preparing for a high-traffic event (sale, launch). ## Traffic Forecasting ```promql # Current RPS baseline (7-day average) avg_over_time( sum(rate(http_requests_total{service="checkout-service"}[5m]))[7d:5m] ) # Peak RPS (7-day p99) quantile_over_time(0.99, sum(rate(http_requests_total{service="checkout-service"}[5m]))[7d:5m] ) # Week-over-week growth rate ( avg_over_time(sum(rate(http_requests_total[5m]))[7d:5m]) / avg_over_time(sum(rate(http_requests_total[5m]))[7d:5m] offset 7d) ) - 1 # e.g. 0.08 = 8% weekly growth → ~3.5× in 6 months ``` ## Per-Pod Resource Modeling ``` Model: what resources does 1 pod consume per RPS unit? Step 1: current pod metrics - pods = 4 (HPA current) - RPS = 200 req/s (avg) - CPU per pod = 320m (avg), 480m (p99) - Memory per pod = 280Mi (avg), 380Mi (peak) Step 2: per-RPS resource cost - CPU per RPS = 320m / (200/4) = 6.4m CPU per RPS - Mem per RPS = 280Mi / (200/4) = 5.6Mi per RPS Step 3: future requirements at 2× traffic (400 RPS) - CPU needed = 400 × 6.4m = 2560m = 2.56 cores - Mem needed = 400 × 5.6Mi = 2240Mi ≈ 2.2Gi - Pods needed (at 70% CPU target) = 2560m / (500m × 0.7) = 7.3 → 8 pods min - Update HPA maxReplicas to accommodate ``` ## C...

Details

Author
sawrus
Repository
sawrus/agent-guides
Created
3 months ago
Last Updated
3 days ago
Language
Shell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

DevOps & Infrastructure Solid

capacity-planning

Produce a capacity planning document for a service covering traffic forecasts, resource requirements, and scaling strategy. Use when asked to plan infrastructure capacity, forecast resource needs, model traffic growth, define scaling strategy, or produce a capacity review for a service. Produces a structured capacity plan covering current baseline metrics, growth projections, resource requirements per tier, scaling strategy, cost projections, capacity triggers, and an infrastructure action roadmap.

915 Updated 3 days ago
mohitagw15856
AI & Automation Featured

capacity-planner

Use when an ops leader (Director of CX, Head of Support, VP Ops, Head of BizOps, Head of IT ops, Head of Finance ops) is sizing ops capacity, building a headcount plan, modeling utilization risk, planning Q3 capacity or annual support capacity, or designing CS coverage — and needs Erlang-C queueing math, P90 demand sizing, shrinkage-adjusted FTE, manager-trigger thresholds, and a quarterly hiring sequence with ramp + attrition. Apply when sustained team utilization is above 80% or when the team is growing >50% in 12 months. Run before committing the headcount budget. This is NOT engineering capacity (see vpe-advisor for DORA + cycle time) and NOT strategic 3-year workforce planning (see chro-advisor).

16,642 Updated yesterday
alirezarezvani
AI & Automation Listed

openstack-capacity

OpenStack capacity planning operations skill for resource planning, quota management, and scaling decisions. Covers compute capacity (allocation ratios, vCPU/RAM utilization, host aggregates, availability zones), storage capacity (Cinder pool sizing, thin provisioning, Glance storage, Swift rings), network capacity (floating IP pools, port quotas, subnet sizing), project quota management (templates for small/medium/large profiles), flavor sizing strategy, utilization analysis with placement service, growth forecasting from historical metrics, and right-sizing recommendations for underutilized resources.

62 Updated today
Tibsfox
AI & Automation Solid

resource-tuning

Right-size pod resources, configure HPA/VPA/KEDA, and eliminate resource waste in Kubernetes.

14 Updated 3 days ago
sawrus
AI & Automation Solid

capacity-planner

Capacity requirements planning skill with demand-capacity analysis and strategic capacity decisions.

1,034 Updated today
a5c-ai