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

Optionally avoid sleeping in entrypoint.sh #56

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

e0ne
Copy link
Contributor

@e0ne e0ne commented Apr 25, 2024

Container image might be used as initcontainers in kubernetes Pods. In such scenarios, it's important for the image entrypoint to exits once the copy logic is completed. Otherwise, the pod would stuck in a PodInitializing phase.

https://kubernetes.io/docs/concepts/workloads/pods/init-containers/

Container image might be used as `initcontainers` in kubernetes Pods. In
such scenarios, it's important for the image entrypoint to exits once the
copy logic is completed. Otherwise, the pod would stuck in a `PodInitializing`
phase.

https://kubernetes.io/docs/concepts/workloads/pods/init-containers/

Signed-off-by: Ivan Kolodiazhnyi <ikolodiazhny@nvidia.com>
@e0ne
Copy link
Contributor Author

e0ne commented Apr 25, 2024

@SchSeba please, take a look on it once you have a time

Copy link
Collaborator

@SchSeba SchSeba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SchSeba
Copy link
Collaborator

SchSeba commented Apr 26, 2024

Thanks for working on this one!

@SchSeba SchSeba merged commit 899374d into k8snetworkplumbingwg:master Apr 26, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants