Skip to content

Latest commit

 

History

History
27 lines (13 loc) · 560 Bytes

lab5.md

File metadata and controls

27 lines (13 loc) · 560 Bytes

Lab CKAD Observability

Objective

The focus of this lab is to become familar with pod readiness and liveliness.

  1. Clear all pods

k delete pod --all

  1. Run the following pod:

kubectl run box --image=busybox -- /bin/sh -c 'i=0; while true; do echo "$i: $(date)"; i=$((i+1)); sleep 1; done'

  1. Read the logs of this pod

  2. IF there were more than 1 container... how would you view logs of this container?

  3. Without looking at the file, apply the manifest lab5-1.yaml

  4. What is the status of the pod?

  5. Is it ready?

  6. Fix any issue