-
Notifications
You must be signed in to change notification settings - Fork 706
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
Updated examples/pytorch to disable istio sidecar injection #2004
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
/lgtm
/approve
/assign @kubeflow/wg-training-leads
for approval CI.
/hold |
Thank you for creating this PR @jdcfd! |
@andreyvelich I'm ok with either way. I think that the inconsistent examples and docs brought confusions :( |
Pull Request Test Coverage Report for Build 8015652309Details
💛 - Coveralls |
Hi all, thanks for the feedback. I have to admit this is all new to me, even the process of submitting a PR to an open-source project so bear with me. From what I understood, it is not always necessary to add the Istio annotation, therefore, the user should do it manually if necessary. That was the path you took for katib. In that case, one option is to remove annotation from all examples and add a comment in Is this the same with all other training operators? or only pytorch? |
Oh, I see. Welcome to the kubeflow community :) |
Welcome to the community @jdcfd! |
/lgtm cancel |
/approve cancel |
@tenzen-y @andreyvelich I have removed the istio annotations from the examples, added some comments to the README file for PyTorch jobs and submitted a PR to the kubeflow/website repo: kubeflow/website#3686 |
examples/pytorch/cpu-demo/demo.yaml
Outdated
@@ -13,7 +13,7 @@ spec: | |||
containers: | |||
- name: pytorch | |||
image: pytorch-cpu:py3.8 | |||
imagePullPolicy: Always | |||
imagePullPolicy: IfNotPresent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove this imagePullPolicy, since IfNotPresent is set by default in Kubernetes container.
…ytorch/README.md Signed-off-by: Juan Diego Colmenares Fernandez <cielocfd@gmail.com>
Removed pull policy Signed-off-by: Juan Diego Colmenares Fernandez <cielocfd@gmail.com>
@tenzen-y I removed the istio annotations as discussed. I also submitted a PR to the documentation website repo. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution @jdcfd 🎉
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andreyvelich, jdcfd 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 |
/hold cancel |
…#2004) * Removed istio annotations from examples. Added comments to examples/pytorch/README.md Signed-off-by: Juan Diego Colmenares Fernandez <cielocfd@gmail.com> * Update demo.yaml Removed pull policy Signed-off-by: Juan Diego Colmenares Fernandez <cielocfd@gmail.com> --------- Signed-off-by: Juan Diego Colmenares Fernandez <cielocfd@gmail.com> Signed-off-by: deepanker13 <deepanker.gupta@nutanix.com>
…#2004) * Removed istio annotations from examples. Added comments to examples/pytorch/README.md Signed-off-by: Juan Diego Colmenares Fernandez <cielocfd@gmail.com> * Update demo.yaml Removed pull policy Signed-off-by: Juan Diego Colmenares Fernandez <cielocfd@gmail.com> --------- Signed-off-by: Juan Diego Colmenares Fernandez <cielocfd@gmail.com>
…#2004) * Removed istio annotations from examples. Added comments to examples/pytorch/README.md Signed-off-by: Juan Diego Colmenares Fernandez <cielocfd@gmail.com> * Update demo.yaml Removed pull policy Signed-off-by: Juan Diego Colmenares Fernandez <cielocfd@gmail.com> --------- Signed-off-by: Juan Diego Colmenares Fernandez <cielocfd@gmail.com>
What this PR does / why we need it:
Examples do not work because of istio sidecar injection causing trouble
Which issue(s) this PR fixes (optional, in
Fixes #<issue number>, #<issue number>, ...
format, will close the issue(s) when PR gets merged):Fixes #1637
Checklist: