0
0
Kubernetesdevops~5 mins

Canary deployments in Kubernetes - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a canary deployment?
A canary deployment is a way to release a new version of software to a small group of users first. It helps check if the new version works well before giving it to everyone.
Click to reveal answer
beginner
Why use canary deployments in Kubernetes?
Canary deployments let you test new app versions safely by sending only some traffic to the new version. This reduces risk and helps catch problems early.
Click to reveal answer
intermediate
How do you control traffic split in a canary deployment?
You control traffic split by adjusting the number of pods or using service routing rules to send a percentage of user requests to the new version.
Click to reveal answer
intermediate
What Kubernetes resource can help manage canary deployments?
Tools like Kubernetes Deployments with multiple ReplicaSets or service mesh tools (e.g., Istio) help manage canary deployments by controlling traffic and rollout.
Click to reveal answer
beginner
What is the main benefit of canary deployments?
The main benefit is reducing risk by testing new versions with a small user group before full release, allowing quick rollback if issues appear.
Click to reveal answer
What does a canary deployment primarily help with?
ABacking up data automatically
BIncreasing the number of servers instantly
CEncrypting network traffic
DReducing risk by testing new versions with limited users
In Kubernetes, how can you send only some traffic to a new version during a canary deployment?
ABy adjusting pod replicas or using service routing rules
BBy deleting old pods immediately
CBy changing the container image tag only
DBy restarting the cluster
Which tool can help manage traffic routing for canary deployments in Kubernetes?
ADocker Compose
BIstio
CGit
DJenkins
What should you do if the canary version shows problems?
AIncrease traffic to the canary immediately
BDelete all pods
CRollback to the previous stable version
DIgnore and continue
Canary deployments are an example of which type of deployment strategy?
AIncremental rollout
BBlue-green deployment
CRecreate deployment
DShadow deployment
Explain what a canary deployment is and why it is useful in Kubernetes.
Think about testing new versions safely before full release.
You got /4 concepts.
    Describe how you would implement a canary deployment in Kubernetes.
    Consider how to split traffic and manage versions.
    You got /5 concepts.