Skip to content
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

Add samples to manage Azure Databricks in Kubeflow Pipelines #2709

Merged
merged 6 commits into from
Dec 13, 2019

Conversation

magencio
Copy link
Contributor

@magencio magencio commented Dec 10, 2019

This PR adds the following to the samples/contrib folder:

azure-samples/kfp-azure-databricks folder contains a set of Ops which
allow us to manage Azure Databricks resources directly from our Kubeflow
Pipelines.
These Ops leverage Azure Databricks Operator for Kubernetes to manage
those resources. They wrap ResourceOp and abstract pipeline users from
Kubernetes Operator details.
Supported Ops:

  • CreateClusterOp, to create a cluster in Databricks.
  • DeleteClusterOp, to delete an existing cluster from Databricks.
  • CreateJobOp, to create a Spark Job in Databricks.
  • DeleteJobOp, to delete an existing Spark Job from Databricks.
  • SubmitRunOp, to submit a Job Run in Databricks.
  • DeleteRunOp, to delete an existing Run.

azure-samples/databricks-pipelines folder contains several pipeline
samples:

  • databricks_operator_*.py samples show how to use ResourceOp to
    manage Databricks resources using Azure Databricks Operator.
  • databricks_pkg_*.py samples show how to use Ops in
    kfp-azure-databricks package to do the same.

Additional question to the reviewer:


This change is Reviewable

azure-samples/kfp-azure-databricks folder contains a set of Ops which
allow us to manage Azure Databricks resources directly from our Kubeflow
Pipelines.
These Ops leverage Azure Databricks Operator for Kubernetes to manage
those resources. They wrap ResourceOp and abstract pipeline users from
Kubernetes Operator details.
Supported Ops:

* CreateClusterOp, to create a cluster in Databricks.
* DeleteClusterOp, to delete an existing cluster from Databricks.
* CreateJobOp, to create a Spark Job in Databricks.
* DeleteJobOp, to delete an existing Spark Job from Databricks.
* SubmitRunOp, to submit a Job Run in Databricks.
* DeleteRunOp, to delete an existing Run.

azure-samples/databricks-pipelines folder contains several pipeline
samples:

* databricks_operator_*.py samples show how to use ResourceOp to
manage Databricks resources using Azure Databricks Operator.
* databricks_pkg_*.py samples show how to use Ops in
kfp-azure-databricks package to do the same.
@k8s-ci-robot
Copy link
Contributor

Hi @magencio. Thanks for your PR.

I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@numerology
Copy link

/ok-to-test
Thanks! @magencio

@numerology
Copy link

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: numerology

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit d39ef6e into kubeflow:master Dec 13, 2019
@magencio magencio deleted the databricks-wrapper-samples branch December 16, 2019 08:03
magdalenakuhn17 pushed a commit to magdalenakuhn17/pipelines that referenced this pull request Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants