Skip to content

Commit

Permalink
feat: [container] Add autoscaled node pool upgrade strategy (#10167)
Browse files Browse the repository at this point in the history
* feat: Add autoscaled node pool upgrade strategy

PiperOrigin-RevId: 591922529

Source-Link: googleapis/googleapis@f33842a

Source-Link: https://github.com/googleapis/googleapis-gen/commit/5fcb719858d6599e055472ca1018b555fc8dc22a
Copy-Tag: eyJwIjoiamF2YS1jb250YWluZXIvLk93bEJvdC55YW1sIiwiaCI6IjVmY2I3MTk4NThkNjU5OWUwNTU0NzJjYTEwMThiNTU1ZmM4ZGMyMmEifQ==

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jan 2, 2024
1 parent 24577d1 commit 041bc40
Show file tree
Hide file tree
Showing 34 changed files with 1,881 additions and 1,010 deletions.
2 changes: 1 addition & 1 deletion java-container/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-container.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-container/2.33.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-container/2.35.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.container.v1beta1.BlueGreenSettings$AutoscaledRolloutPolicy",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.container.v1beta1.BlueGreenSettings$AutoscaledRolloutPolicy$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.container.v1beta1.BlueGreenSettings$Builder",
"queryAllDeclaredConstructors": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public com.google.protobuf.ByteString getGpuPartitionSizeBytes() {
* <code>int64 max_time_shared_clients_per_gpu = 4 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4633
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4640
* @return The maxTimeSharedClientsPerGpu.
*/
@java.lang.Override
Expand Down Expand Up @@ -1104,7 +1104,7 @@ public Builder setGpuPartitionSizeBytes(com.google.protobuf.ByteString value) {
* <code>int64 max_time_shared_clients_per_gpu = 4 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4633
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4640
* @return The maxTimeSharedClientsPerGpu.
*/
@java.lang.Override
Expand All @@ -1122,7 +1122,7 @@ public long getMaxTimeSharedClientsPerGpu() {
* <code>int64 max_time_shared_clients_per_gpu = 4 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4633
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4640
* @param value The maxTimeSharedClientsPerGpu to set.
* @return This builder for chaining.
*/
Expand All @@ -1144,7 +1144,7 @@ public Builder setMaxTimeSharedClientsPerGpu(long value) {
* <code>int64 max_time_shared_clients_per_gpu = 4 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4633
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4640
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public interface AcceleratorConfigOrBuilder
* <code>int64 max_time_shared_clients_per_gpu = 4 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4633
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4640
* @return The maxTimeSharedClientsPerGpu.
*/
@java.lang.Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4405
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4412
* @return The minCpuPlatform.
*/
@java.lang.Override
Expand Down Expand Up @@ -406,7 +406,7 @@ public java.lang.String getMinCpuPlatform() {
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4405
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4412
* @return The bytes for minCpuPlatform.
*/
@java.lang.Override
Expand Down Expand Up @@ -2150,7 +2150,7 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4405
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4412
* @return The minCpuPlatform.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -2185,7 +2185,7 @@ public java.lang.String getMinCpuPlatform() {
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4405
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4412
* @return The bytes for minCpuPlatform.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -2220,7 +2220,7 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() {
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4405
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4412
* @param value The minCpuPlatform to set.
* @return This builder for chaining.
*/
Expand Down Expand Up @@ -2254,7 +2254,7 @@ public Builder setMinCpuPlatform(java.lang.String value) {
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4405
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4412
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -2284,7 +2284,7 @@ public Builder clearMinCpuPlatform() {
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4405
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4412
* @param value The bytes for minCpuPlatform to set.
* @return This builder for chaining.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4405
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4412
* @return The minCpuPlatform.
*/
@java.lang.Deprecated
Expand All @@ -274,7 +274,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4405
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4412
* @return The bytes for minCpuPlatform.
*/
@java.lang.Deprecated
Expand Down
Loading

0 comments on commit 041bc40

Please sign in to comment.