Skip to content

[Feedback] docs/components/spark-operator/getting-started.md #4105

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

Open
ram4444 opened this issue May 4, 2025 · 0 comments
Open

[Feedback] docs/components/spark-operator/getting-started.md #4105

ram4444 opened this issue May 4, 2025 · 0 comments

Comments

@ram4444
Copy link

ram4444 commented May 4, 2025

I want to build a kfp.component which is going to run a sparkApplication, but I cannot find any tutorial of doing so.

From the doc here:
https://www.kubeflow.org/docs/components/pipelines/concepts/component/#constructing-a-component

What I get is using kubectl container just to run a command of kubectl apply -f /mnt/pipeline/spark_app.yaml
while we need to find some way to put the spark_app.yaml somewhere accessible to the container
and also spark_app.yaml points to your containers of pyspark code

why can't we perform the same operation by something like
load_component_from_file("spark_app.yaml")
or
load_component_from_url("https://github.com/kubeflow/spark-operator/blob/master/examples/spark-pi.yaml")

I am new to Kubeflow, please let me know if there is any suitable way already exists

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant