For upgrading an existing keptn 0.2.0, 0.2.1 or 0.2.2 installation, an upgrade script is provided. This will update all keptn core components to their new version and installs the keptn’s bridge.
Please note that all command line tools are needed when upgrading keptn.
Furthermore, please note that we increaded the GKE cluster size to one
Make sure you are connected with the cluster running the keptn installation, which should be upgraded. Verify the connection by using the following command:
kubectl config current-context
keptn binary in the unpacked directory.
Linux / macOS
add executable permissions (
chmod +x keptn), and move it to the desired destination (e.g.
mv keptn /usr/local/bin/keptn)
move/copy the executable to the desired folder and, optionally, add the executable to your PATH environment variable for a more convenient experience.
For double checking the version of the CLI, run the
version command in the CLI:
CLI version: 0.3.0
CLI version: 0.3.0
git clone --branch 0.3.0 https://github.com/keptn/installer
./upgradeKeptn.sh <github_username> <github_access_token>
Note: As of version 0.3.0, keptn does not require the Jenkins installation that was part of previous versions. The upgrade script will not remove the Jenkins deployment from the keptn namespace in your cluster, but it will remove the subscriptions of the Jenkins service. This means that from v0.3.0 on, the deployment, testing, and promotion of an artifact to the next stage will be performed by the
Note: In future releases of the keptn CLI, a command
keptn upgrade will be added, which replaces the shell script
Due to a breaking change from keptn 0.2.x to 0.3.0 regarding the naming convention of Kubernetes namespaces, it is necessary to re-create a keptn project and to onboard your services again.
Delete your configuration repository in your GitHub organization.
Delete your releases using Helm:
NAME REVISION UPDATED STATUS CHART APP VERSION NAMESPACE sockshop-dev 1 Wed May 29 10:59:56 2019 DEPLOYED sockshop-0.1.0 dev sockshop-production 1 Wed May 29 11:12:44 2019 DEPLOYED sockshop-0.1.0 production sockshop-staging 1 Wed May 29 11:07:16 2019 DEPLOYED sockshop-0.1.0 staging
helm delete --purge sockshop-dev helm delete --purge sockshop-production helm delete --purge sockshop-staging
release "sockshop-dev" deleted release "sockshop-staging" deleted release "sockshop-production" deleted