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

Add rbac for deployment #230

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

guptaNswati
Copy link
Contributor

To fix #229 cc @dekonnection

$ kubectl auth can-i get deployments --as=system:serviceaccount:nvidia-dra-driver:nvidia-dra-driver-k8s-dra-driver-service-account -n nvidia-dra-driver
yes

Signed-off-by: Swati Gupta <[email protected]>
@dekonnection
Copy link

Hi, I tried your branch, it fixed the initial error but now I get this one:

Failed to prepare dynamic resources: NodePrepareResources failed for claim lab/mps-gpu-7c9db8954b-mbwj5-mps-gpus-682s2: error preparing devices for claim 37925188-b216-4aa3-8ca7-f32cf28476ae: prepare devices failed: error applying GPU config: MPS control daemon is not yet ready: error listing pods from deployment

@guptaNswati
Copy link
Contributor Author

@dekonnection I added permissions for job and pods. Hopefully that will fix the errors.

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.

Regression on MPS setups following changes in clusterrole
2 participants