Skip to content
/ kpause Public

scale namespaces to 0 and back to original scales

Notifications You must be signed in to change notification settings

stelb/kpause

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

kpause

A shell script, to temporarily scale down namespaces and scale back as set before. E.g. to avoid restarting pods when the whole cluster will be shut down.

Usage

Usage:
         Pause:
         kpause [-n namespaces] [-v]
         Resume:
         kpause -r [-n namespaces] [-a] [-v]

-h --help         print help
-n --namespaces   operate on comma/space separated namespcaes, otheriwse only configured default namespace
-v --verbose      debugging output
-a --all          all namespaces, only valid for resume
-r --resume       resume pods with previous scale

About

scale namespaces to 0 and back to original scales

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages