Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: add fields documentation in CRDs
  • Loading branch information
julienmancuso committed Aug 14, 2025
commit eabdf697054f01882231d098e1c5480903ce1b71
Original file line number Diff line number Diff line change
Expand Up @@ -10199,10 +10199,12 @@ spec:
type: string
type: object
gpu:
description: GPU is the number of GPUs to request per node.
type: string
memory:
type: string
nodes:
description: Nodes is the number of nodes to request. Total number of GPUs will be GPU * Nodes.
type: string
type: object
requests:
Expand All @@ -10214,10 +10216,12 @@ spec:
type: string
type: object
gpu:
description: GPU is the number of GPUs to request per node.
type: string
memory:
type: string
nodes:
description: Nodes is the number of nodes to request. Total number of GPUs will be GPU * Nodes.
type: string
type: object
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10298,10 +10298,12 @@ spec:
type: string
type: object
gpu:
description: GPU is the number of GPUs to request per node.
type: string
memory:
type: string
nodes:
description: Nodes is the number of nodes to request. Total number of GPUs will be GPU * Nodes.
type: string
type: object
requests:
Expand All @@ -10313,10 +10315,12 @@ spec:
type: string
type: object
gpu:
description: GPU is the number of GPUs to request per node.
type: string
memory:
type: string
nodes:
description: Nodes is the number of nodes to request. Total number of GPUs will be GPU * Nodes.
type: string
type: object
type: object
Expand Down
8 changes: 5 additions & 3 deletions deploy/cloud/operator/api/dynamo/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ import (
)

type ResourceItem struct {
CPU string `json:"cpu,omitempty"`
Memory string `json:"memory,omitempty"`
GPU string `json:"gpu,omitempty"`
CPU string `json:"cpu,omitempty"`
Memory string `json:"memory,omitempty"`
// GPU is the number of GPUs to request per node.
GPU string `json:"gpu,omitempty"`
// Nodes is the number of nodes to request. Total number of GPUs will be GPU * Nodes.
Nodes string `json:"nodes,omitempty"`
Custom map[string]string `json:"custom,omitempty"`
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10199,10 +10199,12 @@ spec:
type: string
type: object
gpu:
description: GPU is the number of GPUs to request per node.
type: string
memory:
type: string
nodes:
description: Nodes is the number of nodes to request. Total number of GPUs will be GPU * Nodes.
type: string
type: object
requests:
Expand All @@ -10214,10 +10216,12 @@ spec:
type: string
type: object
gpu:
description: GPU is the number of GPUs to request per node.
type: string
memory:
type: string
nodes:
description: Nodes is the number of nodes to request. Total number of GPUs will be GPU * Nodes.
type: string
type: object
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10298,10 +10298,12 @@ spec:
type: string
type: object
gpu:
description: GPU is the number of GPUs to request per node.
type: string
memory:
type: string
nodes:
description: Nodes is the number of nodes to request. Total number of GPUs will be GPU * Nodes.
type: string
type: object
requests:
Expand All @@ -10313,10 +10315,12 @@ spec:
type: string
type: object
gpu:
description: GPU is the number of GPUs to request per node.
type: string
memory:
type: string
nodes:
description: Nodes is the number of nodes to request. Total number of GPUs will be GPU * Nodes.
type: string
type: object
type: object
Expand Down
Loading