Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pavansingh89 opened this issue Apr 5, 2024 · 0 comments

Comments

@pavansingh89
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant