mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
24 lines
802 B
Plaintext
24 lines
802 B
Plaintext
|
|
// Module included in the following assemblies:
|
||
|
|
// * edge_computing/image-based-upgrade/cnf-image-based-upgrade-shared-container-partition
|
||
|
|
|
||
|
|
:_mod-docs-content-type: PROCEDURE
|
||
|
|
[id="ztp-image-based-upgrade-disable-container-storage-image-cleanup_{context}"]
|
||
|
|
= Disable the automatic image cleanup of the container storage disk
|
||
|
|
|
||
|
|
Disable the automatic image cleanup threshold.
|
||
|
|
|
||
|
|
.Procedure
|
||
|
|
|
||
|
|
. Disable the automatic image cleanup by running the following command:
|
||
|
|
+
|
||
|
|
[source,terminal]
|
||
|
|
----
|
||
|
|
$ oc -n openshift-lifecycle-agent annotate ibu upgrade image-cleanup.lca.openshift.io/on-prep='Disabled'
|
||
|
|
----
|
||
|
|
|
||
|
|
. (Optional) Enable automatic image cleanup again by running the following command:
|
||
|
|
+
|
||
|
|
[source,terminal]
|
||
|
|
----
|
||
|
|
$ oc -n openshift-lifecycle-agent annotate ibu upgrade image-cleanup.lca.openshift.io/on-prep-
|
||
|
|
----
|