-
Notifications
You must be signed in to change notification settings - Fork 23
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
Adds deployment configuration for extproc #98
Conversation
Signed-off-by: Takeshi Yoneda <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Notes
@@ -122,6 +132,45 @@ type LLMRouteRuleMatch struct { | |||
Headers []gwapiv1.HTTPHeaderMatch `json:"headers,omitempty"` | |||
} | |||
|
|||
type LLMRouteFilterConfig struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This indirection will help us deprecate and keep the API clean before/after extproc removal per #90
fyi I will work on the compatibility policy doc next
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, this could be AIGatewayFilterConfig
per #76
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right, let's change it all together.
// Replicas is the number of desired pods of the external process deployment. | ||
// | ||
// +optional | ||
Replicas *int32 `json:"replicas,omitempty"` | ||
// Resources required by the external process container. | ||
// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ | ||
// | ||
// +optional | ||
Resources *corev1.ResourceRequirements `json:"resources,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i could've used either the embedding of appv1.DeploymentSpec or EG's KubernetesDeploymentSpec but both seems too complex for this purpose in addition to the impl cost. we can add additional fields on demand.
Signed-off-by: Takeshi Yoneda <[email protected]>
Signed-off-by: Takeshi Yoneda <[email protected]>
Signed-off-by: Takeshi Yoneda <[email protected]>
@mathetake there is a conflict to resolve |
aha ok |
Signed-off-by: Takeshi Yoneda <[email protected]>
Fixes #82