/keptn-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

This example allows to demonstrate the Keptn tutorials.

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:

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

Unleash

This example allows to demonstrate the Self-healing with Feature Flags tutorials.

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

Simplenodeservice

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.