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

keptn upgrade

keptn upgrade

Upgrades Keptn on a Kubernetes cluster and supports upgrading the shipyard of a project to a new specification.


The Keptn CLI allows upgrading Keptn on any Kubernetes derivative to which your kube config is pointing to, and on OpenShift. Also, it supports upgrading the shipyard of an existing project to a new specification.

For more information, please follow the installation guide Upgrade Keptn

keptn upgrade [flags]


keptn upgrade # upgrades Keptn

keptn upgrade --platform=openshift # upgrades Keptn on OpenShift

keptn upgrade --platform=kubernetes # upgrades Keptn on the Kubernetes cluster


      --patch-namespace      Patch the namespace with the annotation & label ' keptn'
  -p, --platform string      The platform to run Keptn on [kubernetes,openshift] (default "kubernetes")
      --skip-upgrade-check   Skip upgrade compatibility check, useful for nightly version upgrades or upgrades to preview versions

Options inherited from parent commands

      --config-file string   Specify custom Keptn Config file path (default: ~/.keptn/config)
  -h, --help                 help
      --mock                 Disables communication to a Keptn endpoint
  -n, --namespace string     Specify the namespace where Keptn should be installed, used and uninstalled in (default "keptn")
  -q, --quiet                Suppresses debug and info messages
  -v, --verbose              Enables verbose logging to print debug messages
  -y, --yes                  Assume yes for all user prompts


Auto generated by spf13/cobra on 25-Nov-2021