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

[k8s] Fix check pod privileges #4270

Closed
wants to merge 2 commits into from
Closed

Conversation

romilbhardwaj
Copy link
Collaborator

#4240 introduced a bug when provisioning multi-node clusters with a custom image that does not have sudo installed:

sky launch -c test --num-nodes 4 --cloud kubernetes --image-id  nvcr.io/nvidia/nemo:24.05.01 -- echo hi
Would fail with sudo not found error

As an optimization #4240 had ran privilege check in only the head node, but it's necessary to be run in all pods to make sure sudo alias is setup correctly. This PR fixes that.

Tested with sky launch -c test --num-nodes 4 --cloud kubernetes --image-id nvcr.io/nvidia/nemo:24.05.01 -- echo hi

@romilbhardwaj
Copy link
Collaborator Author

Closing in favor of #4297.

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.

1 participant