2019-02-07 15:36:58 -05:00
|
|
|
// Module included in the following assemblies:
|
|
|
|
|
//
|
2019-02-19 14:25:06 -05:00
|
|
|
// * applications/pruning-objects.adoc
|
2019-02-07 15:36:58 -05:00
|
|
|
|
2019-05-13 08:55:00 +10:00
|
|
|
[id="pruning-basic-operations_{context}"]
|
2019-02-07 15:36:58 -05:00
|
|
|
= Basic pruning operations
|
|
|
|
|
|
|
|
|
|
The CLI groups prune operations under a common parent command:
|
|
|
|
|
|
2020-08-06 14:09:31 +01:00
|
|
|
[source,terminal]
|
2019-02-07 15:36:58 -05:00
|
|
|
----
|
|
|
|
|
$ oc adm prune <object_type> <options>
|
|
|
|
|
----
|
|
|
|
|
|
|
|
|
|
This specifies:
|
|
|
|
|
|
|
|
|
|
- The `<object_type>` to perform the action on, such as `groups`, `builds`,
|
|
|
|
|
`deployments`, or `images`.
|
|
|
|
|
- The `<options>` supported to prune that object type.
|