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

Persistence agent for ODAHU CRD #268

Closed
vlad-tokarev opened this issue Jun 18, 2020 · 0 comments
Closed

Persistence agent for ODAHU CRD #268

vlad-tokarev opened this issue Jun 18, 2020 · 0 comments
Assignees
Labels

Comments

@vlad-tokarev
Copy link
Member

After implementation of base persistence layer
#175

Now, we need create service named "Odahu Persistence Agent". Is separate process running using k8s tools (go-client, etc) and monitor odahu k8s CRD and persist them into the main storage

@vlad-tokarev vlad-tokarev self-assigned this Jun 18, 2020
@vlad-tokarev vlad-tokarev added this to To do in odahu-kanban Jul 8, 2020
@vlad-tokarev vlad-tokarev moved this from To do to In progress in odahu-kanban Jul 8, 2020
@vlad-tokarev vlad-tokarev moved this from In progress to To do in odahu-kanban Jul 14, 2020
@vlad-tokarev vlad-tokarev moved this from To do to In progress in odahu-kanban Jul 17, 2020
vlad-tokarev added a commit that referenced this issue Jul 22, 2020
vlad-tokarev added a commit that referenced this issue Jul 26, 2020
vlad-tokarev added a commit that referenced this issue Jul 27, 2020
vlad-tokarev added a commit that referenced this issue Jul 27, 2020
vlad-tokarev added a commit that referenced this issue Jul 28, 2020
vlad-tokarev added a commit that referenced this issue Jul 28, 2020
vlad-tokarev added a commit that referenced this issue Jul 29, 2020
vlad-tokarev added a commit that referenced this issue Jul 29, 2020
vlad-tokarev added a commit that referenced this issue Jul 29, 2020
vlad-tokarev added a commit that referenced this issue Jul 30, 2020
vlad-tokarev added a commit that referenced this issue Jul 30, 2020
vlad-tokarev added a commit that referenced this issue Jul 30, 2020
vlad-tokarev added a commit that referenced this issue Jul 30, 2020
vlad-tokarev added a commit that referenced this issue Jul 30, 2020
vlad-tokarev added a commit that referenced this issue Jul 30, 2020
vlad-tokarev added a commit that referenced this issue Jul 30, 2020
vlad-tokarev added a commit that referenced this issue Jul 30, 2020
vlad-tokarev added a commit that referenced this issue Jul 30, 2020
vlad-tokarev added a commit that referenced this issue Jul 30, 2020
vlad-tokarev added a commit that referenced this issue Sep 11, 2020
* Implement packaging service layer
* Add context to packaging repository
* Webserver uses packaging_service.go not packaging repository
* Controller uses packaging_service.go not packaging repository
vlad-tokarev added a commit that referenced this issue Sep 11, 2020
* Implement deployment service layer
* Add context to deployment repository
* Webserver uses deployment_service.go.go not deployment repository
* Controller uses deployment_service.go not deployment repository
vlad-tokarev added a commit that referenced this issue Sep 11, 2020
vlad-tokarev added a commit that referenced this issue Sep 11, 2020
vlad-tokarev added a commit that referenced this issue Sep 11, 2020
* CreatedAt, UpdatedAt added to trainining repo
* Use squirrel builder for GetModelTraining method instead of manual sql query formatting
* UpdateModelTraining repo method now does not drop .Status.State
vlad-tokarev added a commit that referenced this issue Sep 11, 2020
…ice.go now drop status and update fields CreatedAt, UpdatedAt
vlad-tokarev added a commit that referenced this issue Sep 11, 2020
vlad-tokarev added a commit that referenced this issue Sep 11, 2020
vlad-tokarev added a commit that referenced this issue Sep 12, 2020
vlad-tokarev added a commit that referenced this issue Sep 12, 2020
vlad-tokarev added a commit that referenced this issue Sep 12, 2020
* CreatedAt, UpdatedAt added to trainining repo
* Use squirrel builder for GetModelTraining method instead of manual sql query formatting
* UpdateModelTraining repo method now does not drop .Status.State
vlad-tokarev added a commit that referenced this issue Sep 12, 2020
…ice.go now drop status and update fields CreatedAt, UpdatedAt
vlad-tokarev added a commit that referenced this issue Sep 12, 2020
vlad-tokarev added a commit that referenced this issue Sep 12, 2020
vlad-tokarev added a commit that referenced this issue Sep 14, 2020
* Add tests
* Rename syncer -> adapter (adapters are used by generic_worker.go)
* Rename runners_manager -> controller
* Now: Controller syncs "DB spec" and" Runtime (kubernetes) Status" using generic workers with different adapters (training adapter, packaging adapter and so on)
* Move controller to different HELM deployment
* Add context.Context into all repositories methods
* Passing custom interface (utils.Querier) to interact with db to all repositories explicitly (for *sql.DB and sql.Tx interchangeability)
* Function to calculate struct hashes encapsulated to avoid direct call of external library
* Add service layer with business logic between WebServer <-> Repository / Controller <-> Repository
* If controller push new status from runtime to storage and reveal that spec in its update is stale then controller forget about this update (update is not actual cuz we have new Spec in storage)
vlad-tokarev added a commit that referenced this issue Sep 14, 2020
vlad-tokarev added a commit that referenced this issue Sep 14, 2020
vlad-tokarev added a commit that referenced this issue Sep 14, 2020
* CreatedAt, UpdatedAt added to trainining repo
* Use squirrel builder for GetModelTraining method instead of manual sql query formatting
* UpdateModelTraining repo method now does not drop .Status.State
vlad-tokarev added a commit that referenced this issue Sep 14, 2020
…ice.go now drop status and update fields CreatedAt, UpdatedAt
vlad-tokarev added a commit that referenced this issue Sep 14, 2020
vlad-tokarev added a commit that referenced this issue Sep 14, 2020
odahu-kanban automation moved this from In progress to Done Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
odahu-kanban
  
Done
Development

No branches or pull requests

1 participant