community icon indicating copy to clipboard operation
community copied to clipboard

I want to create a job which depend on postgres pod and other pods should start after job gets done

Open pavansingh89 opened this issue 10 months ago • 0 comments

Created a job were I have define initContainers: - name: wait-for-postgres image: busybox:1.28 command: ['sh', '-c', 'until nslookup postgres-service; do echo waiting for postgres-service; sleep 2; done'] and also use ttlSecondsAfterFinished: 60 to delete job but what other container should run afterword's,

How can I do this? Thanks

pavansingh89 avatar Apr 05 '24 11:04 pavansingh89