pgadapter icon indicating copy to clipboard operation
pgadapter copied to clipboard

Exit PGAdapter Sidecar when main container exits

Open hiradp opened this issue 7 months ago • 3 comments

Thank you in advance for your time!

I have a kubernetes job that's using pgadapter as a side car. When the main container finishes, the pod get stuck in NotReady because pg adpter is running.

Is there native way to handle this properly?

I've seen this stackoverflow post https://stackoverflow.com/questions/41679364/kubernetes-stop-cloudsql-proxy-sidecar-container-in-multi-container-pod-job but this looks a bit of a hack.

hiradp avatar Jul 03 '24 15:07 hiradp