[stable/pgadmin] files in /var/lib/pgadmin/sessions crash the pod #19690
Comments
Have the same issue with stable pgadmin chart on AKS. But in my case it failed immediately after deployment with CrashLoopbackOff here is logs any ideas??? ######## kubectl logs pgadmin-6fc96b8c64-d664d -n pgadmin |
Hello, The pgadmin Dockerfile ACL have changed few days ago. https://github.com/postgres/pgadmin4/blob/master/Dockerfile Now, a user with the UID 5050 is required. So, you have to update your StorageClass with and uid.
|
Thank you!! This solution fixed my issue!! |
This config didn't work on vSphere. Error message: What I'm missing? |
@fredbeltrao apologies for the late reply, but please try to pull in the latest build I provided. It has a fix for this specific issue. Be aware that I adjusted some namings, persistance towards persistentVolume. The fix itself was actually adjusting the path of the livenessProbe and readinessProbe:
|
@KIRY4 the issue you are having is also resolved in the latest build, it got merged Saterday. Check out version: 1.1.0 and appVersion: 4.17.0 |
@rowanruseler It worked great. Thank you for your work! |
I am having same issues in docker compose. The error I am getting is:
|
@Nemox this is a helm build for this repo images. I would advice you to look at the documentation of the image itself: dpage/pgadmin4. The way I resolved it within kubernetes is first init a initcontainer and change the permissions. After that it launches the container with the pgadmin default user credentials. |
@Nemox if you solved your issue, please post the steps you followed. Thanks! :) |
@amatosg Hey, I just did a quick fix so my solution is not viable for sensitive deployments. But I made a directory, granted permissions to all on it and mounted pgadmin to this directory.
Then in docker-compose.yml
|
Legend! Thanks! |
I know this has been closed a while ago, but I have the same issue when using docker-compose. I created a folder and assigned full access to that folder (777) and added the volume Is there a solution for this when using docker-compose? |
@amatosg Where did you create the folder? I don´t remember the specifics of it but the pgadmin could not access root files. If it is not already in or user-folder, try creating it there: |
@nela is the same volume used in 4.15. Even using a clean folder (same |
I solved with these below steps -
Step Two: Get login with the default credential which you wrote in docker-compose.yml It should work. |
Describe the bug
Pod crashes after running for 45 hours and 30 minutes.
Version of Helm and Kubernetes:
Kubernetes: 1.16.3
Helm: not shure, I installed the chart from Rancher v.2.3.2 frontend
Template version: 1.0.5
Which chart:
stable/pgadmin
What happened: Every 3 and 7 seconds, 2 files are created on
/var/lib/pgadmin/sessions
, totaling exactly 24 new files per minute, like that:So, when there are 65520 files on folder
/var/lib/pgadmin/sessions
, pod crashes.What you expected to happen: Pod lives forever.
How to reproduce it (as minimally and precisely as possible): Install the chart with the following values.yml:
Anything else we need to know: Pod works fine when I set the Health Check to None
The text was updated successfully, but these errors were encountered: