5 collocation exercises on containers and Kubernetes — pulling and pushing images, orchestrating, scaling pods, draining nodes, and rolling deployments.
0 / 5 completed
1 / 5
To get a container image from a registry onto your machine, you ___ it; to upload yours, you ___ it.
Pull an image (download) and push an image (upload) are the standard Docker/registry verbs.
pull an image — docker pull
push an image — docker push to a registry
"Grab/post" and "draw/throw" aren't standard. Example: "Pull the latest image, then push your tagged build to the registry."
2 / 5
A platform like Kubernetes coordinates many containers across machines, handling scheduling and healing. It ___ containers.
Orchestrate containers means coordinating their deployment, scaling, networking, and recovery.
orchestrate containers / workloads
Kubernetes is a container orchestrator
"Conducts off" and "marshals up" aren't the collocation. Example: "Kubernetes orchestrates our containers across the cluster."
3 / 5
Load increases, so Kubernetes adds more replicas of your app. It ___ the pods.
Scale pods means changing the number of pod replicas (up or out).
scale pods / a deployment
Done by the Horizontal Pod Autoscaler based on metrics
"Multiplies up" and "expands out" aren't the standard term. Example: "The HPA scaled the pods from 3 to 12 under load."
4 / 5
Before maintenance, you safely evict all pods from a worker machine. You ___ the node.
Drain a node means safely evicting its pods (rescheduling them elsewhere) before maintenance.
drain a node — kubectl drain
Cordons the node and moves workloads off it gracefully
"Empty off" and "flush out" aren't standard. Example: "Drain the node before you patch the kernel."
5 / 5
You ship a new version and Kubernetes gradually replaces old pods with new ones. You ___ a deployment.
Roll a deployment (a rolling update / rolling deployment) means gradually replacing pods to avoid downtime.
roll a deployment — progressive replacement
If it goes wrong you roll back the deployment
"Cycle up" and "flip out" aren't standard. Example: "We rolled the deployment with a 25% max surge."