Skip to content

aws-samples/aws-tekton-canary-testing-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

aws-tekton-canary-testing-deployment

This repository contains the deployment Helm chart used in the blog post Canary Testing with AWS App Mesh and Open Source Tekton.

The code provided is for demo purposes only and not ready for production.

Getting started

Please refer to the demo section of the blog post mentioned above and follow the outlined instructions.

In order to release a new canary version, update the values.yaml file. Please find below an updated version of this file, which contains the snippet in order to release version 2 of the backend microservice and shows how to split the traffic between the two versions equally.

detail:
  replicaCount: 2
  namespace: apps
  name: backend-service
  serviceAccount: backend-service
  image:
    pullPolicy: Always
  service:
    type: ClusterIP
    targetPort: 3000

canaryConfig:
  - name: "backend-v1"
    tag: "v1.0.0"
    weight: 50
    ### NEW VERSION OF BACKEND SERVICE ###
  - name: "backend-v2"
    tag: "v2.0.0"
    weight: 50
    ### NEW VERSION OF BACKEND SERVICE ###

Security

See CONTRIBUTING for more information.

License

This code is licensed under the MIT-0 License. See the LICENSE file.

About

Code for the demo which is part of the Canary Testing with AWS App Mesh and Tekton blog post

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages