Skip to content

Commit 353dbee

Browse files
authored
Update runtime to 0.2.0 which includes Namespace scope feature (#30)
* Update runtime to 0.2.0 which includes Namespace scope feature * go mod tidy
1 parent fc4bff6 commit 353dbee

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1505
-232
lines changed

apis/v1alpha1/types.go

Lines changed: 960 additions & 217 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/controller/main.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/controller/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ spec:
3636
- "$(ACK_LOG_LEVEL)"
3737
- --resource-tags
3838
- "$(ACK_RESOURCE_TAGS)"
39+
- --watch-namespace
40+
- "$(ACK_WATCH_NAMESPACE)"
3941
image: controller:latest
4042
name: controller
4143
ports:

config/crd/bases/sagemaker.services.k8s.aws_dataqualityjobdefinitions.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,13 @@ spec:
6767
baseliningJobName:
6868
type: string
6969
constraintsResource:
70+
description: The constraints resource for a monitoring job.
7071
properties:
7172
s3URI:
7273
type: string
7374
type: object
7475
statisticsResource:
76+
description: The statistics resource for a monitoring job.
7577
properties:
7678
s3URI:
7779
type: string
@@ -82,6 +84,7 @@ spec:
8284
are supported as monitoring inputs.
8385
properties:
8486
endpointInput:
87+
description: Input object for the endpoint
8588
properties:
8689
endTimeOffset:
8790
type: string
@@ -106,13 +109,17 @@ spec:
106109
type: object
107110
type: object
108111
dataQualityJobOutputConfig:
112+
description: The output configuration for monitoring jobs.
109113
properties:
110114
kmsKeyID:
111115
type: string
112116
monitoringOutputs:
113117
items:
118+
description: The output object for a monitoring job.
114119
properties:
115120
s3Output:
121+
description: Information about where and how you want to
122+
store the results of a monitoring job.
116123
properties:
117124
localPath:
118125
type: string
@@ -128,8 +135,11 @@ spec:
128135
description: The name for the monitoring job definition.
129136
type: string
130137
jobResources:
138+
description: Identifies the resources to deploy for a monitoring job.
131139
properties:
132140
clusterConfig:
141+
description: Configuration for the cluster used to run model monitoring
142+
jobs.
133143
properties:
134144
instanceCount:
135145
format: int64
@@ -152,6 +162,13 @@ spec:
152162
enableNetworkIsolation:
153163
type: boolean
154164
vpcConfig:
165+
description: Specifies a VPC that your training jobs and hosted
166+
models have access to. Control access to and from your training
167+
and model containers by configuring the VPC. For more information,
168+
see Protect Endpoints by Using an Amazon Virtual Private Cloud
169+
(https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
170+
and Protect Training Jobs by Using an Amazon Virtual Private
171+
Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
155172
properties:
156173
securityGroupIDs:
157174
items:
@@ -168,6 +185,8 @@ spec:
168185
SageMaker can assume to perform tasks on your behalf.
169186
type: string
170187
stoppingCondition:
188+
description: A time limit for how long the monitoring job is allowed
189+
to run before stopping.
171190
properties:
172191
maxRuntimeInSeconds:
173192
format: int64

config/crd/bases/sagemaker.services.k8s.aws_endpointconfigs.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,16 @@ spec:
9898
description: An list of ProductionVariant objects, one for each model
9999
that you want to host at this endpoint.
100100
items:
101+
description: Identifies a model that you want to host and the resources
102+
to deploy for hosting it. If you are deploying multiple models,
103+
tell Amazon SageMaker how to distribute traffic among the models
104+
by specifying variant weights.
101105
properties:
102106
acceleratorType:
103107
type: string
104108
coreDumpConfig:
109+
description: Specifies configuration for a core dump from the
110+
model container when the process crashes.
105111
properties:
106112
destinationS3URI:
107113
type: string

config/crd/bases/sagemaker.services.k8s.aws_endpoints.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,10 @@ spec:
161161
description: An array of ProductionVariantSummary objects, one for
162162
each model hosted behind this endpoint.
163163
items:
164+
description: Describes weight and capacities for a production variant
165+
associated with an endpoint. If you sent a request to the UpdateEndpointWeightsAndCapacities
166+
API and the endpoint status is Updating, you get different desired
167+
and current values.
164168
properties:
165169
currentInstanceCount:
166170
format: int64
@@ -169,6 +173,16 @@ spec:
169173
type: number
170174
deployedImages:
171175
items:
176+
description: "Gets the Amazon EC2 Container Registry path
177+
of the docker image of the model that is hosted in this
178+
ProductionVariant. \n If you used the registry/repository[:tag]
179+
form to specify the image path of the primary container
180+
when you created the model hosted in this ProductionVariant,
181+
the path resolves to a path of the form registry/repository[@digest].
182+
A digest is a hash value that identifies a specific version
183+
of an image. For information about Amazon ECR paths, see
184+
Pulling an Image (https://docs.aws.amazon.com/AmazonECR/latest/userguide/docker-pull-ecr-image.html)
185+
in the Amazon ECR User Guide."
172186
properties:
173187
resolutionTime:
174188
format: date-time

0 commit comments

Comments
 (0)