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

Update REAME example links for v1alpha1 #452

Merged
merged 9 commits into from
Apr 10, 2019
Merged

Update REAME example links for v1alpha1 #452

merged 9 commits into from
Apr 10, 2019

Conversation

alexandraj777
Copy link
Contributor

@alexandraj777 alexandraj777 commented Apr 8, 2019

This change is Reviewable

@k8s-ci-robot
Copy link

Hi @alexandraj777. 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.

@alexandraj777
Copy link
Contributor Author

Eeek, commit message typo 😱

@alexandraj777
Copy link
Contributor Author

/assign @jlewi

```

This is example for pytorch operator

```
kubectl create -f https://raw.githubusercontent.com/kubeflow/katib/master/examples/pytorchjob-example.yaml
kubectl create -f https://raw.githubusercontent.com/kubeflow/katib/master/examples/v1alpha1/pytorchjob-example.yaml
```

You can check status of StudyJob
Copy link
Member

Choose a reason for hiding this comment

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

@@ -189,21 +189,21 @@ spec:
If you are not using GKE and you don't have StorageClass for dynamic volume provisioning at your cluster, you have to create pvc and pv

```
kubectl create -f https://raw.githubusercontent.com/kubeflow/katib/master/examples/tfevent-volume/tfevent-pvc.yaml
kubectl create -f https://raw.githubusercontent.com/kubeflow/katib/master/examples/v1alpha1/tfevent-volume/tfevent-pvc.yaml
Copy link
Member

@hougangliu hougangliu Apr 8, 2019

Choose a reason for hiding this comment

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

Thanks!
please also update linke of line 93, too.
In fact, links in https://github.com/kubeflow/katib/blob/master/docs/developer-guide.md and https://github.com/kubeflow/katib/blob/master/docs/rest-api.md need be updated, too

@alexandraj777
Copy link
Contributor Author

@hougangliu @andreyvelich thanks for the review!

Seems like there's a lot of places to update v1 links. Here, I've only updated the examples/ links, but some of the ones you've pointed out are from the pkg folder and the manifests folder. When I do these in my own repos, I generally like to do PRs based on easy search-and-replaces, with roughly one PR per search and replace. So, I would normally do one PR for examples/ links, one PR for replacing pkg/ links, one for manifests/ links.

I'm not too familiar with how you like to do PRs in this codebase, but would it be ok with you to just leave this PR for the examples/ links, and do followup PRs for the pkg/ changes and the manifests/ changes? Or is separate PRs too much load on reviewers? If not, I'm happy to add the changes to this PR.

@johnugeorge
Copy link
Member

/ok-to-test

@jlewi
Copy link
Contributor

jlewi commented Apr 9, 2019

/assign @andreyvelich
/assign @hougangliu
/unassign @jlewi

@k8s-ci-robot k8s-ci-robot assigned andreyvelich and hougangliu and unassigned jlewi Apr 9, 2019
@jlewi
Copy link
Contributor

jlewi commented Apr 9, 2019

/ok-to-test

@richardsliu
Copy link
Contributor

@alexandraj777 If it's not too much trouble could you fix the other links in the same PR? It is generally cleaner and makes things easier to track. Thanks!

@alexandraj777
Copy link
Contributor Author

@richardsliu that's reasonable, will do

@alexandraj777
Copy link
Contributor Author

Ok I think I've caught all of the changes between pkg, examples, and manifests. The biggest change was rewriting parts of the pkg/api/README.md file to include links for both v1alpha1 and v1alpha2 links. I've attempted to manually verify that all links exist.

This should be ready to go! @hougangliu @andreyvelich anything I missed?

@hougangliu
Copy link
Member

@alexandraj777 thanks for your PR.
/lgtm

@richardsliu
Copy link
Contributor

Thanks Alexandra.
/approve

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: richardsliu

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

@@ -22,7 +22,7 @@ You can build all images from source.

## Implement new suggestion algorithm
Copy link
Member

Choose a reason for hiding this comment

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

@@ -4,10 +4,17 @@ Manager service is an API for core component.
Suggestion service is an API for Suggestion services.
EarlyStopping service is an API for EarlyStopping services.

## Documentation
Please refer to [api.md](./gen-doc/api.md).
## v1alpha1 Documentation
Copy link
Member

Choose a reason for hiding this comment

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

Probably, just name it Documentation? Since we have v1alpha1 and v1alpha2 links here.

@andreyvelich
Copy link
Member

/hold

@andreyvelich
Copy link
Member

andreyvelich commented Apr 10, 2019

@alexandraj777 Thanks for your changes! I left 3 commentaries.

@@ -369,7 +369,7 @@ batch2 accuracy=0.8
Validation-accuracy=0.75
```
The metrics collector will collect all logs of metrics.
The manifest of metrics collector is also generated from template and defined [here](/manifests/studyjobcontroller/metricsControllerConfigMap.yaml).
The manifest of metrics collector is also generated from template and defined [here](./manifests/v1alpha1/studyjobcontroller/metricsControllerConfigMap.yaml).
Copy link
Member

@andreyvelich andreyvelich Apr 10, 2019

Choose a reason for hiding this comment

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

This link doesn't work correctly for me.
As well, I found this line with wrong link:
https://github.com/kubeflow/katib/pull/452/files#diff-be7f7f1b07a698ff4c53ad0e30462b67R202

@k8s-ci-robot k8s-ci-robot removed the lgtm label Apr 10, 2019
@alexandraj777
Copy link
Contributor Author

@andreyvelich I've made changes based on all of your comments!

@andreyvelich
Copy link
Member

Thank you!
/lgtm
/hold cancel

@k8s-ci-robot k8s-ci-robot merged commit 33e8e30 into kubeflow:master Apr 10, 2019
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.

7 participants