Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to ACK runtime v0.39.0, code-generator v0.39.1 #282

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
8 changes: 4 additions & 4 deletions apis/v1alpha1/ack-generate-metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ack_generate_info:
build_date: "2024-08-29T17:06:56Z"
build_hash: f8f98563404066ac3340db0a049d2e530e5c51cc
go_version: go1.22.5
version: v0.38.1
build_date: "2024-10-10T04:12:22Z"
build_hash: 36c2d234498c2bc4f60773ab8df632af4067f43b
go_version: go1.23.2
version: v0.39.1
api_directory_checksum: 476c2a15949ae95e3cefcc07b7eb39de6cd7548b
api_version: v1alpha1
aws_sdk_go_version: v1.50.15
Expand Down
2 changes: 1 addition & 1 deletion config/controller/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ kind: Kustomization
images:
- name: controller
newName: public.ecr.aws/aws-controllers-k8s/sagemaker-controller
newTag: 1.2.13
newTag: 1.2.14
6 changes: 1 addition & 5 deletions config/crd/bases/sagemaker.services.k8s.aws_apps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.2
name: apps.sagemaker.services.k8s.aws
spec:
group: sagemaker.services.k8s.aws
Expand Down Expand Up @@ -57,7 +57,6 @@ spec:
The instance type and the Amazon Resource Name (ARN) of the SageMaker image
created on the instance.


The value of InstanceType passed as part of the ResourceSpec in the CreateApp
call overrides the value passed as part of the ResourceSpec configured for
the user profile or the domain. If InstanceType is not specified in any of
Expand All @@ -84,13 +83,11 @@ spec:
A tag object that consists of a key and an optional value, used to manage
metadata for SageMaker Amazon Web Services resources.


You can add tags to notebook instances, training jobs, hyperparameter tuning
jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations,
and endpoints. For more information on adding tags to SageMaker resources,
see AddTags (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AddTags.html).


For more information on adding metadata to your Amazon Web Services resources
with tagging, see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
For advice on best practices for managing Amazon Web Services resources with
Expand Down Expand Up @@ -129,7 +126,6 @@ spec:
when it has verified that an "adopted" resource (a resource where the
ARN annotation was set by the Kubernetes user on the CR) exists and
matches the supplied CR's Spec field values.
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
https://github.com/aws/aws-controllers-k8s/issues/270
type: string
ownerAccountID:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.2
name: dataqualityjobdefinitions.sagemaker.services.k8s.aws
spec:
group: sagemaker.services.k8s.aws
Expand Down Expand Up @@ -208,13 +208,11 @@ spec:
A tag object that consists of a key and an optional value, used to manage
metadata for SageMaker Amazon Web Services resources.


You can add tags to notebook instances, training jobs, hyperparameter tuning
jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations,
and endpoints. For more information on adding tags to SageMaker resources,
see AddTags (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AddTags.html).


For more information on adding metadata to your Amazon Web Services resources
with tagging, see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
For advice on best practices for managing Amazon Web Services resources with
Expand Down Expand Up @@ -253,7 +251,6 @@ spec:
when it has verified that an "adopted" resource (a resource where the
ARN annotation was set by the Kubernetes user on the CR) exists and
matches the supplied CR's Spec field values.
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
https://github.com/aws/aws-controllers-k8s/issues/270
type: string
ownerAccountID:
Expand Down
10 changes: 1 addition & 9 deletions config/crd/bases/sagemaker.services.k8s.aws_domains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.2
name: domains.sagemaker.services.k8s.aws
spec:
group: sagemaker.services.k8s.aws
Expand Down Expand Up @@ -50,11 +50,9 @@ spec:
description: |-
Specifies the VPC used for non-EFS traffic. The default value is PublicInternetOnly.


* PublicInternetOnly - Non-EFS traffic is through a VPC managed by Amazon
SageMaker, which allows direct internet access


* VpcOnly - All traffic is through the specified VPC and subnets
type: string
appSecurityGroupManagement:
Expand All @@ -74,7 +72,6 @@ spec:
The default settings to use to create a user profile when UserSettings isn't
specified in the call to the CreateUserProfile API.


SecurityGroups is aggregated when specified in both calls. For all other
settings in UserSettings, the values specified in CreateUserProfile take
precedence over those specified in CreateDomain.
Expand All @@ -83,7 +80,6 @@ spec:
description: |-
The Code Editor application settings.


For more information about Code Editor, see Get started with Code Editor
in Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/code-editor.html).
properties:
Expand Down Expand Up @@ -381,21 +377,18 @@ spec:
value. Tag keys must be unique per resource. Tags are searchable using the
Search API.


Tags that you specify for the Domain are also added to all Apps that the
Domain launches.
items:
description: |-
A tag object that consists of a key and an optional value, used to manage
metadata for SageMaker Amazon Web Services resources.


You can add tags to notebook instances, training jobs, hyperparameter tuning
jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations,
and endpoints. For more information on adding tags to SageMaker resources,
see AddTags (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AddTags.html).


For more information on adding metadata to your Amazon Web Services resources
with tagging, see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
For advice on best practices for managing Amazon Web Services resources with
Expand Down Expand Up @@ -437,7 +430,6 @@ spec:
when it has verified that an "adopted" resource (a resource where the
ARN annotation was set by the Kubernetes user on the CR) exists and
matches the supplied CR's Spec field values.
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
https://github.com/aws/aws-controllers-k8s/issues/270
type: string
ownerAccountID:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.2
name: endpointconfigs.sagemaker.services.k8s.aws
spec:
group: sagemaker.services.k8s.aws
Expand Down Expand Up @@ -135,7 +135,6 @@ spec:
to perform actions on your behalf. For more information, see SageMaker Roles
(https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).


To be able to pass this role to Amazon SageMaker, the caller of this action
must have the iam:PassRole permission.
type: string
Expand All @@ -145,28 +144,21 @@ spec:
key that SageMaker uses to encrypt data on the storage volume attached to
the ML compute instance that hosts the endpoint.


The KmsKeyId can be any of the following formats:


* Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab


* Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab


* Alias name: alias/ExampleAlias


* Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias


The KMS key policy must grant permission to the IAM role that you specify
in your CreateEndpoint, UpdateEndpoint requests. For more information, refer
to the Amazon Web Services Key Management Service section Using Key Policies
in Amazon Web Services KMS (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)


Certain Nitro-based instances include local storage, dependent on the instance
type. Local storage volumes are encrypted using a hardware module on the
instance. You can't request a KmsKeyId when using an instance type with local
Expand All @@ -176,11 +168,9 @@ spec:
using any nitro-based instances with local storage, the call to CreateEndpointConfig
fails.


For a list of instance types that support local instance storage, see Instance
Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes).


For more information about local instance storage encryption, see SSD Instance
Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html).
type: string
Expand Down Expand Up @@ -278,13 +268,11 @@ spec:
A tag object that consists of a key and an optional value, used to manage
metadata for SageMaker Amazon Web Services resources.


You can add tags to notebook instances, training jobs, hyperparameter tuning
jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations,
and endpoints. For more information on adding tags to SageMaker resources,
see AddTags (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AddTags.html).


For more information on adding metadata to your Amazon Web Services resources
with tagging, see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
For advice on best practices for managing Amazon Web Services resources with
Expand Down Expand Up @@ -334,7 +322,6 @@ spec:
when it has verified that an "adopted" resource (a resource where the
ARN annotation was set by the Kubernetes user on the CR) exists and
matches the supplied CR's Spec field values.
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
https://github.com/aws/aws-controllers-k8s/issues/270
type: string
ownerAccountID:
Expand Down
21 changes: 1 addition & 20 deletions config/crd/bases/sagemaker.services.k8s.aws_endpoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.2
name: endpoints.sagemaker.services.k8s.aws
spec:
group: sagemaker.services.k8s.aws
Expand Down Expand Up @@ -48,7 +48,6 @@ spec:
description: |-
EndpointSpec defines the desired state of Endpoint.


A hosted endpoint for real-time inference.
properties:
deploymentConfig:
Expand Down Expand Up @@ -97,7 +96,6 @@ spec:
deployment, a rolling deployment, or a rollback strategy. You can specify
your batches as either instance count or the overall percentage or your fleet.


For a rollback strategy, if you don't specify the fields in this object,
or if you set the Value to 100%, then SageMaker uses a blue/green rollback
strategy and rolls all traffic back to the blue fleet.
Expand All @@ -114,7 +112,6 @@ spec:
deployment, a rolling deployment, or a rollback strategy. You can specify
your batches as either instance count or the overall percentage or your fleet.


For a rollback strategy, if you don't specify the fields in this object,
or if you set the Value to 100%, then SageMaker uses a blue/green rollback
strategy and rolls all traffic back to the blue fleet.
Expand Down Expand Up @@ -142,7 +139,6 @@ spec:
deployment, a rolling deployment, or a rollback strategy. You can specify
your batches as either instance count or the overall percentage or your fleet.


For a rollback strategy, if you don't specify the fields in this object,
or if you set the Value to 100%, then SageMaker uses a blue/green rollback
strategy and rolls all traffic back to the blue fleet.
Expand All @@ -162,7 +158,6 @@ spec:
deployment, a rolling deployment, or a rollback strategy. You can specify
your batches as either instance count or the overall percentage or your fleet.


For a rollback strategy, if you don't specify the fields in this object,
or if you set the Value to 100%, then SageMaker uses a blue/green rollback
strategy and rolls all traffic back to the blue fleet.
Expand Down Expand Up @@ -201,13 +196,11 @@ spec:
A tag object that consists of a key and an optional value, used to manage
metadata for SageMaker Amazon Web Services resources.


You can add tags to notebook instances, training jobs, hyperparameter tuning
jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations,
and endpoints. For more information on adding tags to SageMaker resources,
see AddTags (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AddTags.html).


For more information on adding metadata to your Amazon Web Services resources
with tagging, see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
For advice on best practices for managing Amazon Web Services resources with
Expand Down Expand Up @@ -241,7 +234,6 @@ spec:
when it has verified that an "adopted" resource (a resource where the
ARN annotation was set by the Kubernetes user on the CR) exists and
matches the supplied CR's Spec field values.
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
https://github.com/aws/aws-controllers-k8s/issues/270
type: string
ownerAccountID:
Expand Down Expand Up @@ -300,25 +292,20 @@ spec:
description: |-
The status of the endpoint.


* OutOfService: Endpoint is not available to take incoming requests.


* Creating: CreateEndpoint (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpoint.html)
is executing.


* Updating: UpdateEndpoint (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_UpdateEndpoint.html)
or UpdateEndpointWeightsAndCapacities (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_UpdateEndpointWeightsAndCapacities.html)
is executing.


* SystemUpdating: Endpoint is undergoing maintenance and cannot be updated
or deleted or re-scaled until it has completed. This maintenance operation
does not change any customer-specified values such as VPC config, KMS
encryption, model, instance type, or instance count.


* RollingBack: Endpoint fails to scale up or down or change its variant
weight and is in the process of rolling back to its previous configuration.
Once the rollback completes, endpoint returns to an InService status.
Expand All @@ -328,20 +315,16 @@ spec:
call or when the UpdateEndpointWeightsAndCapacities (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_UpdateEndpointWeightsAndCapacities.html)
operation is called explicitly.


* InService: Endpoint is available to process incoming requests.


* Deleting: DeleteEndpoint (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DeleteEndpoint.html)
is executing.


* Failed: Endpoint could not be created, updated, or re-scaled. Use the
FailureReason value returned by DescribeEndpoint (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeEndpoint.html)
for information about the failure. DeleteEndpoint (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DeleteEndpoint.html)
is the only operation that can be performed on a failed endpoint.


* UpdateRollbackFailed: Both the rolling deployment and auto-rollback
failed. Your endpoint is in service with a mix of the old and new endpoint
configurations. For information about how to remedy this issue and restore
Expand Down Expand Up @@ -398,7 +381,6 @@ spec:
Gets the Amazon EC2 Container Registry path of the docker image of the model
that is hosted in this ProductionVariant (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ProductionVariant.html).


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
Expand Down Expand Up @@ -515,7 +497,6 @@ spec:
Gets the Amazon EC2 Container Registry path of the docker image of the model
that is hosted in this ProductionVariant (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ProductionVariant.html).


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
Expand Down
Loading