-
Notifications
You must be signed in to change notification settings - Fork 162
using postgres yaml I got pod 'CrashLoopBackOff' #91
Comments
Here is the describe pod output
|
Have you solved the issue? |
same problem +1 |
same issue...any solutions so far? |
So I fixed mine because of a missing POSGRES_PASSWORD: env:
- name: POSTGRES_PASSWORD
value: mysecretpassword I found this out by typing kubectl logs postgres-pod -p and I got this:
Once I updated the yaml file, I deleted the pod and recreated it, and it started no problems |
I run the cmd below I added the user and password and with that I resolve the problem, below I left the example
|
@DAAC this worked |
apiVersion: v1
|
I got the same problem. Then I added the POSTGRES_USER and POSTGRES_PASSWORD. The pod is up. However, when run the voting app and select cat/dog. The voting not reflect to the result page. Do I need to create the Azure Postgres SQL separately? |
basically I adopted the yaml except small tweaks(I strongly do believe this isn't the cause). when using kubectl describe, the pod starts failed. Also, I tested other version postgres image, i got same error.
did any one run into same issue? thanks
The text was updated successfully, but these errors were encountered: