#pod #prometheus-metrics #k8s #spa #memory #autoscaler #requests

app k8s-spa

A Static Pod Autoscaler (SPA) for K8s, based on Prometheus metrics

2 unstable releases

0.2.0 May 12, 2020
0.1.0 Apr 27, 2020

#25 in #spa

Apache-2.0

21KB
350 lines

K8s Static Pod Autoscaler (SPA)

k8s-spa is a command line utility that will automatically calculate memory requests for your pods based on:

  1. real memory usage of your pods, based on Prometheus metrics
  2. your risk tolerance (the higher your risk, the lower the requests)

Installation

Install cargo via rustup.

cargo install k8s-spa

Usage

Documentation coming soon

Dependencies

~11–24MB
~344K SLoC