cancel
Showing results for 
Search instead for 
Did you mean: 
  • 647 Views

Confused on this lab:declarative-manifests

Jump to solution

In section 6, guide shows that only secrets has changed, so the pod will not restart. But actully the deployment also changed when checkout v1.1.1 which means the pod will definitly restart.

Elon_at_Nokia_0-1705750882767.png

Guide:

Elon_at_Nokia_1-1705751123517.png

 

 Is this a mistake or something details I missed?

0 Kudos
1 Solution

Accepted Solutions
ecrookshanks
Mission Specialist
Mission Specialist
  • 633 Views

From actually walking through it I think you are correct - the pod restarts but it fails to initializie correctly and enters a CrashLookBackoff state.  It does that immediately after applying the new manifest, but the book states it will do this only while redeploying the database pod.  So it appears the behavior is correct, but the lab description is a little off.  The new passwords won't be picked up until the database is redeployed, but the pod will restart and fail until that happens.

View solution in original post

1 Reply
ecrookshanks
Mission Specialist
Mission Specialist
  • 634 Views

From actually walking through it I think you are correct - the pod restarts but it fails to initializie correctly and enters a CrashLookBackoff state.  It does that immediately after applying the new manifest, but the book states it will do this only while redeploying the database pod.  So it appears the behavior is correct, but the lab description is a little off.  The new passwords won't be picked up until the database is redeployed, but the pod will restart and fail until that happens.

Join the discussion
You must log in to join this conversation.