Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultModelLocalMountPath = "/mnt/models"
DefaultModelLocalMountPath is where models will be mounted by the model-initializer
View Source
const (
NvidiaGPUResourceType = "nvidia.com/gpu"
)
GPU Constants
Variables ¶
View Source
var ( KFServingName = "kfserving" KFServingAPIGroupName = "serving.kubeflow.org" KFServingNamespace = getEnvOrDefault("POD_NAMESPACE", "kfserving-system") )
KFServing Constants
View Source
var ( KFServiceName = "kfservice" KFServiceAPIName = "kfservices" KFServicePodLabelKey = KFServingAPIGroupName + "/" + KFServiceName KFServiceConfigMapName = "kfservice-config" )
KFService Constants
View Source
var ( KFServiceInternalAnnotationsPrefix = "internal." + KFServingAPIGroupName ModelInitializerSourceUriInternalAnnotationKey = KFServiceInternalAnnotationsPrefix + "/model-initializer-sourceuri" )
KFService Internal Annotations
View Source
var ( ControllerLabelName = KFServingName + "-controller-manager" DefaultTimeout int64 = 300 DefaultScalingTarget = "1" )
Controller Constants
View Source
var ( WebhookServerName = KFServingName + "-webhook-server" WebhookServerServiceName = WebhookServerName + "-service" WebhookServerSecretName = WebhookServerName + "-secret" KFServiceValidatingWebhookConfigName = strings.Join([]string{KFServiceName, KFServingAPIGroupName}, ".") KFServiceMutatingWebhookConfigName = strings.Join([]string{KFServiceName, KFServingAPIGroupName}, ".") KFServiceValidatingWebhookName = strings.Join([]string{KFServiceName, WebhookServerName, "validator"}, ".") KFServiceDefaultingWebhookName = strings.Join([]string{KFServiceName, WebhookServerName, "defaulter"}, ".") DeploymentMutatorWebhookName = strings.Join([]string{KFServiceName, WebhookServerName, "deployment-mutator"}, ".") WebhookFailurePolicy = v1beta1.Fail )
Webhook Constants
View Source
var (
KFServiceGKEAcceleratorAnnotationKey = KFServingAPIGroupName + "/gke-accelerator"
)
KFService Annotations
Functions ¶
func CanaryConfigurationName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.