module
Version:
v0.0.0-...-13a6933
Opens a new window with list of versions in this module.
Published: Aug 26, 2021
License: MIT
Opens a new window with license information.
README
¶
Introduction
A repo to test Azure DevOps, Kubernetes, Docker and other tools or methodologies
Build
- cd src
- docker build -t bjd145/whatos:1.4 .
Run
- docker run -p 8081:8081 -e API_VERSION=v3 bjd145/whatos:1.4
Test
Canary Release with Blue/Green Deployment and Helm
10% Traffic to V2
- helm upgrade -n whatosapi -i --values .\deploy\values.yaml
--set service.greenWeight=10%,service.blueWeight=90%,blueReplicaCount=3,greenReplicaCount=1 \
whatos-release
.\deploy
50% Traffic to V2
- helm upgrade -n whatosapi -i --values .\deploy\values.yaml
--set service.greenWeight=50%,service.blueWeight=50%,blueReplicaCount=2,greenReplicaCount=2
whatos-release
.\deploy
90% Traffic to V2
- helm upgrade -n whatosapi -i --values .\deploy\values.yaml
--set service.greenWeight=90%,service.blueWeight=10%,blueReplicaCount=1,greenReplicaCount=3
whatos-release
.\deploy
100% Traffic to V2
- helm upgrade -n whatosapi -i --values .\deploy\values.yaml
--set service.greenWeight=100%,service.blueWeight=0%,blueReplicaCount=0,greenReplicaCount=4
whatos-release
.\deploy
Directories
¶
src
|
|
|
|
Click to show internal directories.
Click to hide internal directories.