google-cloud-container-v1beta1 0.17.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 03efa83b306015f90af21f49eb708a642f5027c84be343ea016e61c9337ba961
4
- data.tar.gz: 30387340f45a6735c7c01f6fa5db026a3c7ef5efbf371c1e6f336a68015ab933
3
+ metadata.gz: 6434adbf5b68cd22fa86f46dd37c6d5bdd1bce804c7a7a650cd9b7bf4d34643e
4
+ data.tar.gz: 96e177d929d2692341918a4ed97f3a0f31eeacdc24d1b9a306fde02fe0cd067f
5
5
  SHA512:
6
- metadata.gz: ee86e5663ae9b6b2dce5301911ae0ad61949a0f469770d46b1d4e634d0404147dab944c98a0938949e0e1d5d2636e24beaea0647cd21f912e7093419b2182465
7
- data.tar.gz: 85c08a8ee2e559a7e658a5c06873019c409f8b0031d45c82d444e7b76f4eab014ddb52bd40fb09fbfc12510df5ccd7221c7458bc5d21d87b61d46484cc493d94
6
+ metadata.gz: f7f9062f1223348ec9833622909844fc1be04a8b7bb5661886d344558dc4f2563d06620fd7b49998a04992fb70ad0ad13fa0783d48d9b85c3746678f0b020d9a
7
+ data.tar.gz: 566cd73c9535d09ec0e5d8a5be3d18a48c9320f1c2bcd27e2d7f5c93f915d6fb46845c7731ad85ce4133211b0ac4f6e3783a195b5798c0f1ec5f4783a5222850
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1beta1
24
- VERSION = "0.17.0"
24
+ VERSION = "0.18.0"
25
25
  end
26
26
  end
27
27
  end
@@ -85,6 +85,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
85
85
  optional :pod_ipv4_cidr_block, :string, 6
86
86
  proto3_optional :enable_private_nodes, :bool, 9
87
87
  proto3_optional :network_performance_config, :message, 11, "google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig"
88
+ optional :pod_cidr_overprovision_config, :message, 13, "google.container.v1beta1.PodCIDROverprovisionConfig"
88
89
  end
89
90
  add_message "google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig" do
90
91
  proto3_optional :total_egress_bandwidth_tier, :enum, 1, "google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier"
@@ -257,6 +258,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
257
258
  value :PROVIDER_UNSPECIFIED, 0
258
259
  value :CALICO, 1
259
260
  end
261
+ add_message "google.container.v1beta1.PodCIDROverprovisionConfig" do
262
+ optional :disable, :bool, 1
263
+ end
260
264
  add_message "google.container.v1beta1.IPAllocationPolicy" do
261
265
  optional :use_ip_aliases, :bool, 1
262
266
  optional :create_subnetwork, :bool, 2
@@ -274,8 +278,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
274
278
  optional :use_routes, :bool, 15
275
279
  optional :stack_type, :enum, 16, "google.container.v1beta1.IPAllocationPolicy.StackType"
276
280
  optional :ipv6_access_type, :enum, 17, "google.container.v1beta1.IPAllocationPolicy.IPv6AccessType"
281
+ optional :pod_cidr_overprovision_config, :message, 21, "google.container.v1beta1.PodCIDROverprovisionConfig"
277
282
  optional :subnet_ipv6_cidr_block, :string, 22
278
283
  optional :services_ipv6_cidr_block, :string, 23
284
+ optional :additional_pod_ranges_config, :message, 24, "google.container.v1beta1.AdditionalPodRangesConfig"
279
285
  end
280
286
  add_enum "google.container.v1beta1.IPAllocationPolicy.StackType" do
281
287
  value :STACK_TYPE_UNSPECIFIED, 0
@@ -473,6 +479,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
473
479
  optional :etag, :string, 115
474
480
  optional :desired_node_pool_logging_config, :message, 116, "google.container.v1beta1.NodePoolLoggingConfig"
475
481
  optional :desired_stack_type, :enum, 119, "google.container.v1beta1.StackType"
482
+ optional :additional_pod_ranges_config, :message, 120, "google.container.v1beta1.AdditionalPodRangesConfig"
483
+ optional :removed_additional_pod_ranges_config, :message, 121, "google.container.v1beta1.AdditionalPodRangesConfig"
484
+ end
485
+ add_message "google.container.v1beta1.AdditionalPodRangesConfig" do
476
486
  end
477
487
  add_message "google.container.v1beta1.Operation" do
478
488
  optional :name, :string, 1
@@ -1380,6 +1390,7 @@ module Google
1380
1390
  LegacyAbac = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.LegacyAbac").msgclass
1381
1391
  NetworkPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NetworkPolicy").msgclass
1382
1392
  NetworkPolicy::Provider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NetworkPolicy.Provider").enummodule
1393
+ PodCIDROverprovisionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.PodCIDROverprovisionConfig").msgclass
1383
1394
  IPAllocationPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.IPAllocationPolicy").msgclass
1384
1395
  IPAllocationPolicy::StackType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.IPAllocationPolicy.StackType").enummodule
1385
1396
  IPAllocationPolicy::IPv6AccessType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.IPAllocationPolicy.IPv6AccessType").enummodule
@@ -1399,6 +1410,7 @@ module Google
1399
1410
  NodeConfigDefaults = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodeConfigDefaults").msgclass
1400
1411
  NodePoolAutoConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodePoolAutoConfig").msgclass
1401
1412
  ClusterUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ClusterUpdate").msgclass
1413
+ AdditionalPodRangesConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.AdditionalPodRangesConfig").msgclass
1402
1414
  Operation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.Operation").msgclass
1403
1415
  Operation::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.Operation.Status").enummodule
1404
1416
  Operation::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.Operation.Type").enummodule
@@ -446,6 +446,20 @@ module Google
446
446
  # @!attribute [rw] network_performance_config
447
447
  # @return [::Google::Cloud::Container::V1beta1::NodeNetworkConfig::NetworkPerformanceConfig]
448
448
  # Network bandwidth tier configuration.
449
+ # @!attribute [rw] pod_cidr_overprovision_config
450
+ # @return [::Google::Cloud::Container::V1beta1::PodCIDROverprovisionConfig]
451
+ # [PRIVATE FIELD]
452
+ # Pod CIDR size overprovisioning config for the nodepool.
453
+ #
454
+ # Pod CIDR size per node depends on max_pods_per_node. By default, the value
455
+ # of max_pods_per_node is rounded off to next power of 2 and we then double
456
+ # that to get the size of pod CIDR block per node.
457
+ # Example: max_pods_per_node of 30 would result in 64 IPs (/26).
458
+ #
459
+ # This config can disable the doubling of IPs (we still round off to next
460
+ # power of 2)
461
+ # Example: max_pods_per_node of 30 will result in 32 IPs (/27) when
462
+ # overprovisioning is disabled.
449
463
  class NodeNetworkConfig
450
464
  include ::Google::Protobuf::MessageExts
451
465
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1063,6 +1077,17 @@ module Google
1063
1077
  end
1064
1078
  end
1065
1079
 
1080
+ # [PRIVATE FIELD]
1081
+ # Config for pod CIDR size overprovisioning.
1082
+ # @!attribute [rw] disable
1083
+ # @return [::Boolean]
1084
+ # Whether Pod CIDR overprovisioning is disabled.
1085
+ # Note: Pod CIDR overprovisioning is enabled by default.
1086
+ class PodCIDROverprovisionConfig
1087
+ include ::Google::Protobuf::MessageExts
1088
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1089
+ end
1090
+
1066
1091
  # Configuration for controlling how IPs are allocated in the cluster.
1067
1092
  # @!attribute [rw] use_ip_aliases
1068
1093
  # @return [::Boolean]
@@ -1201,6 +1226,20 @@ module Google
1201
1226
  # @!attribute [rw] ipv6_access_type
1202
1227
  # @return [::Google::Cloud::Container::V1beta1::IPAllocationPolicy::IPv6AccessType]
1203
1228
  # The ipv6 access type (internal or external) when create_subnetwork is true
1229
+ # @!attribute [rw] pod_cidr_overprovision_config
1230
+ # @return [::Google::Cloud::Container::V1beta1::PodCIDROverprovisionConfig]
1231
+ # [PRIVATE FIELD]
1232
+ # Pod CIDR size overprovisioning config for the cluster.
1233
+ #
1234
+ # Pod CIDR size per node depends on max_pods_per_node. By default, the value
1235
+ # of max_pods_per_node is doubled and then rounded off to next power of 2 to
1236
+ # get the size of pod CIDR block per node.
1237
+ # Example: max_pods_per_node of 30 would result in 64 IPs (/26).
1238
+ #
1239
+ # This config can disable the doubling of IPs (we still round off to next
1240
+ # power of 2)
1241
+ # Example: max_pods_per_node of 30 will result in 32 IPs (/27) when
1242
+ # overprovisioning is disabled.
1204
1243
  # @!attribute [r] subnet_ipv6_cidr_block
1205
1244
  # @return [::String]
1206
1245
  # Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and
@@ -1208,6 +1247,12 @@ module Google
1208
1247
  # @!attribute [r] services_ipv6_cidr_block
1209
1248
  # @return [::String]
1210
1249
  # Output only. [Output only] The services IPv6 CIDR block for the cluster.
1250
+ # @!attribute [r] additional_pod_ranges_config
1251
+ # @return [::Google::Cloud::Container::V1beta1::AdditionalPodRangesConfig]
1252
+ # Output only. [Output only] The additional pod ranges that are added to the
1253
+ # cluster. These pod ranges can be used by new node pools to allocate pod IPs
1254
+ # automatically. Once the range is removed it will not show up in
1255
+ # IPAllocationPolicy.
1211
1256
  class IPAllocationPolicy
1212
1257
  include ::Google::Protobuf::MessageExts
1213
1258
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2013,11 +2058,27 @@ module Google
2013
2058
  # The desired stack type of the cluster.
2014
2059
  # If a stack type is provided and does not match the current stack type of
2015
2060
  # the cluster, update will attempt to change the stack type to the new type.
2061
+ # @!attribute [rw] additional_pod_ranges_config
2062
+ # @return [::Google::Cloud::Container::V1beta1::AdditionalPodRangesConfig]
2063
+ # The additional pod ranges to be added to the cluster. These pod ranges
2064
+ # can be used by node pools to allocate pod IPs.
2065
+ # @!attribute [rw] removed_additional_pod_ranges_config
2066
+ # @return [::Google::Cloud::Container::V1beta1::AdditionalPodRangesConfig]
2067
+ # The additional pod ranges that are to be removed from the cluster.
2068
+ # The pod ranges specified here must have been specified earlier in the
2069
+ # 'additional_pod_ranges_config' argument.
2016
2070
  class ClusterUpdate
2017
2071
  include ::Google::Protobuf::MessageExts
2018
2072
  extend ::Google::Protobuf::MessageExts::ClassMethods
2019
2073
  end
2020
2074
 
2075
+ # AdditionalPodRangesConfig is the configuration for additional pod secondary
2076
+ # ranges supporting the ClusterUpdate message.
2077
+ class AdditionalPodRangesConfig
2078
+ include ::Google::Protobuf::MessageExts
2079
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2080
+ end
2081
+
2021
2082
  # This operation resource represents operations that may have happened or are
2022
2083
  # happening on the cluster. All fields are output only.
2023
2084
  # @!attribute [rw] name
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-container-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-29 00:00:00.000000000 Z
11
+ date: 2023-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common