We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Creating a TrainJob on cluster with pod security admission configured to run containers as non-root:
from kubeflow.training import TrainingClient, Trainer def train_func(): pass job_name = TrainingClient().train( runtime_ref="torch-distributed", trainer=Trainer(func=train_func), )
Fails with permissions denied to read the train function script.
Running TrainJob as root should not be required. and the TrainJob should succeed when run as non-root.
Kubernetes version:
$ kubectl version Client Version: v1.31.1 Kustomize Version: v5.4.2 Server Version: v1.27.11+ec42b99
Training Operator Python SDK version:
$ pip show kubeflow-training Version: 2.0.0
Give it a 👍 We prioritize the issues with most 👍
The text was updated successfully, but these errors were encountered:
Thanks for creating this @astefanutti!
/remove-label lifecycle/needs-triage /area sdk
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
What happened?
Creating a TrainJob on cluster with pod security admission configured to run containers as non-root:
Fails with permissions denied to read the train function script.
What did you expect to happen?
Running TrainJob as root should not be required. and the TrainJob should succeed when run as non-root.
Environment
Kubernetes version:
Training Operator Python SDK version:
Impacted by this bug?
Give it a 👍 We prioritize the issues with most 👍
The text was updated successfully, but these errors were encountered: