mirror of https://github.com/volcano-sh/apis.git
add queue weight range 1-65535, default 1
Signed-off-by: dongjiang <dongjiang1989@126.com> Co-Authored-By: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
385346e5e4
commit
5a15527a16
|
|
@ -346,6 +346,9 @@ type NodeGroupAntiAffinity struct {
|
|||
// QueueSpec represents the template of Queue.
|
||||
type QueueSpec struct {
|
||||
// +optional
|
||||
// +kubebuilder:default:=1
|
||||
// +kubebuilder:validation:Minimum=1
|
||||
// +kubebuilder:validation:Maximum=65535
|
||||
Weight int32 `json:"weight,omitempty" protobuf:"bytes,1,opt,name=weight"`
|
||||
|
||||
// +optional
|
||||
|
|
|
|||
Loading…
Reference in New Issue