google-cloud-container-v1 0.17.0 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 356d7d5be8ca22637504ee625e885f0a664d7f13c42d72a2b71e5e198eccbd88
4
- data.tar.gz: f27dcc0dae7ca73b615e5ffadfe8784485c1d547825d56e937948bb70ce07e6b
3
+ metadata.gz: 005c1232b76c6cdebac74e1a317ab36d5d60ad063e190ca7dd6552dd3e446dbe
4
+ data.tar.gz: 33bc0fe4d40bbf92aebe676abdf5fe38033f03b1442486ac8669a50cd3d69428
5
5
  SHA512:
6
- metadata.gz: 31302ff6515cac9f76fbcf31952aa6c193f96b4ea12658bb3c1da8b9854207bd005cee2840c6bdb77ef2400c975a73c3394dff9912cfcb2b56831d794caf79a5
7
- data.tar.gz: 1fe0723c36364d4995a1c94cfceaf110cf28abf9b796c2c3a36432582669db59f58bf5b03537d5f68dab40c3f2da17f53d72150149b00e737be3449ad31e0a18
6
+ metadata.gz: 1f716b5ddc26c4c972b3d09fc3ff71569b9e81723ef63030fab9c796da273eb3c78e2a1246875b0fb690ed7b39ef1f3667e74961c4b0909206b65b6ef3fcd504
7
+ data.tar.gz: b1acb73e8b991cb505a552aecc3efdb6a611249c41c24c4f50a777f72f208c99b28355a4f93821ad2291793425e19e9e4cdccf6990436c42fc3a0aaef5a7c80b
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1
24
- VERSION = "0.17.0"
24
+ VERSION = "0.19.0"
25
25
  end
26
26
  end
27
27
  end
@@ -83,6 +83,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
83
83
  optional :pod_ipv4_cidr_block, :string, 6
84
84
  proto3_optional :enable_private_nodes, :bool, 9
85
85
  proto3_optional :network_performance_config, :message, 11, "google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig"
86
+ optional :pod_cidr_overprovision_config, :message, 13, "google.container.v1.PodCIDROverprovisionConfig"
86
87
  end
87
88
  add_message "google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig" do
88
89
  proto3_optional :total_egress_bandwidth_tier, :enum, 1, "google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier"
@@ -244,6 +245,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
244
245
  value :DISABLED, 1
245
246
  value :PROJECT_SINGLETON_POLICY_ENFORCE, 2
246
247
  end
248
+ add_message "google.container.v1.PodCIDROverprovisionConfig" do
249
+ optional :disable, :bool, 1
250
+ end
247
251
  add_message "google.container.v1.IPAllocationPolicy" do
248
252
  optional :use_ip_aliases, :bool, 1
249
253
  optional :create_subnetwork, :bool, 2
@@ -260,8 +264,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
260
264
  optional :use_routes, :bool, 15
261
265
  optional :stack_type, :enum, 16, "google.container.v1.StackType"
262
266
  optional :ipv6_access_type, :enum, 17, "google.container.v1.IPv6AccessType"
267
+ optional :pod_cidr_overprovision_config, :message, 21, "google.container.v1.PodCIDROverprovisionConfig"
263
268
  optional :subnet_ipv6_cidr_block, :string, 22
264
269
  optional :services_ipv6_cidr_block, :string, 23
270
+ optional :additional_pod_ranges_config, :message, 24, "google.container.v1.AdditionalPodRangesConfig"
265
271
  end
266
272
  add_message "google.container.v1.Cluster" do
267
273
  optional :name, :string, 1
@@ -389,6 +395,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
389
395
  optional :etag, :string, 115
390
396
  optional :desired_node_pool_logging_config, :message, 116, "google.container.v1.NodePoolLoggingConfig"
391
397
  optional :desired_stack_type, :enum, 119, "google.container.v1.StackType"
398
+ optional :additional_pod_ranges_config, :message, 120, "google.container.v1.AdditionalPodRangesConfig"
399
+ optional :removed_additional_pod_ranges_config, :message, 121, "google.container.v1.AdditionalPodRangesConfig"
400
+ end
401
+ add_message "google.container.v1.AdditionalPodRangesConfig" do
402
+ repeated :pod_range_names, :string, 1
392
403
  end
393
404
  add_message "google.container.v1.Operation" do
394
405
  optional :name, :string, 1
@@ -1248,6 +1259,7 @@ module Google
1248
1259
  NetworkPolicy::Provider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NetworkPolicy.Provider").enummodule
1249
1260
  BinaryAuthorization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.BinaryAuthorization").msgclass
1250
1261
  BinaryAuthorization::EvaluationMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.BinaryAuthorization.EvaluationMode").enummodule
1262
+ PodCIDROverprovisionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.PodCIDROverprovisionConfig").msgclass
1251
1263
  IPAllocationPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.IPAllocationPolicy").msgclass
1252
1264
  Cluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Cluster").msgclass
1253
1265
  Cluster::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Cluster.Status").enummodule
@@ -1255,6 +1267,7 @@ module Google
1255
1267
  NodePoolDefaults = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePoolDefaults").msgclass
1256
1268
  NodeConfigDefaults = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeConfigDefaults").msgclass
1257
1269
  ClusterUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ClusterUpdate").msgclass
1270
+ AdditionalPodRangesConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.AdditionalPodRangesConfig").msgclass
1258
1271
  Operation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Operation").msgclass
1259
1272
  Operation::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Operation.Status").enummodule
1260
1273
  Operation::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Operation.Type").enummodule
@@ -440,6 +440,20 @@ module Google
440
440
  # @!attribute [rw] network_performance_config
441
441
  # @return [::Google::Cloud::Container::V1::NodeNetworkConfig::NetworkPerformanceConfig]
442
442
  # Network bandwidth tier configuration.
443
+ # @!attribute [rw] pod_cidr_overprovision_config
444
+ # @return [::Google::Cloud::Container::V1::PodCIDROverprovisionConfig]
445
+ # [PRIVATE FIELD]
446
+ # Pod CIDR size overprovisioning config for the nodepool.
447
+ #
448
+ # Pod CIDR size per node depends on max_pods_per_node. By default, the value
449
+ # of max_pods_per_node is rounded off to next power of 2 and we then double
450
+ # that to get the size of pod CIDR block per node.
451
+ # Example: max_pods_per_node of 30 would result in 64 IPs (/26).
452
+ #
453
+ # This config can disable the doubling of IPs (we still round off to next
454
+ # power of 2)
455
+ # Example: max_pods_per_node of 30 will result in 32 IPs (/27) when
456
+ # overprovisioning is disabled.
443
457
  class NodeNetworkConfig
444
458
  include ::Google::Protobuf::MessageExts
445
459
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1012,6 +1026,17 @@ module Google
1012
1026
  end
1013
1027
  end
1014
1028
 
1029
+ # [PRIVATE FIELD]
1030
+ # Config for pod CIDR size overprovisioning.
1031
+ # @!attribute [rw] disable
1032
+ # @return [::Boolean]
1033
+ # Whether Pod CIDR overprovisioning is disabled.
1034
+ # Note: Pod CIDR overprovisioning is enabled by default.
1035
+ class PodCIDROverprovisionConfig
1036
+ include ::Google::Protobuf::MessageExts
1037
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1038
+ end
1039
+
1015
1040
  # Configuration for controlling how IPs are allocated in the cluster.
1016
1041
  # @!attribute [rw] use_ip_aliases
1017
1042
  # @return [::Boolean]
@@ -1135,6 +1160,20 @@ module Google
1135
1160
  # @!attribute [rw] ipv6_access_type
1136
1161
  # @return [::Google::Cloud::Container::V1::IPv6AccessType]
1137
1162
  # The ipv6 access type (internal or external) when create_subnetwork is true
1163
+ # @!attribute [rw] pod_cidr_overprovision_config
1164
+ # @return [::Google::Cloud::Container::V1::PodCIDROverprovisionConfig]
1165
+ # [PRIVATE FIELD]
1166
+ # Pod CIDR size overprovisioning config for the cluster.
1167
+ #
1168
+ # Pod CIDR size per node depends on max_pods_per_node. By default, the value
1169
+ # of max_pods_per_node is doubled and then rounded off to next power of 2 to
1170
+ # get the size of pod CIDR block per node.
1171
+ # Example: max_pods_per_node of 30 would result in 64 IPs (/26).
1172
+ #
1173
+ # This config can disable the doubling of IPs (we still round off to next
1174
+ # power of 2)
1175
+ # Example: max_pods_per_node of 30 will result in 32 IPs (/27) when
1176
+ # overprovisioning is disabled.
1138
1177
  # @!attribute [r] subnet_ipv6_cidr_block
1139
1178
  # @return [::String]
1140
1179
  # Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and
@@ -1142,6 +1181,12 @@ module Google
1142
1181
  # @!attribute [r] services_ipv6_cidr_block
1143
1182
  # @return [::String]
1144
1183
  # Output only. [Output only] The services IPv6 CIDR block for the cluster.
1184
+ # @!attribute [r] additional_pod_ranges_config
1185
+ # @return [::Google::Cloud::Container::V1::AdditionalPodRangesConfig]
1186
+ # Output only. [Output only] The additional pod ranges that are added to the
1187
+ # cluster. These pod ranges can be used by new node pools to allocate pod IPs
1188
+ # automatically. Once the range is removed it will not show up in
1189
+ # IPAllocationPolicy.
1145
1190
  class IPAllocationPolicy
1146
1191
  include ::Google::Protobuf::MessageExts
1147
1192
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1726,11 +1771,30 @@ module Google
1726
1771
  # The desired stack type of the cluster.
1727
1772
  # If a stack type is provided and does not match the current stack type of
1728
1773
  # the cluster, update will attempt to change the stack type to the new type.
1774
+ # @!attribute [rw] additional_pod_ranges_config
1775
+ # @return [::Google::Cloud::Container::V1::AdditionalPodRangesConfig]
1776
+ # The additional pod ranges to be added to the cluster. These pod ranges
1777
+ # can be used by node pools to allocate pod IPs.
1778
+ # @!attribute [rw] removed_additional_pod_ranges_config
1779
+ # @return [::Google::Cloud::Container::V1::AdditionalPodRangesConfig]
1780
+ # The additional pod ranges that are to be removed from the cluster.
1781
+ # The pod ranges specified here must have been specified earlier in the
1782
+ # 'additional_pod_ranges_config' argument.
1729
1783
  class ClusterUpdate
1730
1784
  include ::Google::Protobuf::MessageExts
1731
1785
  extend ::Google::Protobuf::MessageExts::ClassMethods
1732
1786
  end
1733
1787
 
1788
+ # AdditionalPodRangesConfig is the configuration for additional pod secondary
1789
+ # ranges supporting the ClusterUpdate message.
1790
+ # @!attribute [rw] pod_range_names
1791
+ # @return [::Array<::String>]
1792
+ # Name for pod secondary ipv4 range which has the actual range defined ahead.
1793
+ class AdditionalPodRangesConfig
1794
+ include ::Google::Protobuf::MessageExts
1795
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1796
+ end
1797
+
1734
1798
  # This operation resource represents operations that may have happened or are
1735
1799
  # happening on the cluster. All fields are output only.
1736
1800
  # @!attribute [rw] name
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-container-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.19.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-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common