Zenia
Mission Specialist
Mission Specialist
  • 469 Views

v4.12 - Ch1 Ex1 6.5: Pods should crash as they have stale values from the previous configuration

In Chapter 1 Guided Exercise: Resource Manifests, pods are in running status which is different than that from the lab output. I think the course output is wrong as the pods have stale values from the previous configuration, and therefore could crash.

From Lab:

[student@workstation declarative-manifests]$ oc get pods
NAME READY STATUS RESTARTS AGE
database-7c767c4bd7-f97br 1/1 Running 0 11m
exoplanets-bfdd66db5-mzstl 0/1 CrashLoopBackOff 4 (10s ago) 98s

From the course:

[student@workstation declarative-manifests]$ oc get pods
NAME READY STATUS RESTARTS AGE
database-6fddbbf94f-brlj6 1/1 Running 0 51m
exoplanets-674cc57b5d-mv8kd 1/1 Running 0 22m

1 Reply
carlos_arias
Moderator
Moderator
  • 443 Views

Hey Zenia, I tried the exercise and while it's true that with the first deployment I can see a CrashLoopBackOff for the exoplanets pod for a few seconds, this behaviour didn't repeat in the following rollouts. The guide usually shows the final state of the pods, unless other part of the process is to be shown for teaching purposes.

I hope this helps. Bests.

 

RHCA - Level III
Free software for free people
Join the discussion
You must log in to join this conversation.