How manifest deletion works
By default, MicroShift searches for deletion manifests in the delete subdirectories within the manifests path. When a user places a manifest in these subdirectories, MicroShift removes the manifests when the system is started.
Read through the following to understand how manifests deletion works in MicroShift.
-
Each time the system starts, before applying the manifests, MicroShift scans the following
deletesubdirectories within the configured manifests directory to identify the manifests that need to be deleted:-
/usr/lib/microshift/manifests/delete -
/usr/lib/microshift/manifests.d/delete/* -
/etc/microshift/manifests/delete -
/etc/microshift/manifests.d/delete/*
-
-
MicroShift deletes the resources defined in the manifests found in the
deletedirectories by running the equivalent of thekubectl delete --ignore-not-found -kcommand.