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.
Flag | Type | Description |
---|---|---|
-h, --help | help for admin-console | |
-n, --namespace | string | the namespace where the Admin Console is running (required) |
--ignore-rollback | string | force 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