1. Here is a video tutorial; continue reading for a list of written instructions.

Exercises to complete:

  1. Create pod.
  2. Create pod with different version of the image.
  3. Display pods.
  4. Use the watch command to watch the changes live.
Create pod. Remember that pod’s name has to be unique.
1
kubectl run apache1 --image=httpd

httpd is in fact apache web server

Create pod with different version of the image.
1
kubectl run apache1-older --image=httpd:2.2
Display pods.
1
kubecetl get pods
Use the watch command to watch the changes live.
1
watch kubecetl get pods

ctrl+c exists watch window