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

Add support for NeMo Customizer #305

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

Conversation

shivamerla
Copy link
Collaborator

No description provided.

Copy link

copy-pr-bot bot commented Jan 30, 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.

@shivamerla shivamerla requested a review from shengnuo January 31, 2025 14:06
@shivamerla shivamerla force-pushed the add_nemo_customizer_support branch from b3f6c00 to ad941a9 Compare January 31, 2025 14:10
@shivamerla shivamerla requested review from varunrsekar and removed request for ArangoGutierrez January 31, 2025 14:45
api/apps/v1alpha1/nemo_common_types.go Outdated Show resolved Hide resolved
api/apps/v1alpha1/nemo_common_types.go Outdated Show resolved Hide resolved
api/apps/v1alpha1/nemo_common_types.go Outdated Show resolved Hide resolved
api/apps/v1alpha1/nemo_common_types.go Show resolved Hide resolved
internal/controller/nemocustomizer_controller.go Outdated Show resolved Hide resolved
api/apps/v1alpha1/nemo_common_types.go Outdated Show resolved Hide resolved
Comment on lines 139 to 140
// Enabled indicates whether Volcano scheduler is enabled
Enabled bool `json:"enabled,omitempty"`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We dont need this

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i still want to keep this as for other microservices where this is optional, users can toggle the field dynamically without adding/removing entire spec.

api/apps/v1alpha1/nemo_customizer_types.go Outdated Show resolved Hide resolved
api/apps/v1alpha1/nemo_customizer_types.go Outdated Show resolved Hide resolved
api/apps/v1alpha1/nemo_customizer_types.go Outdated Show resolved Hide resolved
Comment on lines +37 to +50
// NemoCustomizerConditionReady indicates that the NEMO CustomizerService is ready.
NemoCustomizerConditionReady = "Ready"
// NemoCustomizerConditionFailed indicates that the NEMO CustomizerService has failed.
NemoCustomizerConditionFailed = "Failed"

// NemoCustomizerStatusPending indicates that NEMO CustomizerService is in pending state
NemoCustomizerStatusPending = "Pending"
// NemoCustomizerStatusNotReady indicates that NEMO CustomizerService is not ready
NemoCustomizerStatusNotReady = "NotReady"
// NemoCustomizerStatusReady indicates that NEMO CustomizerService is ready
NemoCustomizerStatusReady = "Ready"
// NemoCustomizerStatusFailed indicates that NEMO CustomizerService has failed
NemoCustomizerStatusFailed = "Failed"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see all NeMo microservices use similar status type.
Maybe we should consider moving them under common_types.go

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, makes sense, can do that as a follow up.

api/apps/v1alpha1/nemo_customizer_types.go Outdated Show resolved Hide resolved
api/apps/v1alpha1/nemo_customizer_types.go Show resolved Hide resolved
Signed-off-by: Shiva Krishna, Merla <smerla@nvidia.com>
Signed-off-by: Shiva Krishna, Merla <smerla@nvidia.com>
Signed-off-by: Shiva Krishna, Merla <smerla@nvidia.com>
Signed-off-by: Shiva Krishna, Merla <smerla@nvidia.com>
@shivamerla shivamerla force-pushed the add_nemo_customizer_support branch from 8af2740 to 977e421 Compare February 1, 2025 05:05
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