

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 4
click for more info
Not enough gems
Cost: 6 gems
1: Pods
incomplete
2: Ephemeral
incomplete
3: Unique IP Addresses
incomplete
This lesson's interactive features are locked, please to keep using them
Pods die, they die often, and sometimes without warning.
The ephemeral (fancy word for "temporary") nature of Pods is one of the defining features of Kubernetes. Unlike traditional virtual machines (VMs) or physical servers that might run indefinitely (or until hardware failure), Pods are designed to be spun up, torn down, and restarted at a moment's notice.
Get a list of your running pods:
kubectl get pods
Print the logs (what the container is printing to stdout) of your older pod:
kubectl logs PODNAME
Kill that older pod (this might take several seconds to complete):
kubectl delete pod PODNAME
Get a list of your running pods again:
kubectl get pods
You can do these steps as many times as you need to be able to answer the questions.