Skip to content

FlomoN/koder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KODeR

Kubernetes Operator for Deployment Restarts

Problem

Sometimes your Deployments get stuck in an unavailable state, where only a restart helps (and a readiness or liveness probe doesn't). Or maybe you just want to restart an application in a regular interval.

Then KODeR may come to the rescue.

It simply tracks all deployments with koder annotations.

Installation

Use and modify the manifests in ./deploy to your needs. This will deploy KODeR and the necessary service account in a namespace koder.

Usage

There are two possible annotations that can be supplied to deployments:

  • koder/restart-time: A value indicating the interval to restart the application OR the checking interval to restart on unavailability (30s, 20m, 4h, 3d)
  • koder/restart-unavailable: Restart a container that wont start properly (stuck in unavailable, assuming a restart solves the problem) (true)

About

Kubernetes Operator for Deployment Restarts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages