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

fixes 'refactor tf-job-operator to match style-guide of libsonnet' #1535

Merged
merged 27 commits into from Sep 23, 2018

Conversation

kkasravi
Copy link
Contributor

@kkasravi kkasravi commented Sep 14, 2018

Fixes #1534


This change is Reviewable

@kkasravi
Copy link
Contributor Author

/assign @pdmack

@kkasravi
Copy link
Contributor Author

/assign @ankushagarwal

@kkasravi
Copy link
Contributor Author

/assign @cheyang

@pdmack
Copy link
Member

pdmack commented Sep 15, 2018

/retest

@kkasravi
Copy link
Contributor Author

/cc @jlewi

@jlewi
Copy link
Contributor

jlewi commented Sep 17, 2018

What's the motivation for refactoring the TFJob operator spec to use k8s.libsonnet mixins as opposed to just writing the manifest directly? Is this intended to help readability?

@kkasravi
Copy link
Contributor Author

Thanks @jlewi - so happy you're back. I'll convert to the style you've suggested above.

For tf-serving - should i pick that up since it's similar to tensorboard?

@jlewi
Copy link
Contributor

jlewi commented Sep 18, 2018

Thanks for the warm regards :)

If you could pick up tf-serving that would be great; but I'd suggest letting in @lluunn because I think that was also on his radar.

Note to get the tests passed you'll have to update them to work with ks 0.12 see
#1540 (comment)

@jlewi
Copy link
Contributor

jlewi commented Sep 19, 2018

I think this PR requires ks 0.12. So I don't think this will pass until you make the changes I described here
#1540 (comment)

Feel free to ping me on slack if you want to discuss.

@kkasravi
Copy link
Contributor Author

/retest

1 similar comment
@kkasravi
Copy link
Contributor Author

/retest

@jlewi
Copy link
Contributor

jlewi commented Sep 21, 2018

Looks like some jsonnet test failures; so I assume an issue with this PR.

@kkasravi
Copy link
Contributor Author

Note - there is a subtle issue in the crd definition - see #1606

namespace:: "test-kf-001",
local paramsv1alpha1 = {
name:: "tf-job-operator",
tfJobImage:: "gcr.io/kubeflow-images-public/tf_operator:v20180226-403",
Copy link
Contributor

Choose a reason for hiding this comment

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

Please change to
gcr.io/kubeflow-images-public/tf_operator:v0.3.0 so it won't collide with #1608

@jlewi
Copy link
Contributor

jlewi commented Sep 23, 2018

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jlewi

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 e803375 into kubeflow:master Sep 23, 2018
richardsliu pushed a commit that referenced this pull request Sep 25, 2018
…1535)

* /retest

* snapshot

* snapshot

* snapshot

* all resources converted

* consolidate rules

* formatting, comments

* remove test params, env

* fixed tf-job-operator test

* /retest

* /retest

* /retest

* add scope to crd's and include tests

* /retest

* /retest

* /retest

* /retest

* bump gke version

* snapshot

* for params.deploymentScope:cluster the crd should not have any scope which defaults to cluster and also passes validation

* /retest
saffaalvi pushed a commit to StatCan/kubeflow that referenced this pull request Feb 11, 2021
…ubeflow#1535)

* /retest

* snapshot

* snapshot

* snapshot

* all resources converted

* consolidate rules

* formatting, comments

* remove test params, env

* fixed tf-job-operator test

* /retest

* /retest

* /retest

* add scope to crd's and include tests

* /retest

* /retest

* /retest

* /retest

* bump gke version

* snapshot

* for params.deploymentScope:cluster the crd should not have any scope which defaults to cluster and also passes validation

* /retest
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.

None yet

7 participants