Last active
March 1, 2021 04:54
-
-
Save saiyam1814/20009bcbe24470c16825e5d7113b1b3f to your computer and use it in GitHub Desktop.
Ketch Canary Deployment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create a Kubernetes cluster (Civo K3s in this case) | |
Have traefik2 Installed | |
Cert manager installed -> | |
kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/releases/download/v1.0.3/cert-manager.yaml | |
Install Ketch Controller -> kubectl apply -f https://github.com/shipa-corp/ketch/releases/download/v0.2.0/ketch-controller.yaml | |
Get the ingress IP | |
create Ketch pool -> | |
ketch pool add saiyam --ingress-service-endpoint 212.2.243.96 --ingress-type traefik | |
create the app -> | |
ketch app create demo --pool saiyam | |
deploy the app -> | |
ketch app deploy demo -i docker.io/saiyam911/ketch-cd:v1 --ketch-yaml ketch.yaml | |
get app info -> | |
ketch app info demo | |
Lets change the version and do a canary deploy | |
ketch app deploy demo -i docker.io/saiyam911/ketch-cd:v2 --steps 10 --step-interval 1m --ketch-yaml=ketch.yaml | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment