From e4bbdce37a502890217050123aa4a43f7552464e Mon Sep 17 00:00:00 2001
From: Dan Sun Packages:
+ Package v1alpha2 contains API Schema definitions for the serving v1alpha2 API groupserving.kubeflow.org/v1alpha2
+
+
KFService is the Schema for the services API
+ +Field | +Description | +||||||
---|---|---|---|---|---|---|---|
+apiVersion
+string |
+
+
+serving.kubeflow.org/v1alpha2
+
+ |
+||||||
+kind
+string
+ |
+KFService |
+||||||
+metadata
+
+
+Kubernetes meta/v1.ObjectMeta
+
+
+ |
+
+Refer to the Kubernetes API documentation for the fields of the
+metadata field.
+ |
+||||||
+spec
+
+
+KFServiceSpec
+
+
+ |
+
+ + +
|
+||||||
+status
+
+
+KFServiceStatus
+
+
+ |
++ | +
+(Appears on: +ExplainerSpec) +
++
AlibiExplainerSpec defines the arguments for configuring an Alibi Explanation Server
+ +Field | +Description | +
---|---|
+type
+
+
+AlibiExplainerType
+
+
+ |
+
+ The type of Alibi explainer + |
+
+storageUri
+
+string
+
+ |
+
+ The location of a trained explanation model + |
+
+runtimeVersion
+
+string
+
+ |
+
+ Defaults to latest Alibi Version. + |
+
+resources
+
+
+Kubernetes core/v1.ResourceRequirements
+
+
+ |
+
+ Defaults to requests and limits of 1CPU, 2Gb MEM. + |
+
+config
+
+map[string]string
+
+ |
+
+ Inline custom parameter settings for explainer + |
+
string
alias)+(Appears on: +AlibiExplainerSpec) +
++
++(Appears on: +ExplainerSpec, +PredictorSpec, +TransformerSpec) +
++
CustomSpec provides a hook for arbitrary container configuration.
+ +Field | +Description | +
---|---|
+container
+
+
+Kubernetes core/v1.Container
+
+
+ |
++ | +
+(Appears on: +ExplainerSpec, +PredictorSpec, +TransformerSpec) +
++
DeploymentSpec defines the configuration for a given KFService service component
+ +Field | +Description | +
---|---|
+serviceAccountName
+
+string
+
+ |
+
+(Optional)
+ ServiceAccountName is the name of the ServiceAccount to use to run the service + |
+
+minReplicas
+
+int
+
+ |
+
+(Optional)
+ Minimum number of replicas, pods won’t scale down to 0 in case of no traffic + |
+
+maxReplicas
+
+int
+
+ |
+
+(Optional)
+ This is the up bound for autoscaler to scale to + |
+
+(Appears on: +KFServiceSpec) +
++
+Field | +Description | +
---|---|
+predictor
+
+
+PredictorSpec
+
+
+ |
+
+ Predictor defines the model serving spec + |
+
+explainer
+
+
+ExplainerSpec
+
+
+ |
+
+(Optional)
+ Explainer defines the model explanation service spec +explainer service calls to transformer or predictor service + |
+
+transformer
+
+
+TransformerSpec
+
+
+ |
+
+(Optional)
+ Transformer defines the transformer service spec for pre/post processing +transformer service calls to predictor service + |
+
+(Appears on: +ExplainersConfig) +
++
+Field | +Description | +
---|---|
+image
+
+string
+
+ |
++ | +
+
++(Appears on: +EndpointSpec) +
++
ExplainerSpec defines the arguments for a model explanation server
+ +Field | +Description | +
---|---|
+alibi
+
+
+AlibiExplainerSpec
+
+
+ |
+
+ The following fields follow a “1-of” semantic. Users must specify exactly one spec. + |
+
+custom
+
+
+CustomSpec
+
+
+ |
++ | +
+DeploymentSpec
+
+
+DeploymentSpec
+
+
+ |
+
+
+(Members of |
+
+
+Field | +Description | +
---|---|
+alibi
+
+
+ExplainerConfig
+
+
+ |
++ | +
+(Appears on: +FrameworksConfig) +
++
+Field | +Description | +
---|---|
+image
+
+string
+
+ |
++ | +
+
++
+Field | +Description | +
---|---|
+tensorflow
+
+
+FrameworkConfig
+
+
+ |
++ | +
+tensorrt
+
+
+FrameworkConfig
+
+
+ |
++ | +
+xgboost
+
+
+FrameworkConfig
+
+
+ |
++ | +
+sklearn
+
+
+FrameworkConfig
+
+
+ |
++ | +
+pytorch
+
+
+FrameworkConfig
+
+
+ |
++ | +
+onnx
+
+
+FrameworkConfig
+
+
+ |
++ | +
+(Appears on: +KFService) +
++
KFServiceSpec defines the desired state of KFService
+ +Field | +Description | +
---|---|
+default
+
+
+EndpointSpec
+
+
+ |
+
+ Default defines default KFService endpoints + |
+
+canary
+
+
+EndpointSpec
+
+
+ |
+
+(Optional)
+ Canary defines an alternate endpoints to route a percentage of traffic. + |
+
+canaryTrafficPercent
+
+int
+
+ |
+
+(Optional)
+ CanaryTrafficPercent defines the percentage of traffic going to canary KFService endpoints + |
+
+(Appears on: +KFService) +
++
KFServiceStatus defines the observed state of KFService
+ +Field | +Description | +
---|---|
+Status
+
+knative.dev/pkg/apis/duck/v1beta1.Status
+
+ |
+
+
+(Members of |
+
+url
+
+string
+
+ |
++ | +
+default
+
+
+StatusConfigurationSpec
+
+
+ |
++ | +
+canary
+
+
+StatusConfigurationSpec
+
+
+ |
++ | +
+(Appears on: +PredictorSpec) +
++
ONNXSpec defines arguments for configuring ONNX model serving.
+ +Field | +Description | +
---|---|
+storageUri
+
+string
+
+ |
+
+ The location of the trained model + |
+
+runtimeVersion
+
+string
+
+ |
+
+ Defaults to latest ONNX Version. + |
+
+resources
+
+
+Kubernetes core/v1.ResourceRequirements
+
+
+ |
+
+ Defaults to requests and limits of 1CPU, 2Gb MEM. + |
+
+(Appears on: +EndpointSpec) +
++
PredictorSpec defines the configuration to route traffic to a predictor.
+ +Field | +Description | +
---|---|
+custom
+
+
+CustomSpec
+
+
+ |
+
+ The following fields follow a “1-of” semantic. Users must specify exactly one spec. + |
+
+tensorflow
+
+
+TensorflowSpec
+
+
+ |
++ | +
+tensorrt
+
+
+TensorRTSpec
+
+
+ |
++ | +
+xgboost
+
+
+XGBoostSpec
+
+
+ |
++ | +
+sklearn
+
+
+SKLearnSpec
+
+
+ |
++ | +
+onnx
+
+
+ONNXSpec
+
+
+ |
++ | +
+pytorch
+
+
+PyTorchSpec
+
+
+ |
++ | +
+DeploymentSpec
+
+
+DeploymentSpec
+
+
+ |
+
+
+(Members of |
+
+(Appears on: +PredictorSpec) +
++
PyTorchSpec defines arguments for configuring PyTorch model serving.
+ +Field | +Description | +
---|---|
+storageUri
+
+string
+
+ |
+
+ The location of the trained model + |
+
+modelClassName
+
+string
+
+ |
+
+ Defaults PyTorch model class name to ‘PyTorchModel’ + |
+
+runtimeVersion
+
+string
+
+ |
+
+ Defaults to latest PyTorch Version + |
+
+resources
+
+
+Kubernetes core/v1.ResourceRequirements
+
+
+ |
+
+ Defaults to requests and limits of 1CPU, 2Gb MEM. + |
+
+(Appears on: +PredictorSpec) +
++
SKLearnSpec defines arguments for configuring SKLearn model serving.
+ +Field | +Description | +
---|---|
+storageUri
+
+string
+
+ |
+
+ The location of the trained model + |
+
+runtimeVersion
+
+string
+
+ |
+
+ Defaults to latest SKLearn Version. + |
+
+resources
+
+
+Kubernetes core/v1.ResourceRequirements
+
+
+ |
+
+ Defaults to requests and limits of 1CPU, 2Gb MEM. + |
+
+(Appears on: +KFServiceStatus) +
++
StatusConfigurationSpec describes the state of the configuration receiving traffic.
+ +Field | +Description | +
---|---|
+name
+
+string
+
+ |
++ | +
+replicas
+
+int
+
+ |
++ | +
+traffic
+
+int
+
+ |
++ | +
+(Appears on: +PredictorSpec) +
++
TensorRTSpec defines arguments for configuring TensorRT model serving.
+ +Field | +Description | +
---|---|
+storageUri
+
+string
+
+ |
+
+ The location of the trained model + |
+
+runtimeVersion
+
+string
+
+ |
+
+ Defaults to latest TensorRT Version. + |
+
+resources
+
+
+Kubernetes core/v1.ResourceRequirements
+
+
+ |
+
+ Defaults to requests and limits of 1CPU, 2Gb MEM. + |
+
+(Appears on: +PredictorSpec) +
++
TensorflowSpec defines arguments for configuring Tensorflow model serving.
+ +Field | +Description | +
---|---|
+storageUri
+
+string
+
+ |
+
+ The location of the trained model + |
+
+runtimeVersion
+
+string
+
+ |
+
+ Defaults to latest TF Version. + |
+
+resources
+
+
+Kubernetes core/v1.ResourceRequirements
+
+
+ |
+
+ Defaults to requests and limits of 1CPU, 2Gb MEM. + |
+
+(Appears on: +EndpointSpec) +
++
TransformerSpec defines transformer service for pre/post processing
+ +Field | +Description | +
---|---|
+custom
+
+
+CustomSpec
+
+
+ |
++ | +
+DeploymentSpec
+
+
+DeploymentSpec
+
+
+ |
+
+
+(Members of |
+
+(Appears on: +PredictorSpec) +
++
XGBoostSpec defines arguments for configuring XGBoost model serving.
+ +Field | +Description | +
---|---|
+storageUri
+
+string
+
+ |
+
+ The location of the trained model + |
+
+runtimeVersion
+
+string
+
+ |
+
+ Defaults to latest XGBoost Version. + |
+
+resources
+
+
+Kubernetes core/v1.ResourceRequirements
+
+
+ |
+
+ Defaults to requests and limits of 1CPU, 2Gb MEM. + |
+
+Generated with gen-crd-api-reference-docs
+on git commit 52e137b
.
+