We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 613fd37 commit 86b852dCopy full SHA for 86b852d
api/inferencemodel_types.go
@@ -162,14 +162,12 @@ type TargetModel struct {
162
//
163
// If only one model is specified and it has a weight greater than 0, 100%
164
// of the traffic is forwarded to that model. If weight is set to 0, no
165
- // traffic should be forwarded for this model. If unspecified, weight
166
- // defaults to 1.
+ // traffic should be forwarded for this model.
167
168
// +optional
169
- // +kubebuilder:default=1
170
// +kubebuilder:validation:Minimum=0
171
// +kubebuilder:validation:Maximum=1000000
172
- Weight int32 `json:"weight,omitempty"`
+ Weight *int32 `json:"weight,omitempty"`
173
}
174
175
// InferenceModelStatus defines the observed state of InferenceModel
0 commit comments