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 Support for Argo Workflows #1605

Conversation

andreyvelich
Copy link
Member

Fixes: #1081.

I was able to integrate Argo Workflows in Katib's Experiment.
Thanks to @alexec and @terrytangyuan for helping with this issue: argoproj/argo-workflows#4545.

Please take a look.
/assign @gaocegege @johnugeorge

cc @jbottum @terrykong @nielsmeima

@andreyvelich
Copy link
Member Author

/hold for the review

Copy link
Member

@gaocegege gaocegege left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍
/lgtm

@gaocegege
Copy link
Member

/cc @terrytangyuan

Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this! Looks great overall except for some minor comments.


Here you can find examples of using Katib with [Argo Workflows](https://github.com/argoproj/argo-workflows).

**Note:** You have to install `Argo >= v3.1` to use it in Katib Experiments.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v3.1.3 to be consistent with below? Otherwise need to verify v3.1 works in general

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, thank you for pointing this.

@@ -62,6 +62,12 @@ rules:
- taskruns
verbs:
- "*"
- apiGroups:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If users are not using Argo, they’ll have to add these permissions? I’d recommend adding these to a separate file to help users who would like to use Argo

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 But,we didn't do this for other operators as well

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@terrytangyuan @johnugeorge Do you think it's better to add steps for updating Katib controller and RBAC to appropriate README. For example, for Argo: https://github.com/kubeflow/katib/blob/8acbffcab5ce8d74742967a8d3665ab72faf351c/examples/v1beta1/argo/README.md and for Tekton: https://github.com/kubeflow/katib/tree/master/examples/v1beta1/tekton

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I think that should be fine.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM

Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@andreyvelich andreyvelich force-pushed the issue-1081-support-argo-workflow branch from d206da5 to 17455d7 Compare August 4, 2021 16:28
@andreyvelich
Copy link
Member Author

I've made changes for Tekton and Argo docs.
@terrytangyuan @johnugeorge @gaocegege Please take a look.

@andreyvelich
Copy link
Member Author

/retest

2 similar comments
@andreyvelich
Copy link
Member Author

/retest

@andreyvelich
Copy link
Member Author

/retest

Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andreyvelich, gaocegege, terrytangyuan

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:
  • OWNERS [andreyvelich,gaocegege]

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

@andreyvelich
Copy link
Member Author

/hold cancel

@google-oss-robot google-oss-robot merged commit 6d54d4a into kubeflow:master Aug 5, 2021
@andreyvelich andreyvelich deleted the issue-1081-support-argo-workflow branch October 3, 2021 00:47
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.

Support argo Workflow CRD as new trial kind
5 participants