KOTS is a kubectl plugin to help manage Kubernetes Off-The-Shelf software. The Kots plugin runs locally, on any computer that has kubectl installed. Kots doesn’t run in a cluster, but it helps manage the preflight, install, support and upgrade process of third party software in Kubernetes.
In addition to Kots, the Admin Console (Kotsadm) is another open source component designed to run as an Admin Console along with a Kots application. Kotsadm is installed in the cluster and provides a web-based UI to manage the lifecycle of a Kots application. The Kots plugin can install and configure Kotsadm during installation and upgrade of a Kots application.
To start, install Kots using the Krew plugin manager:
curl https://kots.io/install | bash
This will give you a new kubectl command.
kubectl kots --help
For computers without root access or cannot write to the
/usr/local/bin directory, the
kots plugin can be downloaded using the following steps:
kots.exe) executable to
kubectl-kotsto anywhere on the PATH.
The install subcommand will install the application directly to a cluster. By default, kots install will include the admin console to provide a web based management console.
If you’d rather use kubectl or another workflow to deploy to your cluster, you can run kots pull to create a directory on your workstation with the Kots application
Once an application is running and has the Admin Console (kotsadm) deployed with it, you can run kots download to retreive a copy of the application manifests from the cluster, and store them in a specific directory structure on your workstation.
If 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.
If you’ve deployed an application with the admin console, the kots admin-console command will open a proxy so you can connect to the admin console from your machine.
If you’ve deployed an application with the admin console, the kots admin-admin console upgrade command will upgrade just the admin console to the latest version. The application can be updated from the admin console, not this command.
If you’ve lost the password to the admin console but still have kubectl access, the kots reset-password command will prompt for a new password and upload it to the cluster.
To give kots a try, head over to the Kots Helm guide. If you want to see what it’s like to distribute a kots application, head to the Kots Vendor guide.