kruize / autotune

Autonomous Performance Tuning for Kubernetes!
Apache License 2.0
158 stars 54 forks source link

Adding CRUD Operations for DataSource #1146

Closed shekhar316 closed 5 months ago

shekhar316 commented 6 months ago

Description

This PR will do the following changes -

Type of change

How has this been tested?

Using kruize-demo scripts. Image: quay.io/rh-ee-shesaxen/autotune:kruize-crud4

Verified database manually.

Test Configuration

Checklist :dart:

Additional information

Logs: https://privatebin.corp.redhat.com/?1e3664cce5936ae4#HUaaU2fbMiZK2fuYuWrGmUzVTG2scaQxR2vtoG1CY1UC

msvinaykumar commented 5 months ago

U and D missing Should we save it to DB ?

shekhar316 commented 5 months ago

U and D missing Should we save it to DB ?

We don't have APIs for U and D for now. I have written the back-end functions. And yes, we will save the data-sources to DB, but database part is not yet finalized, so I will adding database part for add datasource after PR#1151