-
Notifications
You must be signed in to change notification settings - Fork 126
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
Add reset button to reset all resources and scheduler configuration #26
Comments
/assign |
Hi, @sivchari As one additional solution, I would like to propose that integrating with this #64 functions. These are similar to yours in terms of the scope of service its uses and manages. |
As I said before, we had two ways for this feature.
And @sivchari has already created new API to reset scheduler in #54. And, #68 creates "delete all" method in each service. So, in backend, all that remain tasks for us to do is to improve handler layers for each resource.
I cannot catch what your "integrating" means. |
Oops, it's "in each service". I was mistaken and off the main purpose, sorry...
This is means I just thought they were similar in that it calls each service if we had taken the way 1. |
Yes, if we had taken the way 1, we would have created a new service to delete all resources. |
Sorry, I was not clear enough.
I was thinking of implementing something like this. /cc @sanposhiho |
I think #54 is API that only restart scheduler.
What do you think ? |
Okay. So you want to create two APIs:
Why do you think it is better to split into these two APIs? (instead of creating one API to delete all resources and reset scheduler.) |
We defined endpoint to reset scheduler configuration If this solution isn't better, I think we must rethink endpoint. |
So, if we take your suggest way (= creating two endpoints), where should the API which resets all resources be located? |
What I want to say is: Given the current design of the API path, I think these are only two ways we can go I said first.
If we take the way 1, we can create new paths for each resources like |
I haven't catch your idea, yet. #70 is designed by way 2 ? It looks like way 1 design, because this fix means to delete only scheduler configuration. BTW, way 2 is finally called each endpoint. I don't prefer to take that. If we take way 1, client call API one time. So, I prefer to take way 1. I think way 1 endpoint path is probably that you said ( |
Note that I never said which way I think is best for this feature. I just asked you. So, do you prefer the way 1? I guess your answer is "yes". Because you said ↓:
And please answer this previous question. I guess your answer for this question should be "yes". So, here are your remain tasks for this feature, right?:
If your idea is different from the above, please share your design idea that you think is the best in detail. As I mentioned in the PR description, #70 is not needed in case that we go the way 1. So, I'll close this after confirming that you agree to the above.
|
I know.
Yes, your predict is correct.
I agree with it. |
Okay. We've finally got an agreement. Go ahead @sivchari :) |
I closed #70 |
I hold this until #68 is merged |
Hi @sivchari I'd like to put it around here. ↓ But I worry about any conflicts. |
Hi @196Ikuchil, sorry to respond late. We haven't complete all API to delete all resources and scheduler configuration, so I'm not doing implementation webUI yet.
As above reason, you don't worry about any conflicts. Thanks. |
/reopen |
@sanposhiho: Reopened this issue. In response to this:
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. |
Add reset button
need to change both frontend and backend.
/kind feature
The text was updated successfully, but these errors were encountered: