flyte
flyte copied to clipboard
[Docs] Ray plugin documentation missing details
Description
To ensure the example is reproducible, the following elements are missing:
- Make imports visible in the docs page, not only in the flytesnacks repo
- How to set up the ClusterRole with the permissions to create
rayjobs
. Otherwise the example throws an error. This could be part of the plugin setup guide
cannot create resource "rayjobs" in API group "ray.io" in the namespace "flytesnacks-development
In particular, the ClusterRole is missing the following permissions:
rbac:
extraRules:
- apiGroups:
- "ray.io"
resources:
- rayjobs
verbs:
- create
- get
- list
- patch
- update
- delete
Are you sure this issue hasn't been raised already?
- [X] Yes
Have you read the Code of Conduct?
- [X] Yes