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 project

keptn upgrade project

Upgrades an existing Keptn project


Upgrades an existing Keptn project with the provided name.

This command will upgrade the shipyard of the project to the specified version

By executing the update project command, Keptn will fetch the current shipyard.yaml file of the project and convert it to the version specified in the ’toVersion’’ flag.

For more information about upgrading projects, go to Manage Keptn

keptn upgrade project PROJECTNAME --shipyard --fromVersion=CURRENT_SHIPYARD_VERSION --toVersion=TARGET_SHIPYARD_VERSION [flags]


keptn upgrade project PROJECTNAME --shipyard --fromVersion=0.1.0 --toVersion=0.2.0


      --dry-run              Output the upgraded shipyard but don't upload it to the project
      --fromVersion string   The current version of the shipyard
      --shipyard             Upgrade the shipyard file of the project
      --toVersion string     The new target version of the shipyard

Options inherited from parent commands

  -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 upgrade - Upgrades Keptn on a Kubernetes cluster and supports upgrading the shipyard of a project to a new specification.
Auto generated by spf13/cobra on 16-Jun-2021