This page looks best with JavaScript enabled

Creating pods in Kubernetes in Raspberry Pi CM4

 ·  ☕ 1 min read  ·  🐧 sysadmin
  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

Support the author with

sysadmin
WRITTEN BY
sysadmin
QA & Linux Specialist