- Use multiple replication controllers with a single service
- Deploy a canary application for testing
gcloud compute ssh node0
kubectl run hello-canary \
--labels="app=hello,track=canary" \
--replicas=1 \
--image=quay.io/kelseyhightower/hello:2.0.0
Try hitting the service port on any of the knode instances.
while true; do curl http://hello.PROJECT_NAME.io; echo; sleep 1; done
Did you find the canary?
Open three terminals
gcloud compute ssh node0
kubectl rolling-update hello --update-period=3s --image=quay.io/kelseyhightower/hello:2.0.0
while true; do curl http://hello.PROJECT_NAME.io; echo; sleep 1; done
gcloud compute ssh node0
kubectl get pods --watch