Model is the Schema for the Models API. Provides a SageMaker model resource.
Type
CRD
Group
sagemaker.aws.upbound.io
Version
v1beta1
apiVersion: sagemaker.aws.upbound.io/v1beta1
kind: Model
ModelSpec defines the desired state of Model
No description provided.
Specifies containers in the inference pipeline. If not specified, the primary_container argument is required. Fields are documented below.
Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC). For more information see Using a Private Docker Registry for Real-Time Inference Containers. see Image Config.
Specifies an authentication configuration for the private docker registry where your model image is hosted. Specify a value for this property only if you specified Vpc as the value for the RepositoryAccessMode field, and the private Docker registry where the model image is hosted requires authentication. see Repository Auth Config.
Reference to a Role in iam to populate executionRoleArn.
Policies for referencing.
Selector for a Role in iam to populate executionRoleArn.
Policies for selection.
Specifies details of how containers in a multi-container endpoint are called. see Inference Execution Config.
The primary docker image containing inference code that is used when the model is deployed for predictions. If not specified, the container argument is required. Fields are documented below.
Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC). For more information see Using a Private Docker Registry for Real-Time Inference Containers. see Image Config.
Specifies an authentication configuration for the private docker registry where your model image is hosted. Specify a value for this property only if you specified Vpc as the value for the RepositoryAccessMode field, and the private Docker registry where the model image is hosted requires authentication. see Repository Auth Config.
Specifies the VPC that you want your model to connect to. VpcConfig is used in hosting services and in batch transform.
No description provided.
No description provided.
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
ModelStatus defines the observed state of Model.
Conditions of the resource.
example
apiVersion: sagemaker.aws.upbound.io/v1beta1
kind: Model
metadata:
annotations:
meta.upbound.io/example-id: sagemaker/v1beta1/model
upjet.upbound.io/manual-intervention: It requires an image which can be create/deleted only using AWS CLI
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
executionRoleArnSelector:
matchLabels:
testing.upbound.io/example-name: example
primaryContainer:
- image: ${data.aws_account_id}.dkr.ecr.us-east-1.amazonaws.com/sagemaker-scikit-learn:latest
region: us-east-1
example
apiVersion: sagemaker.aws.upbound.io/v1beta1
kind: Model
metadata:
annotations:
meta.upbound.io/example-id: sagemaker/v1beta1/endpointconfiguration
upjet.upbound.io/manual-intervention: It requires an image which can be create/deleted only using AWS CLI
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
executionRoleArnSelector:
matchLabels:
testing.upbound.io/example-name: example
primaryContainer:
- image: ${data.aws_account_id}.dkr.ecr.us-east-1.amazonaws.com/sagemaker-scikit-learn:latest
region: us-east-1
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.