2024-10-09 19:50:57 +05:30
:_mod-docs-content-type: ASSEMBLY
[id="microshift-deleting-resource-manifests"]
2024-11-06 13:58:37 +05:30
= Deleting or updating Kustomize manifest resources
2024-10-09 19:50:57 +05:30
include::_attributes/attributes-microshift.adoc[]
:context: microshift-deleting-resource-manifests
toc::[]
2024-11-06 13:58:37 +05:30
{microshift-short} supports the deletion of manifest resources in the following situations:
2024-10-09 19:50:57 +05:30
2025-09-30 07:55:42 -04:00
* Manifest removal: Manifests can be removed when you need to completely remove a resource from the node.
2024-10-09 19:50:57 +05:30
* Manifest upgrade: During an application upgrade, some resources might need to be removed while others are retained to preserve data.
2024-11-06 13:58:37 +05:30
When creating new manifests, you can use manifest resource deletion to remove or update old objects, ensuring there are no conflicts or issues.
2024-10-09 19:50:57 +05:30
[IMPORTANT]
====
2024-11-06 13:58:37 +05:30
Manifest files placed in the `delete` subdirectories are not automatically removed and require manual deletion. Only the resources listed in the manifest files placed in the delete subdirectories are deleted.
2024-10-09 19:50:57 +05:30
====
include::modules/microshift-manifests-deletion-overview.adoc[leveloffset=+1]
[id="microshift-examples-of-usecase_{context}"]
2024-11-06 13:58:37 +05:30
== Use cases for manifest resource deletion
2024-10-09 19:50:57 +05:30
2024-11-06 13:58:37 +05:30
The following sections explain the use case in which the manifest resource deletion is used.
2024-10-09 19:50:57 +05:30
include::modules/microshift-manifests-removal-scenario-rpm.adoc[leveloffset=+2]
include::modules/microshift-manifests-removal-scenario-ostree.adoc[leveloffset=+2]
include::modules/microshift-manifests-upgrade-scenario-rpm.adoc[leveloffset=+2]
2024-11-06 13:58:37 +05:30
include::modules/microshift-manifests-upgrade-scenario-ostree.adoc[leveloffset=+2]
[role="_additional-resources"]
== Additional resources
* xref:../microshift_running_apps/microshift-applications.adoc#applications-with-microshift[Using Kustomize manifests to deploy applications]