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

Draft: Support DataStore V2 #286

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Draft: Support DataStore V2 #286

wants to merge 3 commits into from

Conversation

shengnuo
Copy link

New API for supporting DataStore V2

Sample CR can be found at config/samples/apps_v1alpha1_nimdatastorev2.yaml

pre-requisite components:

  • Minio
  • Postgres

Secrets as specified in .spec.dataStoreParams that need to be created before deploying DataStore microservice

  • datastoreConfigSecret
  • datastoreInitSecret
  • datastoreInlineConfigSecret
  • datastoreSettingsSecret
  • dbSecret
  • giteaAdminSecret
  • lfsJwtSecret
  • objStoreSecret

Copy link

copy-pr-bot bot commented Jan 16, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@shengnuo shengnuo changed the title Support DataStore V2 Draft: Support DataStore V2 Jan 16, 2025
slu2011
slu2011 previously approved these changes Jan 16, 2025
Copy link
Collaborator

@slu2011 slu2011 left a 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 {
Copy link
Collaborator

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.

Copy link
Author

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

Copy link
Author

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

shil and others added 2 commits January 18, 2025 18:20
Signed-off-by: Sheng Lin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants