Keptn v1 reached EOL December 22, 2023. For more information see https://bit.ly/keptn
This documentation is for an older Keptn release. Please consider the newest one when working with the latest Keptn.

Upgrade Keptn

Upgrade from Keptn 0.12.x to Keptn 0.13.x

  • Step 1. To download and install the Keptn CLI for version 0.13.4, you can choose between:

    • Automatic installation of the Keptn CLI (Linux and Mac):

      • The next command will download the 0.13.4 release from GitHub, unpack it, and move it to /usr/local/bin/keptn.
      curl -sL https://get.keptn.sh | KEPTN_VERSION=0.13.4 bash
      
      • Verify that the installation has worked and that the version is correct by running:
      keptn version
      
    • Manual installation of the Keptn CLI:

      • Download the release for your platform from the GitHub
      • Unpack the binary and move it to a directory of your choice (e.g., /usr/local/bin/)
      • Verify that the installation has worked and that the version is correct by running:
      keptn version
      
  • Step 2. To upgrade your Keptn installation from 0.12.x to 0.13.4, the Keptn CLI offers the command:

    keptn upgrade
    
    keptn set config KubeContextCheck true
    
    • If the CLI still complains about the context, please use the Helm approach to upgrade your cluster:
    helm upgrade keptn keptn --install -n keptn --create-namespace --repo=https://charts.keptn.sh --version=0.13.4 --reuse-values --wait
    
  • ⚠️ Step 3. If you are using the jmeter-service or helm-service, upgrade them to 0.13.4 using the following commands:

    helm repo update
    helm upgrade jmeter-service https://github.com/keptn/keptn/releases/download/0.13.4/jmeter-service-0.13.4.tgz -n keptn --create-namespace --wait --reuse-values
    helm upgrade helm-service https://github.com/keptn/keptn/releases/download/0.13.4/helm-service-0.13.4.tgz -n keptn --create-namespace --wait --reuse-values