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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kloroform

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

This code is based on this sample

Usage

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

Scaling down

To scale down all deployments 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 in a cluster:

./kloroform -wake

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

About

A CLI tool to scale Kubernetes deployments down and back up

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages