/examples

Examples for demonstrating keptn use cases

Primary LanguageShellApache License 2.0Apache-2.0

Keptn Examples

This directory contains and refers to examples in order to explore the functionality of Keptn. Please visit keptn.sh for more information about Keptn.

Maintained Examples

Maintained examples are updated with every Keptn release to use the latest features, current guidelines and best practices, as well as to update command syntax, output, or changed prerequisites.

Carts

Name Version Description
onboard-carts 0.8.0-alpha Examples for Keptn 0.8.0-alpha, no tutorial available yet.
onboard-carts 0.7.3 This example allows to demonstrate the Keptn tutorials.
onboard-carts 0.7.2 This example allows to demonstrate the Keptn tutorials.
onboard-carts 0.7.1 This example allows to demonstrate the Keptn tutorials.
onboard-carts 0.7.0 This example allows to demonstrate the Keptn tutorials.
onboard-carts 0.6.2 This example allows to demonstrate the Keptn use cases.
onboard-carts 0.6.1 This example allows to demonstrate the Keptn use cases.
onboard-carts 0.6.0 This example allows to demonstrate the Keptn use cases.
onboard-carts 0.5.0 This example allows to demonstrate the Keptn use cases.

You can find the source code of the carts microservice at https://github.com/keptn-sockshop/carts

Load Generator for Carts

The following commands will set up a basic load generator for the carts microservice that generates traffic in all three stages:

  • Keptn 0.7.0 - 0.7.3
    • Basic (Background traffic)
      kubectl apply -f https://raw.githubusercontent.com/keptn/examples/release-0.7.3/load-generation/cartsloadgen/deploy/cartsloadgen-base.yaml
    • More traffic
      kubectl apply -f https://raw.githubusercontent.com/keptn/examples/release-0.7.3/load-generation/cartsloadgen/deploy/cartsloadgen-fast.yaml
    • Faulty item in cart (generates cpu usage)
      kubectl apply -f https://raw.githubusercontent.com/keptn/examples/release-0.7.3/load-generation/cartsloadgen/deploy/cartsloadgen-faulty.yaml

Unleash

Name Version Description
unleash-server 0.7.x This example allows to demonstrate the Self-healing with Feature Flags tutorials.
unleash-server 0.6.x This example allows to demonstrate the Self-healing with Feature Flags usecase.

You can find the source of the unleash service at https://github.com/keptn-sockshop/unleash-server

Simplenodeservice

Name Version Description
simplenode 0.7.x This example is used for some of the Keptn tutorials
simplenode 0.6.x This example is used for some of the Keptn tutorials

More information about this simple node.js based example application can be found here: Simplenodeservice README

License

See LICENSE.

Contributing

If you want to contribute, just create a PR on the master branch.

Please also see CONTRIBUTING.md instructions on how to contribute.