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

tensorboard fails to connect if there is a notebook with the same name #50

Open
thesuperzapper opened this issue Jan 24, 2024 · 2 comments · May be fixed by kubeflow/kubeflow#7468
Open

Comments

@thesuperzapper
Copy link
Member

/kind bug

Currently, if you create a Notebook and Tensorboard resource with the same name (in the same namespace), then Istio will not correctly route the traffic to one or the other.

This is caused by the notebook/tensorboard controllers both trying to use the name of the notebook/tensorboard as the name of the Service, in addition to not having a specific enough Pod label selector (notebooks uses statefulset: {notebook_name} and tensorboard uses app: {tensorboard_name}) which is clearly way too broad.

While we are fixing this, we should also have the tensorboard controller name its VirtualServices tensorboard-{tensorboard_name} (rather than just the name of the tensorboard, which could overlap). Note, the notebooks controller already uses notebook-{namespace_name}-{notebook_name} for its VirtualService names.

@andreyvelich
Copy link
Member

/transfer dashboard

Copy link

@thesuperzapper: The label(s) kind/bug cannot be applied, because the repository doesn't have them.

In response to this:

/kind bug

Currently, if you create a Notebook and Tensorboard resource with the same name (in the same namespace), then Istio will not correctly route the traffic to one or the other.

This is caused by the notebook/tensorboard controllers both trying to use the name of the notebook/tensorboard as the name of the Service, in addition to not having a specific enough Pod label selector (notebooks uses statefulset: {notebook_name} and tensorboard uses app: {tensorboard_name}) which is clearly way too broad.

While we are fixing this, we should also have the tensorboard controller name its VirtualServices tensorboard-{tensorboard_name} (rather than just the name of the tensorboard, which could overlap). Note, the notebooks controller already uses notebook-{namespace_name}-{notebook_name} for its VirtualService names.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To Do
Development

Successfully merging a pull request may close this issue.

2 participants