-
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
Conversation
Signed-off-by: Aazam Thakur <[email protected]>
Thank you for opening this pull request! 🙌 These tips will help get your PR across the finish line:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5839 +/- ##
==========================================
+ Coverage 36.31% 36.34% +0.02%
==========================================
Files 1304 1304
Lines 110048 110148 +100
==========================================
+ Hits 39969 40032 +63
- Misses 65923 65948 +25
- Partials 4156 4168 +12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@aazam-gh thanks for the pr. will let @davidmirror-ops comment on this when he's back next week, but this pr looks good. You tested the changes in demo cluster? Also this pr doesn't close out the entire issue right? There's a couple other changes it needs? |
Yes this pr does need to include more changes. I have not tested it yet, will do ! |
@@ -431,7 +431,20 @@ Specify plugin configuration | |||
- kind: ServiceAccount | |||
name: spark | |||
namespace: "{{ namespace }}" | |||
|
|||
rbac: |
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.
rbac: |
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
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 thanks for contributing and really sorry about the delays.
This is the relevant section that has to be updated:
flyte/docs/deployment/plugins/k8s/index.rst
Lines 252 to 304 in 27c9edd
.. group-tab:: Ray | |
.. tabs:: | |
.. group-tab:: Flyte binary | |
Create a file named ``values-override.yaml`` and add the following config to it: | |
.. code-block:: yaml | |
configuration: | |
inline: | |
tasks: | |
task-plugins: | |
enabled-plugins: | |
- container | |
- sidecar | |
- k8s-array | |
- ray | |
default-for-task-types: | |
- container: container | |
- container_array: k8s-array | |
- ray: ray | |
plugins: | |
ray: | |
// Shutdown Ray cluster after 1 hour of inactivity | |
ttlSecondsAfterFinished: 3600 | |
.. group-tab:: Flyte core | |
Create a file named ``values-override.yaml`` and add the following config to it: | |
.. code-block:: yaml | |
:emphasize-lines: 9,14 | |
configmap: | |
enabled_plugins: | |
tasks: | |
task-plugins: | |
enabled-plugins: | |
- container | |
- sidecar | |
- k8s-array | |
- ray | |
default-for-task-types: | |
container: container | |
sidecar: sidecar | |
container_array: k8s-array | |
ray: ray | |
plugins: | |
ray: | |
// Shutdown Ray cluster after 1 hour of inactivity | |
ttlSecondsAfterFinished: 3600 |
Let me know if you need help
Thanks
@@ -431,7 +431,20 @@ Specify plugin configuration | |||
- kind: ServiceAccount | |||
name: spark | |||
namespace: "{{ namespace }}" | |||
|
|||
rbac: |
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
@@ -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 comment
The reason will be displayed to describe this comment to others. Learn more.
rbac: |
Same here, this section is not Ray but Spark. Please remove
@@ -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 comment
The reason will be displayed to describe this comment to others. Learn more.
rbac: |
@@ -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 comment
The reason will be displayed to describe this comment to others. Learn more.
rbac: |
Tracking issue
Fixes #5738
Why are the changes needed?
In order to ensure that this example is reproducible.
What changes were proposed in this pull request?
Updating
index.rst
under docs/deployment/pluginsHow was this patch tested?
Setup process
Screenshots
Check all the applicable boxes
Related PRs
Docs link