Skip to main content

admin-console garbage-collect-images

Starts image garbage collection. The KOTS Admin Console must be running and an application must be installed in order to use this command.

Usage

kubectl kots admin-console garbage-collect-images -n <namespace>

This command supports all global flags.

FlagTypeDescription
-h, --helphelp for admin-console
-n, --namespacestringthe namespace where the Admin Console is running (required)
--ignore-rollbackstringforce images garbage collection even if rollback is enabled for the application (default false). Note: this may impact the ability to rollback the application to a previous version.

Examples

kubectl kots admin-console garbage-collect-images -n default