Skip to main content

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:

FlagTypeDescription
--decrypt-password-valuesbooldecrypt password values to plaintext
--deststringthe directory to store the application in (defaults to current working dir)
--currentbooldownload the archive of the currently deployed app version
--sequenceintsequence of the app version to download the archive for (defaults to the latest version unless --current flag is set)
-h, --helphelp for download
-n, --namespacestringthe namespace to download from (default "default")
--overwriteoverwrite any local files, if present
-o, --outputstringoutput format (currently supported: json) (defaults to plain text if not set)

Example

kubectl kots download kots-sentry --namespace kots-sentry --dest ./manifests --overwrite