Skip to content

Commit

Permalink
neonvm: Bump max mem slots to 512
Browse files Browse the repository at this point in the history
In practice this is limiting the maximum size of our computes, even
though memory slots aren't physically used since we switched to
virtio-mem.

ref neondatabase/cloud#18281
  • Loading branch information
sharnoff committed Dec 6, 2024
1 parent 30eee9a commit ae7bff6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions neonvm/apis/neonvm/v1/virtualmachine_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,15 +413,15 @@ func (m MilliCPU) Format(state fmt.State, verb rune) {

type MemorySlots struct {
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Maximum=128
// +kubebuilder:validation:Maximum=512
// +kubebuilder:validation:ExclusiveMaximum=false
Min int32 `json:"min"`
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Maximum=128
// +kubebuilder:validation:Maximum=512
// +kubebuilder:validation:ExclusiveMaximum=false
Max int32 `json:"max"`
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Maximum=128
// +kubebuilder:validation:Maximum=512
// +kubebuilder:validation:ExclusiveMaximum=false
Use int32 `json:"use"`
}
Expand Down

0 comments on commit ae7bff6

Please sign in to comment.