download
Retrieves a copy of the application manifests from the cluster, and store them in a specific directory structure on your workstation. Requires a running application with the KOTS Admin Console.
Usage
kubectl kots download [app-slug] [flags]
- Replace
[app-slug]
with the application slug provided by your software vendor (required). For more information, see Get the Application Slug in Managing Applications. - Provide
[flags]
according to the table below
This command supports all global flags and also:
Flag | Type | Description |
---|---|---|
--decrypt-password-values | bool | decrypt password values to plaintext |
--dest | string | the directory to store the application in (defaults to current working dir) |
--current | bool | download the archive of the currently deployed app version |
--sequence | int | sequence of the app version to download the archive for (defaults to the latest version unless --current flag is set) |
-h, --help | help for download | |
-n, --namespace | string | the namespace to download from (default "default" ) |
--overwrite | overwrite any local files, if present | |
-o, --output | string | output format (currently supported: json) (defaults to plain text if not set) |
Example
kubectl kots download kots-sentry --namespace kots-sentry --dest ./manifests --overwrite