kserve

package
v2.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package kserve provides utility functions to config Kserve as the Controller for serving ML models on arbitrary frameworks

Index

Constants

This section is empty.

Variables

View Source
var (
	ComponentName          = "kserve"
	Path                   = deploy.DefaultManifestPath + "/" + ComponentName + "/overlays/odh"
	DependentComponentName = "odh-model-controller"
	DependentPath          = deploy.DefaultManifestPath + "/" + DependentComponentName + "/base"
	ServiceMeshOperator    = "servicemeshoperator"
	ServerlessOperator     = "serverless-operator"
)

Functions

func PopulateComponentSettings added in v2.7.0

func PopulateComponentSettings(k *Kserve) feature.Action

Types

type Kserve

type Kserve struct {
	components.Component `json:""`
	// Serving configures the KNative-Serving stack used for model serving. A Service
	// Mesh (Istio) is prerequisite, since it is used as networking layer.
	Serving infrav1.ServingSpec `json:"serving,omitempty"`
}

Kserve struct holds the configuration for the Kserve component. +kubebuilder:object:generate=true

func (*Kserve) Cleanup added in v2.7.0

func (k *Kserve) Cleanup(_ client.Client, instance *dsciv1.DSCInitializationSpec) error

func (*Kserve) DeepCopy added in v2.7.0

func (in *Kserve) DeepCopy() *Kserve

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kserve.

func (*Kserve) DeepCopyInto

func (in *Kserve) DeepCopyInto(out *Kserve)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Kserve) GetComponentName

func (k *Kserve) GetComponentName() string

func (*Kserve) OverrideManifests added in v2.2.0

func (k *Kserve) OverrideManifests(_ string) error

func (*Kserve) ReconcileComponent

func (k *Kserve) ReconcileComponent(ctx context.Context, cli client.Client, resConf *rest.Config, owner metav1.Object, dscispec *dsciv1.DSCInitializationSpec, _ bool) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL