kuberay icon indicating copy to clipboard operation
kuberay copied to clipboard

[Feature] Support namespace scoped deployment

Open Jeffwan opened this issue 3 years ago • 2 comments

Search before asking

  • [X] I had searched in the issues and found no similar feature requirement.

Description

In our company, we start to limit the access to platform users on Kubernetes cluster. That means, user will only have permission to operate objects in single namespace. cluster level objects like crds, clusterroles, clusterrolerolebings has to be submited to ops team and ask them to apply to the cluster.

In this case, current deployment way doesn't work in one-click.

kubectl apply -k "github.com/ray-project/kuberay/manifests/cluster-scope-resources"
kubectl apply -k "github.com/ray-project/kuberay/manifests/base"

We need to provide a kustomize override to limit the kuberay to single specificed namespace for a successful deployment.

Use case

No response

Related issues

No response

Are you willing to submit a PR?

  • [ ] Yes I am willing to submit a PR!

Jeffwan avatar Apr 11 '22 02:04 Jeffwan

What is our new expectation on this change?

  1. Shall we separate crds, clusterroles, clusterrolerolebings yamls to different places?
  2. are we supposed to change this apply procedure to a two phases? 1. apply controllers. 2 apply required crds, clusterroles, clusterrolerolebings yamls

wilsonwang371 avatar Apr 21 '22 21:04 wilsonwang371

@wilsonwang371 @Jeffwan we covered this in #258 right?

DmitriGekhtman avatar Jul 13 '22 05:07 DmitriGekhtman

Close this issue because it is covered by #258 and #860. Feel free to reopen this issue if I am wrong.

kevin85421 avatar Jan 28 '23 08:01 kevin85421