@@ -25,7 +25,6 @@ import (
25
25
// +kubebuilder:object:root=true
26
26
// +kubebuilder:subresource:status
27
27
// +kubebuilder:storageversion
28
- // +kubebuilder:printcolumn:name="Model Name",type=string,JSONPath=`.spec.modelName`
29
28
// +kubebuilder:printcolumn:name="Inference Pool",type=string,JSONPath=`.spec.poolRef.name`
30
29
// +kubebuilder:printcolumn:name="Priority",type=string,JSONPath=`.spec.priority`
31
30
// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
@@ -56,12 +55,6 @@ type InferenceObjectiveList struct {
56
55
// performance and latency goals for the model. These workloads are
57
56
// expected to operate within an InferencePool sharing compute capacity with other
58
57
// InferenceObjectives, defined by the Inference Platform Admin.
59
- //
60
- // InferenceObjective's modelName (not the ObjectMeta name) is unique for a given InferencePool,
61
- // if the name is reused, an error will be shown on the status of a
62
- // InferenceObjective that attempted to reuse. The oldest InferenceObjective, based on
63
- // creation timestamp, will be selected to remain valid. In the event of a race
64
- // condition, one will be selected at random.
65
58
type InferenceObjectiveSpec struct {
66
59
67
60
// Priority defines how important it is to serve the request compared to other requests in the same pool.
@@ -135,10 +128,6 @@ const (
135
128
//
136
129
// * "Accepted"
137
130
//
138
- // Possible reasons for this condition to be False are:
139
- //
140
- // * "ModelNameInUse"
141
- //
142
131
// Possible reasons for this condition to be Unknown are:
143
132
//
144
133
// * "Pending"
@@ -148,10 +137,6 @@ const (
148
137
// ObjectiveReasonAccepted is the desired state. Model conforms to the state of the pool.
149
138
ObjectiveReasonAccepted InferenceObjectiveConditionReason = "Accepted"
150
139
151
- // ObjectiveReasonNameInUse is used when a given ModelName already exists within the pool.
152
- // Details about naming conflict resolution are on the ModelName field itself.
153
- ObjectiveReasonNameInUse InferenceObjectiveConditionReason = "ModelNameInUse"
154
-
155
140
// ObjectiveReasonPending is the initial state, and indicates that the controller has not yet reconciled the InferenceObjective.
156
141
ObjectiveReasonPending InferenceObjectiveConditionReason = "Pending"
157
142
)
0 commit comments