-
Notifications
You must be signed in to change notification settings - Fork 680
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
initial commit #5839
base: master
Are you sure you want to change the base?
initial commit #5839
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -431,7 +431,20 @@ Specify plugin configuration | |||
- kind: ServiceAccount | ||||
name: spark | ||||
namespace: "{{ namespace }}" | ||||
|
||||
rbac: | ||||
create: true | ||||
extraRules: | ||||
- apiGroups: | ||||
- "ray.io" | ||||
resources: | ||||
- rayjobs | ||||
verbs: | ||||
- create | ||||
- get | ||||
- list | ||||
- patch | ||||
- update | ||||
- delete | ||||
2. (Optional) The Spark operator supports Kubernetes ResourceQuota enforcement. If you plan to use it, | ||||
set `per-Task resource requests <https://docs.flyte.org/en/latest/user_guide/productionizing/customizing_task_resources.html#customizing-task-resources>`__ that fit into the quota for each project-namespace. A Task without resource requests | ||||
or limits will be rejected by the K8s scheduler as described `in the Kubernetes docs <https://kubernetes.io/docs/concepts/policy/resource-quotas/>`__. | ||||
|
@@ -595,7 +608,20 @@ Specify plugin configuration | |||
- kind: ServiceAccount | ||||
name: spark | ||||
namespace: "{{ namespace }}" | ||||
|
||||
rbac: | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Same here, this section is not Ray but Spark. Please remove |
||||
create: true | ||||
extraRules: | ||||
- apiGroups: | ||||
- "ray.io" | ||||
resources: | ||||
- rayjobs | ||||
verbs: | ||||
- create | ||||
- get | ||||
- list | ||||
- patch | ||||
- update | ||||
- delete | ||||
.. group-tab:: flyte-core | ||||
|
||||
.. tabs:: | ||||
|
@@ -687,7 +713,20 @@ Specify plugin configuration | |||
- kind: ServiceAccount | ||||
name: spark | ||||
namespace: {{ namespace }} | ||||
|
||||
rbac: | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
create: true | ||||
extraRules: | ||||
- apiGroups: | ||||
- "ray.io" | ||||
resources: | ||||
- rayjobs | ||||
verbs: | ||||
- create | ||||
- get | ||||
- list | ||||
- patch | ||||
- update | ||||
- delete | ||||
sparkoperator: | ||||
enabled: true | ||||
plugin_config: | ||||
|
@@ -748,6 +787,20 @@ Specify plugin configuration | |||
- development: | ||||
- gsa: | ||||
value: "<GoogleServiceAccount-email>" | ||||
rbac: | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
create: true | ||||
extraRules: | ||||
- apiGroups: | ||||
- "ray.io" | ||||
resources: | ||||
- rayjobs | ||||
verbs: | ||||
- create | ||||
- get | ||||
- list | ||||
- patch | ||||
- update | ||||
- delete | ||||
templates: | ||||
# -- Template for namespaces resources | ||||
- key: aa_namespace | ||||
|
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.
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.
@aazam-gh Please remove this whole section as it belongs to Spark config, which is not the focus of the issue