I've never done this particular training, but by the looks of it the famous-quotes container is looking for another container by the name of "database". Apparently this name does resolve to an IP address in the deployment, but apparently either the pod itself or the database listener on 3306 can be found.
So for your next troubleshooting step, start looking into the logs for the database pod. Plus, spin up a test pod in the same deployment to see if you can manually connect to the database from inside the pod.
I've never done this particular training, but by the looks of it the famous-quotes container is looking for another container by the name of "database". Apparently this name does resolve to an IP address in the deployment, but apparently either the pod itself or the database listener on 3306 can be found.
So for your next troubleshooting step, start looking into the logs for the database pod. Plus, spin up a test pod in the same deployment to see if you can manually connect to the database from inside the pod.
@Sarah1980 , step 5.3 should result in the creation of the database pod. At what step are you getting the crashloopbackoff issue ?
Thanks everyone, yeah I had not opened the port for database to listen on. Much appreciated for all your help!
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.