| ... | ... |
@@ -1931,6 +1931,7 @@ _oadm_prune_images() |
| 1931 | 1931 |
flags+=("--confirm")
|
| 1932 | 1932 |
flags+=("--keep-tag-revisions=")
|
| 1933 | 1933 |
flags+=("--keep-younger-than=")
|
| 1934 |
+ flags+=("--prune-over-size-limit")
|
|
| 1934 | 1935 |
flags+=("--registry-url=")
|
| 1935 | 1936 |
flags+=("--api-version=")
|
| 1936 | 1937 |
flags+=("--as=")
|
| ... | ... |
@@ -5622,6 +5622,7 @@ _oc_adm_prune_images() |
| 5622 | 5622 |
flags+=("--confirm")
|
| 5623 | 5623 |
flags+=("--keep-tag-revisions=")
|
| 5624 | 5624 |
flags+=("--keep-younger-than=")
|
| 5625 |
+ flags+=("--prune-over-size-limit")
|
|
| 5625 | 5626 |
flags+=("--registry-url=")
|
| 5626 | 5627 |
flags+=("--api-version=")
|
| 5627 | 5628 |
flags+=("--as=")
|
| ... | ... |
@@ -2749,6 +2749,7 @@ _openshift_admin_prune_images() |
| 2749 | 2749 |
flags+=("--confirm")
|
| 2750 | 2750 |
flags+=("--keep-tag-revisions=")
|
| 2751 | 2751 |
flags+=("--keep-younger-than=")
|
| 2752 |
+ flags+=("--prune-over-size-limit")
|
|
| 2752 | 2753 |
flags+=("--registry-url=")
|
| 2753 | 2754 |
flags+=("--api-version=")
|
| 2754 | 2755 |
flags+=("--as=")
|
| ... | ... |
@@ -9765,6 +9766,7 @@ _openshift_cli_adm_prune_images() |
| 9765 | 9765 |
flags+=("--confirm")
|
| 9766 | 9766 |
flags+=("--keep-tag-revisions=")
|
| 9767 | 9767 |
flags+=("--keep-younger-than=")
|
| 9768 |
+ flags+=("--prune-over-size-limit")
|
|
| 9768 | 9769 |
flags+=("--registry-url=")
|
| 9769 | 9770 |
flags+=("--api-version=")
|
| 9770 | 9771 |
flags+=("--as=")
|
| ... | ... |
@@ -2092,6 +2092,7 @@ _oadm_prune_images() |
| 2092 | 2092 |
flags+=("--confirm")
|
| 2093 | 2093 |
flags+=("--keep-tag-revisions=")
|
| 2094 | 2094 |
flags+=("--keep-younger-than=")
|
| 2095 |
+ flags+=("--prune-over-size-limit")
|
|
| 2095 | 2096 |
flags+=("--registry-url=")
|
| 2096 | 2097 |
flags+=("--api-version=")
|
| 2097 | 2098 |
flags+=("--as=")
|
| ... | ... |
@@ -5783,6 +5783,7 @@ _oc_adm_prune_images() |
| 5783 | 5783 |
flags+=("--confirm")
|
| 5784 | 5784 |
flags+=("--keep-tag-revisions=")
|
| 5785 | 5785 |
flags+=("--keep-younger-than=")
|
| 5786 |
+ flags+=("--prune-over-size-limit")
|
|
| 5786 | 5787 |
flags+=("--registry-url=")
|
| 5787 | 5788 |
flags+=("--api-version=")
|
| 5788 | 5789 |
flags+=("--as=")
|
| ... | ... |
@@ -2910,6 +2910,7 @@ _openshift_admin_prune_images() |
| 2910 | 2910 |
flags+=("--confirm")
|
| 2911 | 2911 |
flags+=("--keep-tag-revisions=")
|
| 2912 | 2912 |
flags+=("--keep-younger-than=")
|
| 2913 |
+ flags+=("--prune-over-size-limit")
|
|
| 2913 | 2914 |
flags+=("--registry-url=")
|
| 2914 | 2915 |
flags+=("--api-version=")
|
| 2915 | 2916 |
flags+=("--as=")
|
| ... | ... |
@@ -9926,6 +9927,7 @@ _openshift_cli_adm_prune_images() |
| 9926 | 9926 |
flags+=("--confirm")
|
| 9927 | 9927 |
flags+=("--keep-tag-revisions=")
|
| 9928 | 9928 |
flags+=("--keep-younger-than=")
|
| 9929 |
+ flags+=("--prune-over-size-limit")
|
|
| 9929 | 9930 |
flags+=("--registry-url=")
|
| 9930 | 9931 |
flags+=("--api-version=")
|
| 9931 | 9932 |
flags+=("--as=")
|
| ... | ... |
@@ -523,6 +523,13 @@ Remove unreferenced images |
| 523 | 523 |
|
| 524 | 524 |
# To actually perform the prune operation, the confirm flag must be appended |
| 525 | 525 |
oadm prune images --keep-tag-revisions=3 --keep-younger-than=60m --confirm |
| 526 |
+ |
|
| 527 |
+ # See, what the prune command would delete if we're interested in removing images |
|
| 528 |
+ # exceeding currently set LimitRanges ('openshift.io/Image')
|
|
| 529 |
+ oadm prune images --prune-over-size-limit |
|
| 530 |
+ |
|
| 531 |
+ # To actually perform the prune operation, the confirm flag must be appended |
|
| 532 |
+ oadm prune images --prune-over-size-limit --confirm |
|
| 526 | 533 |
---- |
| 527 | 534 |
==== |
| 528 | 535 |
|
| ... | ... |
@@ -523,6 +523,13 @@ Remove unreferenced images |
| 523 | 523 |
|
| 524 | 524 |
# To actually perform the prune operation, the confirm flag must be appended |
| 525 | 525 |
oc adm prune images --keep-tag-revisions=3 --keep-younger-than=60m --confirm |
| 526 |
+ |
|
| 527 |
+ # See, what the prune command would delete if we're interested in removing images |
|
| 528 |
+ # exceeding currently set LimitRanges ('openshift.io/Image')
|
|
| 529 |
+ oc adm prune images --prune-over-size-limit |
|
| 530 |
+ |
|
| 531 |
+ # To actually perform the prune operation, the confirm flag must be appended |
|
| 532 |
+ oc adm prune images --prune-over-size-limit --confirm |
|
| 526 | 533 |
---- |
| 527 | 534 |
==== |
| 528 | 535 |
|
| ... | ... |
@@ -42,6 +42,10 @@ images. |
| 42 | 42 |
Specify the minimum age of an image for it to be considered a candidate for pruning. |
| 43 | 43 |
|
| 44 | 44 |
.PP |
| 45 |
+\fB\-\-prune\-over\-size\-limit\fP=false |
|
| 46 |
+ Specify if images which are exceeding LimitRanges (see 'openshift.io/Image'), specified in the same namespace, should be considered for pruning. This flag cannot be combined with \-\-keep\-younger\-than nor \-\-keep\-tag\-revisions. |
|
| 47 |
+ |
|
| 48 |
+.PP |
|
| 45 | 49 |
\fB\-\-registry\-url\fP="" |
| 46 | 50 |
The address to use when contacting the registry, instead of using the default value. This is useful if you can't resolve or reach the registry (e.g.; the default is a cluster\-internal URL) but you do have an alternative route that works. |
| 47 | 51 |
|
| ... | ... |
@@ -120,6 +124,13 @@ images. |
| 120 | 120 |
# To actually perform the prune operation, the confirm flag must be appended |
| 121 | 121 |
oadm prune images \-\-keep\-tag\-revisions=3 \-\-keep\-younger\-than=60m \-\-confirm |
| 122 | 122 |
|
| 123 |
+ # See, what the prune command would delete if we're interested in removing images |
|
| 124 |
+ # exceeding currently set LimitRanges ('openshift.io/Image')
|
|
| 125 |
+ oadm prune images \-\-prune\-over\-size\-limit |
|
| 126 |
+ |
|
| 127 |
+ # To actually perform the prune operation, the confirm flag must be appended |
|
| 128 |
+ oadm prune images \-\-prune\-over\-size\-limit \-\-confirm |
|
| 129 |
+ |
|
| 123 | 130 |
.fi |
| 124 | 131 |
.RE |
| 125 | 132 |
|
| ... | ... |
@@ -42,6 +42,10 @@ images. |
| 42 | 42 |
Specify the minimum age of an image for it to be considered a candidate for pruning. |
| 43 | 43 |
|
| 44 | 44 |
.PP |
| 45 |
+\fB\-\-prune\-over\-size\-limit\fP=false |
|
| 46 |
+ Specify if images which are exceeding LimitRanges (see 'openshift.io/Image'), specified in the same namespace, should be considered for pruning. This flag cannot be combined with \-\-keep\-younger\-than nor \-\-keep\-tag\-revisions. |
|
| 47 |
+ |
|
| 48 |
+.PP |
|
| 45 | 49 |
\fB\-\-registry\-url\fP="" |
| 46 | 50 |
The address to use when contacting the registry, instead of using the default value. This is useful if you can't resolve or reach the registry (e.g.; the default is a cluster\-internal URL) but you do have an alternative route that works. |
| 47 | 51 |
|
| ... | ... |
@@ -120,6 +124,13 @@ images. |
| 120 | 120 |
# To actually perform the prune operation, the confirm flag must be appended |
| 121 | 121 |
oc adm prune images \-\-keep\-tag\-revisions=3 \-\-keep\-younger\-than=60m \-\-confirm |
| 122 | 122 |
|
| 123 |
+ # See, what the prune command would delete if we're interested in removing images |
|
| 124 |
+ # exceeding currently set LimitRanges ('openshift.io/Image')
|
|
| 125 |
+ oc adm prune images \-\-prune\-over\-size\-limit |
|
| 126 |
+ |
|
| 127 |
+ # To actually perform the prune operation, the confirm flag must be appended |
|
| 128 |
+ oc adm prune images \-\-prune\-over\-size\-limit \-\-confirm |
|
| 129 |
+ |
|
| 123 | 130 |
.fi |
| 124 | 131 |
.RE |
| 125 | 132 |
|
| ... | ... |
@@ -42,6 +42,10 @@ images. |
| 42 | 42 |
Specify the minimum age of an image for it to be considered a candidate for pruning. |
| 43 | 43 |
|
| 44 | 44 |
.PP |
| 45 |
+\fB\-\-prune\-over\-size\-limit\fP=false |
|
| 46 |
+ Specify if images which are exceeding LimitRanges (see 'openshift.io/Image'), specified in the same namespace, should be considered for pruning. This flag cannot be combined with \-\-keep\-younger\-than nor \-\-keep\-tag\-revisions. |
|
| 47 |
+ |
|
| 48 |
+.PP |
|
| 45 | 49 |
\fB\-\-registry\-url\fP="" |
| 46 | 50 |
The address to use when contacting the registry, instead of using the default value. This is useful if you can't resolve or reach the registry (e.g.; the default is a cluster\-internal URL) but you do have an alternative route that works. |
| 47 | 51 |
|
| ... | ... |
@@ -120,6 +124,13 @@ images. |
| 120 | 120 |
# To actually perform the prune operation, the confirm flag must be appended |
| 121 | 121 |
openshift admin prune images \-\-keep\-tag\-revisions=3 \-\-keep\-younger\-than=60m \-\-confirm |
| 122 | 122 |
|
| 123 |
+ # See, what the prune command would delete if we're interested in removing images |
|
| 124 |
+ # exceeding currently set LimitRanges ('openshift.io/Image')
|
|
| 125 |
+ openshift admin prune images \-\-prune\-over\-size\-limit |
|
| 126 |
+ |
|
| 127 |
+ # To actually perform the prune operation, the confirm flag must be appended |
|
| 128 |
+ openshift admin prune images \-\-prune\-over\-size\-limit \-\-confirm |
|
| 129 |
+ |
|
| 123 | 130 |
.fi |
| 124 | 131 |
.RE |
| 125 | 132 |
|
| ... | ... |
@@ -42,6 +42,10 @@ images. |
| 42 | 42 |
Specify the minimum age of an image for it to be considered a candidate for pruning. |
| 43 | 43 |
|
| 44 | 44 |
.PP |
| 45 |
+\fB\-\-prune\-over\-size\-limit\fP=false |
|
| 46 |
+ Specify if images which are exceeding LimitRanges (see 'openshift.io/Image'), specified in the same namespace, should be considered for pruning. This flag cannot be combined with \-\-keep\-younger\-than nor \-\-keep\-tag\-revisions. |
|
| 47 |
+ |
|
| 48 |
+.PP |
|
| 45 | 49 |
\fB\-\-registry\-url\fP="" |
| 46 | 50 |
The address to use when contacting the registry, instead of using the default value. This is useful if you can't resolve or reach the registry (e.g.; the default is a cluster\-internal URL) but you do have an alternative route that works. |
| 47 | 51 |
|
| ... | ... |
@@ -120,6 +124,13 @@ images. |
| 120 | 120 |
# To actually perform the prune operation, the confirm flag must be appended |
| 121 | 121 |
openshift cli adm prune images \-\-keep\-tag\-revisions=3 \-\-keep\-younger\-than=60m \-\-confirm |
| 122 | 122 |
|
| 123 |
+ # See, what the prune command would delete if we're interested in removing images |
|
| 124 |
+ # exceeding currently set LimitRanges ('openshift.io/Image')
|
|
| 125 |
+ openshift cli adm prune images \-\-prune\-over\-size\-limit |
|
| 126 |
+ |
|
| 127 |
+ # To actually perform the prune operation, the confirm flag must be appended |
|
| 128 |
+ openshift cli adm prune images \-\-prune\-over\-size\-limit \-\-confirm |
|
| 129 |
+ |
|
| 123 | 130 |
.fi |
| 124 | 131 |
.RE |
| 125 | 132 |
|