Demo Microservice application on GCP

Everything went ok until i create postgres on GCP it will create 1 but when I ran kubectl get pods… I am getting status CrashLoopBackoff and it keep restart.

I check my definition file postgres-pod.yml and is look ok see below
Screen Shot 2020-05-22 at 6.28.40 PM

and I have the same file in my git repository

I have delete the postgres-pod and create again same issue…

Do you think it has do something with version since when I go to dockerhub and check under tag The tag is 9.5

Please help- Thanks

I am not confirmed but i think you have to give user, password credentials through secrets.