Update Istio sidecar annotation information for the Katib experiments#2320
Conversation
8bitmp3
left a comment
There was a problem hiding this comment.
A few suggestions. Thank you @andreyvelich
| [Istio sidecar injection](https://istio.io/latest/docs/setup/additional-setup/sidecar-injection/#automatic-sidecar-injection). | ||
| If you installed Kubeflow using [Istio config](https://www.kubeflow.org/docs/started/k8s/kfctl-k8s-istio/), | ||
| you have to disable sidecar injection. To do that, specify annotation `sidecar.istio.io/inject: "false"` | ||
| in experiment's trial template. See how to do it for `Job`, `TFJob` or `PyTorchJob` in |
There was a problem hiding this comment.
Suggestion:
| in experiment's trial template. See how to do it for `Job`, `TFJob` or `PyTorchJob` in | |
| in your experiment's trial template. For examples on how to do it for `Job`, `TFJob` (TensorFlow) or `PyTorchJob` (PyTorch), refer to the |
|
|
||
| For example, run the following command to launch an experiment using the | ||
| random algorithm example: | ||
| **Note that**: |
There was a problem hiding this comment.
Suggestion:
| **Note that**: | |
| **Note**: |
| random algorithm example: | ||
| **Note that**: | ||
|
|
||
| - If you deployed Katib as part of Kubeflow, you have to change Kubeflow namespace to your profile namespace. |
There was a problem hiding this comment.
| - If you deployed Katib as part of Kubeflow, you have to change Kubeflow namespace to your profile namespace. | |
| - If you deploy Katib as part of Kubeflow, you have to change the Kubeflow namespace to your profile namespace. |
|
|
||
| - (Optional) Katib's experiments don't work with | ||
| [Istio sidecar injection](https://istio.io/latest/docs/setup/additional-setup/sidecar-injection/#automatic-sidecar-injection). | ||
| If you installed Kubeflow using [Istio config](https://www.kubeflow.org/docs/started/k8s/kfctl-k8s-istio/), |
There was a problem hiding this comment.
| If you installed Kubeflow using [Istio config](https://www.kubeflow.org/docs/started/k8s/kfctl-k8s-istio/), | |
| If you install Kubeflow using [Istio config](https://www.kubeflow.org/docs/started/k8s/kfctl-k8s-istio/), |
|
|
||
| Run the following command to launch an experiment using the random algorithm example: | ||
|
|
||
| ``` |
There was a problem hiding this comment.
@andreyvelich If you have time, can you please add shell to three backticks whenever you see code blocks for command line examples? If you don't have time, don't worry. Thanks!
| ``` | |
| ```shell |
There was a problem hiding this comment.
@andreyvelich If you have time, can you please add
shellto three backticks whenever you see code blocks for command line examples? If you don't have time, don't worry. Thanks!
Sure, I'll do it in #2312. Thanks!
andreyvelich
left a comment
There was a problem hiding this comment.
@8bitmp3 Thank you for the review!
Your comments are addressed.
| [here](https://www.kubeflow.org/docs/components/training/tftraining/#what-is-tfjob) how to set annotation. | ||
|
|
||
| 1. Deploy the example: | ||
| ``` |
There was a problem hiding this comment.
Thank you @andreyvelich One more thing - again, if you have time - can you add blank lines that separate code blocks and text paragraphs here and elsewhere (e.g. lines 327, 337)
| ``` | |
| ```shell |
Appreciate it.
/assign @gaocegege @johnugeorge @sperlingxx
(OWNERS/approvers other than @andreyvelich 👍)
4f511a1 to
d406cc6
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andreyvelich The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
This PR is ready. |
…kubeflow#2320) * Add istio sidecar annotation inforation * Address review comments * Should be your experiment * Annotation step after changing namespace * Fix links
…kubeflow#2320) * Add istio sidecar annotation inforation * Address review comments * Should be your experiment * Annotation step after changing namespace * Fix links
Fixes: kubeflow/katib#1359.
Blocked by: #2312.
In the v1beta1 Katib version user should manually add
sidecar.istio.io/inject: "false"to Experiment's Trial templates./assign @gaocegege @johnugeorge
/cc @RFMVasconcelos @8bitmp3