Public | Automated Build

Last pushed: 21 hours ago
Short Description
Prune bulilds, deployments and images
Full Description

OpenShift Pruner

Keep your registry clean pruning builds, deployments and images.


This is a experimental image, it intents to remove objects from the cluster!, use at your own risk!!
For more information, please see the documentation

You can either use our image from dockerhub or build at your local machine:

To use our image:

 $ docker pull getupcloud/imagepruner:latest

To build the image:

  $ git clone
  $ cd imagepruner
  $ docker build -t imagepruner:latest .

This image expects you have a service account with cluster-admin privileges. Please for more information see the official documentation

Create Supporting ServiceAccounts

The image must run under a service account defined as follows:

  $ oc create -f - -n default <<EOF
  apiVersion: v1
  kind: ServiceAccount
    name: image-pruner
  - name: image-pruner

  $ oc policy add-role-to-user cluster-admin \

Note: change :default: above to match the project name.

##Schedule the pod:

  $ oc create -f image-pruner.yaml
Docker Pull Command
Source Repository