kots upload

Upload Kubernetes manifests from the local filesystem, creating a new version of the application that can be deployed. When you have a copy of an application that was created with kots pull or kots download, you can upload it back to the Admin Console using the kots upload command.

Usage

kubectl kots upload [source] [flags]
  • Replace [source] with a directory containing the manifests of your KOTS application (required).
  • Provide [flags] according to the table below
Flag Type Description
-h, --help help for upload
--kubeconfig string the kubeconfig to use (default is $KUBECONFIG. If unset, then $HOME/.kube/config)
--name string the name of the kotsadm application to create
-n, --namespace string the namespace to upload to (default "default")
--slug string the application slug to use. if not present, a new one will be created
--upstream-uri string the upstream uri that can be used to check for updates

Examples

kubectl kots upload ./manifests --name kots-sentry --namespace kots-sentry --slug kots-sentry --upstream-uri kots-sentry/unstable