You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cluster-autoscaler/cloudprovider/aws/README.md
+56Lines changed: 56 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -425,6 +425,8 @@ To refresh static list, please run `go run ec2_instance_types/gen.go` under
425
425
426
426
## Using the AWS SDK vendored in the AWS cloudprovider
427
427
428
+
### v1
429
+
428
430
If you want to use a newer version of the AWS SDK than the version currently vendored as a direct dependency by Cluster Autoscaler, then you can use the version vendored under this AWS cloudprovider.
429
431
430
432
The current version vendored is `v1.48.7`.
@@ -436,6 +438,60 @@ If you want to update the vendored AWS SDK to a newer version, please make sure
436
438
3. Update the import statements within the newly-copied AWS SDK to reference the new paths (e.g., `github.com/aws/aws-sdk-go/aws/awsutil` -> `k8s.io/autoscaler/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/awsutil`). You can use this command from the aws-sdk-go folder `find . -type f -exec sed -i ‘s#github.com/aws/aws-sdk-go#k8s.io/autoscaler/cluster-autoscaler/cloudprovider/aws/aws-sdk-go#’ {} \;`
437
439
4. Update the version number above to indicate the new vendored version.
438
440
441
+
### v2
442
+
If you want to use a newer version of the AWS SDK than the version currently vendored as a direct dependency by Cluster Autoscaler, then you can use the version vendored under this AWS cloudprovider.
443
+
444
+
The current version vendored is `2025-06-17`.
445
+
446
+
The aws-sdk-go-v2 also depends on aws/smithy-go; this is similarly vendored; check the go.mod of the aws-sdk-go-v2 package for the correct version of this package.
447
+
448
+
The current version vendored is `v1.22.4`
449
+
450
+
You can use the commands below to update the vendored copy of these modules to a newer version
0 commit comments