Upgrade Kubernetes Off-The-Shelf (KOTS)

Kubernetes Off-The-Shelf (KOTS) is a deployment and management platform for Kubernetes applications that provides both online and airgap installation options.

This topic explains how to upgrade KOTS in online and airgap environments.

Prerequisites

  • Ensure you have access to the Kubernetes cluster where KOTS is installed

  • Configure kubectl with cluster access

  • For airgap environments:

    • Have access to a container registry

    • Have registry credentials ready

Upgrade KOTS in your environment

  • Online

  • Airgap

  1. Go to the KOTS GitHub releases page.

  2. Download the latest KOTS binary tar.gz file for your OS.

  3. Extract the downloaded tar.gz file:

    tar xzf kots_OS_ARCH.tar.gz

    Replace OS and ARCH with your OS and architecture.

  4. Rename the kots binary to kubectl-kots.

  5. To get the kubectl-kots plugin location, run the following command:

    which kubectl-kots
  6. Move the binary to the location shown by the previous command:

    mv kots /usr/local/bin/kubectl-kots

    You must complete the local CLI upgrade steps above before you proceed with the KOTS upgrade.

  7. To upgrade KOTS, run the following command:

    kubectl kots admin-console upgrade --namespace KOTS_NAMESPACE

    Replace KOTS_NAMESPACE with your KOTS namespace.

  8. Verify that KOTS is running with the new version:

    1. Check the local CLI version:

      kubectl kots version
    2. Open the KOTS admin console and check the version in the footer to verify the version running in the cluster.

  1. Go to the KOTS GitHub releases page.

  2. Download the latest KOTS binary tar.gz file for your OS.

  3. Download the latest kotsadm.tar.gz container images.

  4. Extract the downloaded tar.gz files:

    tar xzf kots_OS_ARCH.tar.gz
    tar xzf kotsadm.tar.gz

    Replace OS and ARCH with your OS and architecture.

  5. Rename the kots binary to kubectl-kots.

  6. To get the kubectl-kots plugin location, run the following command:

    which kubectl-kots
  7. Move the binary to the location shown by the previous command:

    mv kots /usr/local/bin/kubectl-kots

    You must complete the local CLI upgrade steps above before you proceed with the KOTS upgrade.

  8. Upload the kotsadm images to your registry:

    kubectl kots admin-console push-images ./kotsadm.tar.gz REGISTRY_DOMAIN/REGISTRY_NAMESPACE \
      --registry-username REGISTRY_USERNAME \
      --registry-password REGISTRY_PASSWORD

    Replace the following:

    • REGISTRY_DOMAIN: Your registry domain

    • REGISTRY_NAMESPACE: Your registry namespace

    • REGISTRY_USERNAME: Your registry username

    • REGISTRY_PASSWORD: Your registry password

  9. Upgrade KOTS:

    kubectl kots admin-console upgrade --namespace KOTS_NAMESPACE \
      --kotsadm-registry REGISTRY_DOMAIN \
      --kotsadm-namespace REGISTRY_NAMESPACE \
      --registry-username REGISTRY_USERNAME \
      --registry-password REGISTRY_PASSWORD

    Replace the following:

    • KOTS_NAMESPACE: Your KOTS namespace

    • REGISTRY_DOMAIN: Your registry domain

    • REGISTRY_NAMESPACE: Your registry namespace

    • REGISTRY_USERNAME: Your registry username

    • REGISTRY_PASSWORD: Your registry password

  10. Verify that KOTS is running with the new version:

    1. Check the local CLI version:

      kubectl kots version
    2. Open the KOTS admin console and check the version in the footer to verify the version running in the cluster.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2025 DataStax | Privacy policy | Terms of use | Manage Privacy Choices

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com