Skip to content

shiftstack/prune

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prune stale OpenShift resources in OpenStack

List resources older than a threshold.

Ignores resources tagged with: shiftstack-prune=keep.

Use

Dry run:

export OS_CLOUD=<clouds.yaml entry>
./prune

Actual run:

export OS_CLOUD=<clouds.yaml entry>
./prune --no-dry-run

Configure the resoruce TTL with --resource-ttl=<duration> where <duration> is expressed as a Go duration. For example:

export OS_CLOUD=<clouds.yaml entry>
./prune --no-dry-run --resource-ttl=5h

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published