Keptn v1 reached EOL December 22, 2023. For more information see

keptn upgrade

keptn upgrade

Upgrades Keptn on a Kubernetes cluster.


The Keptn CLI allows upgrading Keptn on any Kubernetes derivative to which your kube config is pointing to, and on OpenShift.

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


  • keptn - The CLI for using Keptn
Auto generated by spf13/cobra on 17-Feb-2022