google-cloud-container-v1 0.17.0 → 0.18.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: 8785038f511121dfeb49d4687faef04b1e318b5602ec9fa980f2b9f7c72c4690
4
+ data.tar.gz: ffbaac021f77b98034f939bc296ef9eef9e03361fbb2927d6027a3fdf0f59384
5
5
  SHA512:
6
- metadata.gz: 31302ff6515cac9f76fbcf31952aa6c193f96b4ea12658bb3c1da8b9854207bd005cee2840c6bdb77ef2400c975a73c3394dff9912cfcb2b56831d794caf79a5
7
- data.tar.gz: 1fe0723c36364d4995a1c94cfceaf110cf28abf9b796c2c3a36432582669db59f58bf5b03537d5f68dab40c3f2da17f53d72150149b00e737be3449ad31e0a18
6
+ metadata.gz: 7c55c3467234e4449bcc8cf069512e749b63ca57a43a467103aa38046aba5f9bcb32d13f6c4ba287b7739b925cf0f92e84c58713ba45556dc9d935ea96748103
7
+ data.tar.gz: cdb18f638669c10eb8c2ad7c604ce2a8e0b89fc9d6e1451ebbd8fc44ec0776abc92ecb0dd6d99b5d20e610ec1ff9dcd34185eb30c38d71ab8298dd837235bc12
@@ -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.18.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,10 @@ 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
392
402
  end
393
403
  add_message "google.container.v1.Operation" do
394
404
  optional :name, :string, 1
@@ -1248,6 +1258,7 @@ module Google
1248
1258
  NetworkPolicy::Provider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NetworkPolicy.Provider").enummodule
1249
1259
  BinaryAuthorization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.BinaryAuthorization").msgclass
1250
1260
  BinaryAuthorization::EvaluationMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.BinaryAuthorization.EvaluationMode").enummodule
1261
+ PodCIDROverprovisionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.PodCIDROverprovisionConfig").msgclass
1251
1262
  IPAllocationPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.IPAllocationPolicy").msgclass
1252
1263
  Cluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Cluster").msgclass
1253
1264
  Cluster::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Cluster.Status").enummodule
@@ -1255,6 +1266,7 @@ module Google
1255
1266
  NodePoolDefaults = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePoolDefaults").msgclass
1256
1267
  NodeConfigDefaults = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeConfigDefaults").msgclass
1257
1268
  ClusterUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ClusterUpdate").msgclass
1269
+ AdditionalPodRangesConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.AdditionalPodRangesConfig").msgclass
1258
1270
  Operation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Operation").msgclass
1259
1271
  Operation::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Operation.Status").enummodule
1260
1272
  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,27 @@ 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
+ class AdditionalPodRangesConfig
1791
+ include ::Google::Protobuf::MessageExts
1792
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1793
+ end
1794
+
1734
1795
  # This operation resource represents operations that may have happened or are
1735
1796
  # happening on the cluster. All fields are output only.
1736
1797
  # @!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.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