Server
apiVersion: mlops.seldon.io/v1alpha1
kind: Server
metadata:
name: mlserver
spec:
serverConfig: mlserver
replicas: 1Detailed Specs
type ServerSpec struct {
// Server definition
ServerConfig string `json:"serverConfig"`
// The extra capabilities this server will advertise
// These are added to the capabilities exposed by the referenced ServerConfig
ExtraCapabilities []string `json:"extraCapabilities,omitempty"`
// The capabilities this server will advertise
// This will override any from the referenced ServerConfig
Capabilities []string `json:"capabilities,omitempty"`
// Image overrides
ImageOverrides *ContainerOverrideSpec `json:"imageOverrides,omitempty"`
// PodSpec overrides
// Slices such as containers would be appended not overridden
PodSpec *PodSpec `json:"podSpec,omitempty"`
// Scaling spec
ScalingSpec `json:",inline"`
// +Optional
// If set then when the referenced ServerConfig changes we will NOT update the Server immediately.
// Explicit changes to the Server itself will force a reconcile though
DisableAutoUpdate bool `json:"disableAutoUpdate,omitempty"`
}
type ContainerOverrideSpec struct {
// The Agent overrides
Agent *v1.Container `json:"agent,omitempty"`
// The RClone server overrides
RClone *v1.Container `json:"rclone,omitempty"`
}
type ServerDefn struct {
// Server config name to match
// Required
Config string `json:"config"`
}Custom Servers
Server with PVC
Last updated
Was this helpful?

