Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,177 changes: 960 additions & 217 deletions apis/v1alpha1/types.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions cmd/controller/main.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions config/controller/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ spec:
- "$(ACK_LOG_LEVEL)"
- --resource-tags
- "$(ACK_RESOURCE_TAGS)"
- --watch-namespace
- "$(ACK_WATCH_NAMESPACE)"
image: controller:latest
name: controller
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,13 @@ spec:
baseliningJobName:
type: string
constraintsResource:
description: The constraints resource for a monitoring job.
properties:
s3URI:
type: string
type: object
statisticsResource:
description: The statistics resource for a monitoring job.
properties:
s3URI:
type: string
Expand All @@ -82,6 +84,7 @@ spec:
are supported as monitoring inputs.
properties:
endpointInput:
description: Input object for the endpoint
properties:
endTimeOffset:
type: string
Expand All @@ -106,13 +109,17 @@ spec:
type: object
type: object
dataQualityJobOutputConfig:
description: The output configuration for monitoring jobs.
properties:
kmsKeyID:
type: string
monitoringOutputs:
items:
description: The output object for a monitoring job.
properties:
s3Output:
description: Information about where and how you want to
store the results of a monitoring job.
properties:
localPath:
type: string
Expand All @@ -128,8 +135,11 @@ spec:
description: The name for the monitoring job definition.
type: string
jobResources:
description: Identifies the resources to deploy for a monitoring job.
properties:
clusterConfig:
description: Configuration for the cluster used to run model monitoring
jobs.
properties:
instanceCount:
format: int64
Expand All @@ -152,6 +162,13 @@ spec:
enableNetworkIsolation:
type: boolean
vpcConfig:
description: Specifies a VPC that your training jobs and hosted
models have access to. Control access to and from your training
and model containers by configuring the VPC. For more information,
see Protect Endpoints by Using an Amazon Virtual Private Cloud
(https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
and Protect Training Jobs by Using an Amazon Virtual Private
Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
properties:
securityGroupIDs:
items:
Expand All @@ -168,6 +185,8 @@ spec:
SageMaker can assume to perform tasks on your behalf.
type: string
stoppingCondition:
description: A time limit for how long the monitoring job is allowed
to run before stopping.
properties:
maxRuntimeInSeconds:
format: int64
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,16 @@ spec:
description: An list of ProductionVariant objects, one for each model
that you want to host at this endpoint.
items:
description: Identifies a model that you want to host and the resources
to deploy for hosting it. If you are deploying multiple models,
tell Amazon SageMaker how to distribute traffic among the models
by specifying variant weights.
properties:
acceleratorType:
type: string
coreDumpConfig:
description: Specifies configuration for a core dump from the
model container when the process crashes.
properties:
destinationS3URI:
type: string
Expand Down
14 changes: 14 additions & 0 deletions config/crd/bases/sagemaker.services.k8s.aws_endpoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ spec:
description: An array of ProductionVariantSummary objects, one for
each model hosted behind this endpoint.
items:
description: Describes weight and capacities for a production variant
associated with an endpoint. If you sent a request to the UpdateEndpointWeightsAndCapacities
API and the endpoint status is Updating, you get different desired
and current values.
properties:
currentInstanceCount:
format: int64
Expand All @@ -169,6 +173,16 @@ spec:
type: number
deployedImages:
items:
description: "Gets the Amazon EC2 Container Registry path
of the docker image of the model that is hosted in this
ProductionVariant. \n If you used the registry/repository[:tag]
form to specify the image path of the primary container
when you created the model hosted in this ProductionVariant,
the path resolves to a path of the form registry/repository[@digest].
A digest is a hash value that identifies a specific version
of an image. For information about Amazon ECR paths, see
Pulling an Image (https://docs.aws.amazon.com/AmazonECR/latest/userguide/docker-pull-ecr-image.html)
in the Amazon ECR User Guide."
properties:
resolutionTime:
format: date-time
Expand Down
Loading