Skip to content

A CLI tool to scale Kubernetes deployments down and back up

License

Notifications You must be signed in to change notification settings

jtekt/kloroform

Repository files navigation

Kloroform

A CLI tool written in Go that allows to scale down all or up all deployments and statefulsets in a Kubernetes cluster

This code is based on this sample

Usage

Kloroform can be used to either scale deployments and statefulsets down or back up

Scaling down

To scale down all deployments and statefulsets in a cluster:

./kloroform

For specific namespaces:

./kloroform -namespaces=mynamespace,myothernamespace

To ignore namespaces:

./kloroform -exceptions=my-namespace,my-other-namespace

Specifying kubeconfig path:

./kloroform -kubeconfig=/home/myuser/.kube/config

Scaling back up

To scale back up all deployments and statefulsets in a cluster:

./kloroform -wake

Specifying namespaces and kubeconfig follows the same pattern as for scaling down

Development

To build executables for windows and linux:

bash build.sh

About

A CLI tool to scale Kubernetes deployments down and back up

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •