CostWise: A Cost-Aware Predictive Autoscaling Framework for Kubernetes Workloads
CostWise is a research prototype for budget-constrained predictive autoscaling in Kubernetes. It combines short-horizon workload forecasting, reliability-aware fallback, and a cost-aware replica planner to examine how resource budgets affect simulated service performance. This preprint presents a simulation study using synthetic workloads. A compact LSTM forecasts request rates up to 30 seconds ahead. The evaluation reports a ten-seed benchmark and controlled comparisons with reactive planning, alternative forecasters, and component ablations. The reported results suggest that predictive planning can reduce simulated service-level objective violations on workloads with observable precursors. Restrictive budgets can worsen performance on bursty traffic. No paired comparison is statistically significant after Holm correction across 192 tests, which limits the conclusions supported by this study. The public repository contains the controller implementation, forecasting checkpoint, and original seed-42 simulation artifacts. Only the seed-42 runs are reproducible from the repository. Run-level outputs and extension code for the repeated study are unavailable, so Tables 2–6 cannot currently be reproduced. Source code and available artifacts (https://github.com/unaidabdullah-ui/costwise-predictive-kubernetes-autoscaler) This work provides an exploratory assessment of the trade-offs between forecasting, replica affordability, and service reliability. Validation with independent workload traces and live Kubernetes deployments remains future work. Version 1.0. This manuscript is a preprint and has not undergone formal peer review
Authors
- UNAID ABDULLAH UNAID (ORCID: https://orcid.org/0009-0002-1896-0985)
Institutions
- Visvesvaraya Technological University (IN)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-01
- DOI
- https://doi.org/10.5281/zenodo.24725615
- Primary Topic
- Cloud Computing and Resource Management
- Type
- preprint