Skip to content

Script to improve image pruning from Openshift nodes

Notifications You must be signed in to change notification settings

evalero/OpenshiftPruner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

OpenshiftImageRemover

Script to improve image pruning from Openshift nodes

How it works

pruneimages.sh perform the pruning of etcd objects from openshift master nodes. Then erase all docker containers that aren't running on node that the scrip has been launched and erase all images that are not attached to a container.

You should use a imageWhitelist.out file in same directory as script to inject image names that you don't want to be erased imageWhitelist.out should contain one line per image.

I.E.

openshift3/ose-pod

openshift3/ose-docker-builder

openshift3/ose-sti-builder

openshift3/ose-docker-registry

openshift3/ose-recycler

openshift3/ose-keepalived-ipfailover

About

Script to improve image pruning from Openshift nodes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages