Installation and upgrade

Learn how to install, configure, and upgrade the Keptn Lifecycle Toolkit

This section provides details about how to install and configure the components of the Keptn Lifecycle Toolkit either as a local cluster you use for study, testing, and demonstrations or as part of an existing production cluster. The steps are:

  1. Understand the Software versions and resources that are required.

  2. Be sure that your cluster includes the components discussed in Prepare your cluster for KLT.

  3. Bring or create your Kubernetes cluster.

  4. Replace the default cert-manager (optional). This step is only required if you want to replace the default KLT cert-manager with another cert-manager.

  5. Install the Keptn Lifecycle Toolkit.

  6. Enable Keptn Lifecycle Toolkit. This step is not required if you only want to run Keptn Metrics but is required for all other KLT features.

  7. Run the following command to ensure that your Kuberetes cluster is ready to implement the Lifecycle Toolkit:

    kubectl get pods -n keptn-lifecycle-toolkit-system
    

    You should see pods for the following components:

    • certificate-operator (or another cert manager)
    • lifecycle-operator
    • scheduler
    • metrics-operator

Unless you are only using the customized Keptn metrics feature, you now need to:

  • Follow the instructions in Annotate workload to integrate the Lifecycle Toolkit into your Kubernetes cluster by applying basic annotations to your Deployment resource.
  • Follow the instructions in Define a Keptn application to create a Keptn application that aggragates all the workloads for your deployment into a single KeptnApp resource.

This section also includes:

  1. How to Upgrade to a new version of the Keptn Lifecycle Toolkit

Requirements

Supported software versions and information about resources required

Kubernetes cluster

Bring or install a Kubernetes cluster

Use your own cert-manager (optional)

Replace the default KLT cert-manager

Install and enable KLT

Install the Keptn Lifecycle Toolkit

Upgrade

How to upgrade to the latest version of the Lifecycle Toolkit