Skip to content

Latest commit

 

History

History
 
 

173

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Kubernetes Canary Deployment (Manual vs Automated)

You can find tutorial here.

Start Minikube

minikube start --driver=docker

Deploy All Dependencies

cd terraform
terraform apply

Grafana

# username: admin, password: devops123
kubectl port-forward svc/grafana 3000 -n monitoring

Test application (Example 1)

kubectl run curl --image=alpine/curl:8.2.1 -n default -i --tty --rm -- sh
for i in `seq 1 1000`; do curl myapp:8080/version; echo ""; sleep 1; done

Test application (Example 2)

kubectl run curl --image=alpine/curl:8.2.1 -n staging -i --tty --rm -- sh
for i in `seq 1 1000`; do curl myapp:8080/version; echo ""; sleep 1; done