Skip to content
isavcicPublic

About

komeon: Kubernetes InitContainer that waits until wanted Labels are found among the running, depended-on Pods

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

komeon

komeon: Kubernetes InitContainer that waits until wanted Labels are found among the running, dependent Pods

Usage

The Labels are specified via an environment variable POD_LABELS in the following format:

POD_LABELS="app=foo,bar=baz;app=quux,waldo=fred"

In the above example, two sets of Labels are specified and both sets must be found among the running Pods for the InitContainer to exit with code 0, thus successfully initializing the Pod.

Labels are scanned every 2s.

Alternatives

komeon was inspired by Yogesh Lonkar's InitContainer implementation and can serve as a simplified, yet extended drop-in replacement, as komeon supports Label sets separated by a semicolon.

About

komeon: Kubernetes InitContainer that waits until wanted Labels are found among the running, depended-on Pods

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages