constants

package
v0.0.0-...-d927c05 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InferenceServiceKind = "InferenceService"

	ServiceMeshMemberRollName        = "default"
	ServiceMeshMemberName            = "default"
	IstioIngressService              = "istio-ingressgateway"
	IstioIngressServiceHTTPPortName  = "http2"
	IstioIngressServiceHTTPSPortName = "https"
	IstioSidecarInjectAnnotationName = "sidecar.istio.io/inject"

	LabelAuthGroup     = "security.opendatahub.io/authorization-group"
	LabelEnableAuthODH = "security.opendatahub.io/enable-auth"
	LabelEnableAuth    = "enable-auth"
	LabelEnableRoute   = "enable-route"

	CapabilityServiceMeshAuthorization = "CapabilityServiceMeshAuthorization"
)
View Source
const (
	MLMDAddressEnv                       = "MLMD_ADDRESS"
	ModelRegistryNamespaceLabel          = "modelregistry.opendatahub.io/namespace"
	ModelRegistryInferenceServiceIdLabel = "modelregistry.opendatahub.io/inference-service-id"
	ModelRegistryModelVersionIdLabel     = "modelregistry.opendatahub.io/model-version-id"
	ModelRegistryRegisteredModelIdLabel  = "modelregistry.opendatahub.io/registered-model-id"
)

model registry

View Source
const (
	KServeCACertFileName       = "cabundle.crt"
	KServeCACertConfigMapName  = "odh-kserve-custom-ca-bundle"
	ODHGlobalCertConfigMapName = "odh-trusted-ca-bundle"
	ODHCustomCACertFileName    = "odh-ca-bundle.crt"
	KServeGatewayName          = "kserve-local-gateway"
)
View Source
const (
	KserveMetricsConfigMapNameSuffix = "-metrics-dashboard"
	DefaultStorageConfig             = "storage-config"
	IntervalValue                    = "1m"
	RequestRateInterval              = "5m"
	OvmsImageName                    = "openvino_model_server"
	TgisImageName                    = "text-generation-inference"
	VllmImageName                    = "vllm"
	CaikitImageName                  = "caikit-nlp"
	ServingRuntimeFallBackImageName  = "unsupported"
)
View Source
const (
	NimApplyConfigFieldManager = "nim-account-controller"
	NimDataConfigMapName       = "nvidia-nim-images-data"
	NimRuntimeTemplateName     = "nvidia-nim-serving-template"
	NimPullSecretName          = "nvidia-nim-image-pull"
)

NIM

View Source
const (
	//Caikit Standalone
	CaikitMetricsData = `` /* 2313-byte string literal not displayed */

	//OpenVino Model Server
	OvmsMetricsData = `` /* 1895-byte string literal not displayed */

	// Caikit + TGIS
	TgisMetricsData = `` /* 2068-byte string literal not displayed */

	//vLLM
	VllmMetricsData = `` /* 1415-byte string literal not displayed */

)
View Source
const (
	NoSuitableRuntimeError = "not found error: no suitable runtime found."
)

errors

View Source
const (
	ServingCertAnnotationKey = "service.beta.openshift.io/serving-cert-secret-name"
)

openshift

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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