-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-28938][K8S][2.4][FOLLOWUP] Use /usr/bin/tini instead of /sbin/tini
#26296
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
Conversation
…bernetes fix entrypoint The pass through feature of the entrypoint.sh script needs to change from /sbin/tini => /usr/bin/tini
|
ok to test |
| *) | ||
| echo "Non-spark-on-k8s command provided, proceeding in pass-through mode..." | ||
| exec /sbin/tini -s -- "$@" | ||
| exec /usr/bin/tini -s -- "$@" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! Thanks!
|
@jkleckner The JIRA number in the title seems wrong, can you fix it? Please also modify the title to make it not truncated. |
|
Kubernetes integration test starting |
|
Test build #112856 has finished for PR 26296 at commit
|
|
Kubernetes integration test status success |
/usr/bin/tini instead of /sbin/tini
|
Thank you for the followup, @jkleckner and @viirya . |
/usr/bin/tini instead of /sbin/tini/usr/bin/tini instead of /sbin/tini
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM. Merged to branch-2.4.
…in/tini` ### What changes were proposed in this pull request? Change entrypoint.sh script for the kubernetes manager image to reference /usr/sbin/tini ### Why are the changes needed? This makes running commands like /bin/bash via pass-through work. This was missing from #26046 ### Does this PR introduce any user-facing change? It makes pass-through work. ### How was this patch tested? I built an image and verified that the following worked: `docker run -it --rm image:version /bin/bash` Closes #26296 from jkleckner/fix-pass-through-38938. Authored-by: Jim Kleckner <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
|
Thank you for the followup, @jkleckner and @viirya . |
|
Wow, thanks for the fast action! |
As outlined in kubeflow#669 this is needed to run properly because it includes the unreleased fixes from apache/spark#26046 and apache/spark#26296 which are needed for GKE authentication to work properly.
What changes were proposed in this pull request?
Change entrypoint.sh script for the kubernetes manager image to reference /usr/sbin/tini
Why are the changes needed?
This makes running commands like /bin/bash via pass-through work.
This was missing from #26046
Does this PR introduce any user-facing change?
It makes pass-through work.
How was this patch tested?
I built an image and verified that the following worked:
docker run -it --rm image:version /bin/bash