Skip to content
This repository was archived by the owner on Jan 24, 2026. It is now read-only.
/ kpause Public archive

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

5 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.

Archived now

I wouldn't implement it that way if at all nowadays ;D

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