Skip to content

Commit 59b5bda

Browse files
authored
Update to ACK runtime v0.43.0, code-generator v0.43.1 (#134)
### Update to ACK runtime `v0.43.0`, code-generator `v0.43.1` ---------- * ACK code-generator `v0.43.1` [release notes](https://github.com/aws-controllers-k8s/code-generator/releases/tag/v0.43.1) * ACK runtime `v0.43.0` [release notes](https://github.com/aws-controllers-k8s/runtime/releases/tag/v0.43.0) ---------- NOTE: This PR increments the release version of service controller from `v1.0.21` to `v1.0.22` Once this PR is merged, release `v1.0.22` will be automatically created for `applicationautoscaling-controller` **Please close this PR, if you do not want the new patch release for `applicationautoscaling-controller`** ---------- #### stdout for `make build-controller`: ``` building ack-generate ... ok. ==== building applicationautoscaling-controller ==== Copying common custom resource definitions into applicationautoscaling Building Kubernetes API objects for applicationautoscaling Generating deepcopy code for applicationautoscaling Generating custom resource definitions for applicationautoscaling Building service controller for applicationautoscaling Running GO mod tidy Generating RBAC manifests for applicationautoscaling Running gofmt against generated code for applicationautoscaling Updating additional GitHub repository maintenance files ==== building applicationautoscaling-controller release artifacts ==== Building release artifacts for applicationautoscaling-v1.0.22 Generating common custom resource definitions Generating custom resource definitions for applicationautoscaling Generating RBAC manifests for applicationautoscaling ``` ---------- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent c39564e commit 59b5bda

11 files changed

+249
-976
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
ack_generate_info:
2-
build_date: "2025-02-18T01:02:02Z"
3-
build_hash: 66c0f840b0bcf6f552be46cf5ee0fb95ad57053e
4-
go_version: go1.23.6
5-
version: v0.43.0
6-
api_directory_checksum: fbb4bbfdb9366ae5865c4320124e8279718c05f2
2+
build_date: "2025-02-19T23:02:34Z"
3+
build_hash: 8b426c490ff1984d8ce5577e11d6dabe1b6373b8
4+
go_version: go1.24.0
5+
version: v0.43.1
6+
api_directory_checksum: 57dca12be8ab67a254aa3d14d1450caa3754c3f6
77
api_version: v1alpha1
88
aws_sdk_go_version: 1.32.6
99
generator_config_info:

apis/v1alpha1/scalable_target.go

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

apis/v1alpha1/scaling_policy.go

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

config/controller/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ kind: Kustomization
66
images:
77
- name: controller
88
newName: public.ecr.aws/aws-controllers-k8s/applicationautoscaling-controller
9-
newTag: 1.0.21
9+
newTag: 1.0.22

config/crd/bases/applicationautoscaling.services.k8s.aws_scalabletargets.yaml

Lines changed: 3 additions & 216 deletions
Original file line numberDiff line numberDiff line change
@@ -43,236 +43,23 @@ spec:
4343
Represents a scalable target.
4444
properties:
4545
maxCapacity:
46-
description: |-
47-
The maximum value that you plan to scale out to. When a scaling policy is
48-
in effect, Application Auto Scaling can scale out (expand) as needed to the
49-
maximum capacity limit in response to changing demand. This property is required
50-
when registering a new scalable target.
51-
52-
Although you can specify a large maximum capacity, note that service quotas
53-
might impose lower limits. Each service has its own default quotas for the
54-
maximum capacity of the resource. If you want to specify a higher limit,
55-
you can request an increase. For more information, consult the documentation
56-
for that service. For information about the default quotas for each service,
57-
see Service endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html)
58-
in the Amazon Web Services General Reference.
5946
format: int64
6047
type: integer
6148
minCapacity:
62-
description: |-
63-
The minimum value that you plan to scale in to. When a scaling policy is
64-
in effect, Application Auto Scaling can scale in (contract) as needed to
65-
the minimum capacity limit in response to changing demand. This property
66-
is required when registering a new scalable target.
67-
68-
For the following resources, the minimum value allowed is 0.
69-
70-
* AppStream 2.0 fleets
71-
72-
* Aurora DB clusters
73-
74-
* ECS services
75-
76-
* EMR clusters
77-
78-
* Lambda provisioned concurrency
79-
80-
* SageMaker endpoint variants
81-
82-
* SageMaker inference components
83-
84-
* SageMaker serverless endpoint provisioned concurrency
85-
86-
* Spot Fleets
87-
88-
* custom resources
89-
90-
It's strongly recommended that you specify a value greater than 0. A value
91-
greater than 0 means that data points are continuously reported to CloudWatch
92-
that scaling policies can use to scale on a metric like average CPU utilization.
93-
94-
For all other resources, the minimum allowed value depends on the type of
95-
resource that you are using. If you provide a value that is lower than what
96-
a resource can accept, an error occurs. In which case, the error message
97-
will provide the minimum value that the resource can accept.
9849
format: int64
9950
type: integer
10051
resourceID:
101-
description: |-
102-
The identifier of the resource that is associated with the scalable target.
103-
This string consists of the resource type and unique identifier.
104-
105-
* ECS service - The resource type is service and the unique identifier
106-
is the cluster name and service name. Example: service/my-cluster/my-service.
107-
108-
* Spot Fleet - The resource type is spot-fleet-request and the unique
109-
identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
110-
111-
* EMR cluster - The resource type is instancegroup and the unique identifier
112-
is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.
113-
114-
* AppStream 2.0 fleet - The resource type is fleet and the unique identifier
115-
is the fleet name. Example: fleet/sample-fleet.
116-
117-
* DynamoDB table - The resource type is table and the unique identifier
118-
is the table name. Example: table/my-table.
119-
120-
* DynamoDB global secondary index - The resource type is index and the
121-
unique identifier is the index name. Example: table/my-table/index/my-table-index.
122-
123-
* Aurora DB cluster - The resource type is cluster and the unique identifier
124-
is the cluster name. Example: cluster:my-db-cluster.
125-
126-
* SageMaker endpoint variant - The resource type is variant and the unique
127-
identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering.
128-
129-
* Custom resources are not supported with a resource type. This parameter
130-
must specify the OutputValue from the CloudFormation template stack used
131-
to access the resources. The unique identifier is defined by the service
132-
provider. More information is available in our GitHub repository (https://github.com/aws/aws-auto-scaling-custom-resource).
133-
134-
* Amazon Comprehend document classification endpoint - The resource type
135-
and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE.
136-
137-
* Amazon Comprehend entity recognizer endpoint - The resource type and
138-
unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE.
139-
140-
* Lambda provisioned concurrency - The resource type is function and the
141-
unique identifier is the function name with a function version or alias
142-
name suffix that is not $LATEST. Example: function:my-function:prod or
143-
function:my-function:1.
144-
145-
* Amazon Keyspaces table - The resource type is table and the unique identifier
146-
is the table name. Example: keyspace/mykeyspace/table/mytable.
147-
148-
* Amazon MSK cluster - The resource type and unique identifier are specified
149-
using the cluster ARN. Example: arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5.
150-
151-
* Amazon ElastiCache replication group - The resource type is replication-group
152-
and the unique identifier is the replication group name. Example: replication-group/mycluster.
153-
154-
* Neptune cluster - The resource type is cluster and the unique identifier
155-
is the cluster name. Example: cluster:mycluster.
156-
157-
* SageMaker serverless endpoint - The resource type is variant and the
158-
unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering.
159-
160-
* SageMaker inference component - The resource type is inference-component
161-
and the unique identifier is the resource ID. Example: inference-component/my-inference-component.
162-
163-
* Pool of WorkSpaces - The resource type is workspacespool and the unique
164-
identifier is the pool ID. Example: workspacespool/wspool-123456.
16552
type: string
16653
roleARN:
167-
description: |-
168-
This parameter is required for services that do not support service-linked
169-
roles (such as Amazon EMR), and it must specify the ARN of an IAM role that
170-
allows Application Auto Scaling to modify the scalable target on your behalf.
171-
172-
If the service supports service-linked roles, Application Auto Scaling uses
173-
a service-linked role, which it creates if it does not yet exist. For more
174-
information, see How Application Auto Scaling works with IAM (https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html).
17554
type: string
17655
scalableDimension:
177-
description: |-
178-
The scalable dimension associated with the scalable target. This string consists
179-
of the service namespace, resource type, and scaling property.
180-
181-
* ecs:service:DesiredCount - The task count of an ECS service.
182-
183-
* elasticmapreduce:instancegroup:InstanceCount - The instance count of
184-
an EMR Instance Group.
185-
186-
* ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot
187-
Fleet.
188-
189-
* appstream:fleet:DesiredCapacity - The capacity of an AppStream 2.0 fleet.
190-
191-
* dynamodb:table:ReadCapacityUnits - The provisioned read capacity for
192-
a DynamoDB table.
193-
194-
* dynamodb:table:WriteCapacityUnits - The provisioned write capacity for
195-
a DynamoDB table.
196-
197-
* dynamodb:index:ReadCapacityUnits - The provisioned read capacity for
198-
a DynamoDB global secondary index.
199-
200-
* dynamodb:index:WriteCapacityUnits - The provisioned write capacity for
201-
a DynamoDB global secondary index.
202-
203-
* rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora
204-
DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible
205-
edition.
206-
207-
* sagemaker:variant:DesiredInstanceCount - The number of EC2 instances
208-
for a SageMaker model endpoint variant.
209-
210-
* custom-resource:ResourceType:Property - The scalable dimension for a
211-
custom resource provided by your own application or service.
212-
213-
* comprehend:document-classifier-endpoint:DesiredInferenceUnits - The
214-
number of inference units for an Amazon Comprehend document classification
215-
endpoint.
216-
217-
* comprehend:entity-recognizer-endpoint:DesiredInferenceUnits - The number
218-
of inference units for an Amazon Comprehend entity recognizer endpoint.
219-
220-
* lambda:function:ProvisionedConcurrency - The provisioned concurrency
221-
for a Lambda function.
222-
223-
* cassandra:table:ReadCapacityUnits - The provisioned read capacity for
224-
an Amazon Keyspaces table.
225-
226-
* cassandra:table:WriteCapacityUnits - The provisioned write capacity
227-
for an Amazon Keyspaces table.
228-
229-
* kafka:broker-storage:VolumeSize - The provisioned volume size (in GiB)
230-
for brokers in an Amazon MSK cluster.
231-
232-
* elasticache:replication-group:NodeGroups - The number of node groups
233-
for an Amazon ElastiCache replication group.
234-
235-
* elasticache:replication-group:Replicas - The number of replicas per
236-
node group for an Amazon ElastiCache replication group.
237-
238-
* neptune:cluster:ReadReplicaCount - The count of read replicas in an
239-
Amazon Neptune DB cluster.
240-
241-
* sagemaker:variant:DesiredProvisionedConcurrency - The provisioned concurrency
242-
for a SageMaker serverless endpoint.
243-
244-
* sagemaker:inference-component:DesiredCopyCount - The number of copies
245-
across an endpoint for a SageMaker inference component.
246-
247-
* workspaces:workspacespool:DesiredUserSessions - The number of user sessions
248-
for the WorkSpaces in the pool.
24956
type: string
25057
serviceNamespace:
251-
description: |-
252-
The namespace of the Amazon Web Services service that provides the resource.
253-
For a resource provided by your own application or service, use custom-resource
254-
instead.
25558
type: string
25659
suspendedState:
25760
description: |-
258-
An embedded object that contains attributes and attribute values that are
259-
used to suspend and resume automatic scaling. Setting the value of an attribute
260-
to true suspends the specified scaling activities. Setting it to false (default)
261-
resumes the specified scaling activities.
262-
263-
Suspension Outcomes
264-
265-
* For DynamicScalingInSuspended, while a suspension is in effect, all
266-
scale-in activities that are triggered by a scaling policy are suspended.
267-
268-
* For DynamicScalingOutSuspended, while a suspension is in effect, all
269-
scale-out activities that are triggered by a scaling policy are suspended.
270-
271-
* For ScheduledScalingSuspended, while a suspension is in effect, all
272-
scaling activities that involve scheduled actions are suspended.
273-
274-
For more information, see Suspend and resume scaling (https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-suspend-resume-scaling.html)
275-
in the Application Auto Scaling User Guide.
61+
Specifies whether the scaling activities for a scalable target are in a suspended
62+
state.
27663
properties:
27764
dynamicScalingInSuspended:
27865
type: boolean
@@ -320,7 +107,7 @@ spec:
320107
type: object
321108
conditions:
322109
description: |-
323-
All CRS managed by ACK have a common `Status.Conditions` member that
110+
All CRs managed by ACK have a common `Status.Conditions` member that
324111
contains a collection of `ackv1alpha1.Condition` objects that describe
325112
the various terminal states of the CR and its backend AWS service API
326113
resource

0 commit comments

Comments
 (0)