Skip to content

Deletes pods that use given storage class on HTTP request

License

Notifications You must be signed in to change notification settings

eaglesemanation/k8s-csi-restarter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k8s-csi-restarter

Deletes pods that use given storage class on HTTP request

Env var Required Example/Default Description
RESTARTER_BEARER_TOKEN password Password that needs to be present in Authentication header
RESTARTER_STORAGE_CLASS truenas-iscsi,truenas-nfs List of storage class names, separated by comma
RESTARTER_BIND_ADDRESS 0.0.0.0:8080 Address to which http server will bind
RESTARTER_DRY_RUN false Run dry run instead of actually deleting pods
RESTARTER_DELETE_UNCONTROLLED false Delete pods that don't have a controller (Deployment, DaemonSet, etc) as well
RUST_LOG warn Configures logging level. To get any kind of input set to info, if you want some details without too much noise, set to k8s_csi_restarter=debug

About

Deletes pods that use given storage class on HTTP request

Resources

License

Stars

Watchers

Forks