-
Notifications
You must be signed in to change notification settings - Fork 21
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
Draft: Support DataStore V2 #286
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
State string `json:"state,omitempty"` | ||
} | ||
|
||
type NemoDatastoreV2Params struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should split these into "db", "objectStore", "storage", "sshService" types. And map underlying values as done in the helm chart. Params itself need not be same as helm chart values.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's difficult to categorize the pre-existing secrets into these categorize like the NeMo datastore helmchart..
Some of the pre-existing secrets come with the helmcharts, and they don't seem to be tied to neither "db", "objectStore", "storage", nor "sshService. For example, datastoreInitSecret
contains the shell script for initializing datastore volumes.
We can discuss further during the demo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another option would be to make the NeMo datastore controller fetch and deploy the nemo datastore helmchart... so that the datastore CR can be formatted exactly like the helm chart values file
55ee5ce
to
d16ae69
Compare
Signed-off-by: Sheng Lin <[email protected]>
Signed-off-by: Sheng Lin <[email protected]>
Signed-off-by: Sheng Lin <[email protected]>
New API for supporting DataStore V2
Sample CR can be found at
config/samples/apps_v1alpha1_nimdatastorev2.yaml
pre-requisite components:
Secrets as specified in
.spec.dataStoreParams
that need to be created before deploying DataStore microservice