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.
Guide:
Is this a mistake or something details I missed?
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.
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.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.