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

Discussion: InstasliceSpec for MemoryOnNodeAtBoot and MemoryOnCpuAtBoot #419

Open
kannon92 opened this issue Jan 29, 2025 · 0 comments
Open

Comments

@kannon92
Copy link
Contributor

// InstasliceSpec defines the desired state of Instaslice
type InstasliceSpec struct {
	// migGpuUuid represents uuid of the mig device created on the gpu
	// +required
	MigGPUUUID map[string]string `json:"migGpuUuid"`
	// allocations represents allocation details of user workloads
	// +optional
	Allocations map[string]AllocationDetails `json:"allocations"`
	// migplacement represents gpu instance, compute instance with placement for a profile
	// +required
	Migplacement []Mig `json:"migplacement"`
	// cpuonnodeatboot represents total amount of cpu present on the node
	// +required
	CpuOnNodeAtBoot int64 `json:"cpuonnodeatboot"`
	// memoryonnodeatboot represents total amount of memory present on the node
	// +required
	MemoryOnNodeAtBoot int64 `json:"memoryonnodeatboot"`
}

We should discuss ways that Instaslice "knows" the amount of cpu and memory on node.

There is work being done in Kubernetes to allow for dynamic resizing of memory/cpu at the node level.

kubernetes/enhancements#3953

I also question why this should be a user facing API.

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

No branches or pull requests

1 participant