Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
Signed-off-by: Aazam Thakur <[email protected]>
  • Loading branch information
aazam-gh committed Oct 10, 2024
1 parent 1942173 commit a734312
Showing 1 changed file with 56 additions and 3 deletions.
59 changes: 56 additions & 3 deletions docs/deployment/plugins/k8s/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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/>`__.
Expand Down Expand Up @@ -595,7 +608,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
.. group-tab:: flyte-core

.. tabs::
Expand Down Expand Up @@ -687,7 +713,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
sparkoperator:
enabled: true
plugin_config:
Expand Down Expand Up @@ -748,6 +787,20 @@ Specify plugin configuration
- development:
- gsa:
value: "<GoogleServiceAccount-email>"
rbac:
create: true
extraRules:
- apiGroups:
- "ray.io"
resources:
- rayjobs
verbs:
- create
- get
- list
- patch
- update
- delete
templates:
# -- Template for namespaces resources
- key: aa_namespace
Expand Down

0 comments on commit a734312

Please sign in to comment.