Tf-operator: Deleting tf-job through the dashboard is not working

Created on 28 May 2019  路  6Comments  路  Source: kubeflow/tf-operator

When i tried to delete a tf-job through tf-job dashboard. I get a message saying "Are you sure you want to delete TFJob "test" in namespace "test"?"

Screen Shot 2019-05-28 at 2 07 48 PM

kinbug

All 6 comments

Issue-Label Bot is automatically applying the label kind/bug to this issue, with a confidence of 0.95. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

I think I know what's going on.

The message is just misleading - looks like it is hardcoded.

Also for deletion to work, the user needs to actually click on the TFJob to delete. This means that the URL should be something like

http://127.0.0.1:8080/api/v1/namespaces/kubeflow/services/tf-job-dashboard/proxy/tfjobs/ui/#/[namespace]/[name]

instead of just

http://127.0.0.1:8080/api/v1/namespaces/kubeflow/services/tf-job-dashboard/proxy/tfjobs/ui/#/

If either the namespace or name is missing in the request, the deletion will fail.

Is the TFJob dashboard worth keeping?

Moving this out of 1.0 since the dashboard is being deprecated.

Will reconsider this in 0.7 if there is a demand to bring back the dashboard.

I think we can close this now since the dashboard is deprecated.

/close

@richardsliu: Closing this issue.

In response to this:

I think we can close this now since the dashboard is deprecated.

/close

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.

Was this page helpful?
0 / 5 - 0 ratings