-
Notifications
You must be signed in to change notification settings - Fork 459
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
[RFC] Directory Refactor #495
Comments
/cc @richardsliu @YujiOshima @johnugeorge @hougangliu WDYT |
Though currently, health is only used in the manager, it can be used in all services. |
@YujiOshima Make sense. Then I think we should keep it. I updated the proposal, Thanks for your reminder |
it can make katib directory style consistent now. |
Is modelstore used in v1alpha1? |
Model store is currently not used. Most of the code is obsolete and it is written for v1alpha1 api. I don't think, we need to keep the code. @YujiOshima |
Then maybe we could just delete it. model store interface confuses me for a long time. |
Do we need to do this for v1alpha2? This can cause a lot of conflicts with ongoing PRs. |
It is just a suggestion. We can do it after v1alpha2 is released. |
@johnugeorge Yes, the Model store was used before v0.4. We can drop it. |
We should do it, too. |
/close by #737 |
Now the directory layout is a little confusing:
I propose some changes:
pkg/mock/modelstore
topkg/mock/v1alpha1/db
. Maybe we need to change the generate script to do it automatically.pkg/manager/modelstore
topkg/manager/v1alpha1
, since it is version specific implementation. And it will be changed in v1alpha2.pkg/controller/v1alpha2/experiment
topkg/controller/experiment/v1alpha2/
. Becuase the API layout ispkg/api/operators/apis/experiment/v1alpha2
pkg/controller/v1alpha2/trial
topkg/controller/trial/v1alpha2/
pkg/controller/v1alpha1/studyjob
topkg/controller/studyjob/v1alpha2/
pkg/api/operators
topkg/apis/controller/
. The new name follows the same convention withpkg/controller
pkg/api/v1alpha1
andpkg/api/v1alpha2
inpkg/apis/manager
. At the same time, make API proto about suggestions inpkg/apis/suggestion/v1alpha1
andpkg/apis/suggestion/v1alpha2
. Becuase it will be called directly in v1alpha2.The new layout will look like:
The text was updated successfully, but these errors were encountered: