-
Notifications
You must be signed in to change notification settings - Fork 442
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 nodeSelector and securityContext for apiserver #2556
base: master
Are you sure you want to change the base?
Conversation
cc @YQ-Wang @han-steve would you mind reviewing this PR? Thanks! |
This seems like a duplicate of #2523 |
In order to interact with other systems, we need to set the UID and GID of ray pods through the apiserver, so new features are added. 1) enhance securityContext fields in go backend, 2) add securityContext python sdk in python frontend. Could you please review again and help merge this PR? Thanks @kevin85421 |
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.
Looks good to me!
I didn't add the RunAsUser
fields when adding the security context, so this helps to make the properties complete.
Why are these changes needed?
We utilize the combinations of
tolerances
andnodeSelector
to manage which nodes the computing pods would be assigned to. And we also have the apiserver for access control, so it's important to supportnodeSelector
for apiserver. Could you kindly review and merge this PR? Thanks!Related issue number
None
Checks