kots 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 KOTS application with the Admin Console (kotsadm).

Usage

kubectl kots download [app-slug] [flags]
  • Replace [app-slug] with the “slug” of your KOTS application (required).
  • Provide [flags] according to the table below
Flag Type Description
--dest string the directory to store the application in (defaults to $HOME)
-h, --help help for download
--kubeconfig string the kubeconfig to use. (default is $KUBECONFIG. If unset, then $HOME/.kube/config)
-n, --namespace string the namespace to download from (default "default")
--overwrite overwrite any local files, if present

Example

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