google-apis-container_v1 0.94.0 → 0.95.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: 2227c05974dce8a6fd245e327b7e28e728a0a22de56684c985acfd6f872e37e1
4
- data.tar.gz: a7362c7685a676adb401889666d31e5457eca281df6e3fbda77d8c450d54837b
3
+ metadata.gz: 31166b0a19f02bd1fb6822527e81173985d6c342a4b952ae369168b46b18c4aa
4
+ data.tar.gz: 8999a6161c704b551ddca6f605f9713793a1028b51ed839dfdd65a91001040a5
5
5
  SHA512:
6
- metadata.gz: b3fc3e9f00f906015d28829cb0b60e251da48bbc3ba3c64c0f7fc3752cf335a460138a18138ef2150019d06b5b83c8340801df16b3344651ecdad9213b60c1c1
7
- data.tar.gz: 36341038dc879cbb84ff0df3336a5cc3b9d40802b1a2e6a2cd5130ae26bc430ccf0c0791bdf9bec84fe7139039d0658b2d3420a05178e4be68a9d66734cf9e75
6
+ metadata.gz: 1b80c155e761c599d5da4f385657fe402e426d77f903b01806f361cafc2cc80b07ef42efd30422ac8de03d477815351298160ddb739af22f3b7947f938925862
7
+ data.tar.gz: a6c4764ffa50d17c39ff1ba051e5e6b637d27125a8e33112e6b2f82b3ebf61873b05927dcb1f1c7e94b89d6a3e652d54ce10ed0e951aa4ff262b4a9a89f9905f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.95.0 (2025-05-11)
4
+
5
+ * Regenerated from discovery document revision 20250429
6
+
3
7
  ### v0.94.0 (2025-05-04)
4
8
 
5
9
  * Regenerated using generator version 0.17.0
@@ -4105,6 +4105,29 @@ module Google
4105
4105
  end
4106
4106
  end
4107
4107
 
4108
+ # The option enables the Kubernetes NUMA-aware Memory Manager feature. Detailed
4109
+ # description about the feature can be found [here](https://kubernetes.io/docs/
4110
+ # tasks/administer-cluster/memory-manager/).
4111
+ class MemoryManager
4112
+ include Google::Apis::Core::Hashable
4113
+
4114
+ # Controls the memory management policy on the Node. See https://kubernetes.io/
4115
+ # docs/tasks/administer-cluster/memory-manager/#policies The following values
4116
+ # are allowed. * "none" * "static" The default value is 'none' if unspecified.
4117
+ # Corresponds to the JSON property `policy`
4118
+ # @return [String]
4119
+ attr_accessor :policy
4120
+
4121
+ def initialize(**args)
4122
+ update!(**args)
4123
+ end
4124
+
4125
+ # Update properties of this object
4126
+ def update!(**args)
4127
+ @policy = args[:policy] if args.key?(:policy)
4128
+ end
4129
+ end
4130
+
4108
4131
  # Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
4109
4132
  class MeshCertificates
4110
4133
  include Google::Apis::Core::Hashable
@@ -4983,6 +5006,13 @@ module Google
4983
5006
  attr_accessor :insecure_kubelet_readonly_port_enabled
4984
5007
  alias_method :insecure_kubelet_readonly_port_enabled?, :insecure_kubelet_readonly_port_enabled
4985
5008
 
5009
+ # The option enables the Kubernetes NUMA-aware Memory Manager feature. Detailed
5010
+ # description about the feature can be found [here](https://kubernetes.io/docs/
5011
+ # tasks/administer-cluster/memory-manager/).
5012
+ # Corresponds to the JSON property `memoryManager`
5013
+ # @return [Google::Apis::ContainerV1::MemoryManager]
5014
+ attr_accessor :memory_manager
5015
+
4986
5016
  # Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-
4987
5017
  # limiting/#pod-pid-limits Controls the maximum number of processes allowed to
4988
5018
  # run in a pod. The value must be greater than or equal to 1024 and less than
@@ -4991,6 +5021,12 @@ module Google
4991
5021
  # @return [Fixnum]
4992
5022
  attr_accessor :pod_pids_limit
4993
5023
 
5024
+ # TopologyManager defines the configuration options for Topology Manager feature.
5025
+ # See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/
5026
+ # Corresponds to the JSON property `topologyManager`
5027
+ # @return [Google::Apis::ContainerV1::TopologyManager]
5028
+ attr_accessor :topology_manager
5029
+
4994
5030
  def initialize(**args)
4995
5031
  update!(**args)
4996
5032
  end
@@ -5008,7 +5044,9 @@ module Google
5008
5044
  @image_maximum_gc_age = args[:image_maximum_gc_age] if args.key?(:image_maximum_gc_age)
5009
5045
  @image_minimum_gc_age = args[:image_minimum_gc_age] if args.key?(:image_minimum_gc_age)
5010
5046
  @insecure_kubelet_readonly_port_enabled = args[:insecure_kubelet_readonly_port_enabled] if args.key?(:insecure_kubelet_readonly_port_enabled)
5047
+ @memory_manager = args[:memory_manager] if args.key?(:memory_manager)
5011
5048
  @pod_pids_limit = args[:pod_pids_limit] if args.key?(:pod_pids_limit)
5049
+ @topology_manager = args[:topology_manager] if args.key?(:topology_manager)
5012
5050
  end
5013
5051
  end
5014
5052
 
@@ -7767,6 +7805,48 @@ module Google
7767
7805
  end
7768
7806
  end
7769
7807
 
7808
+ # TopologyManager defines the configuration options for Topology Manager feature.
7809
+ # See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/
7810
+ class TopologyManager
7811
+ include Google::Apis::Core::Hashable
7812
+
7813
+ # Configures the strategy for resource alignment. Allowed values are: * none:
7814
+ # the default policy, and does not perform any topology alignment. * restricted:
7815
+ # the topology manager stores the preferred NUMA node affinity for the container,
7816
+ # and will reject the pod if the affinity if not preferred. * best-effort: the
7817
+ # topology manager stores the preferred NUMA node affinity for the container. If
7818
+ # the affinity is not preferred, the topology manager will admit the pod to the
7819
+ # node anyway. * single-numa-node: the topology manager determines if the single
7820
+ # NUMA node affinity is possible. If it is, Topology Manager will store this and
7821
+ # the Hint Providers can then use this information when making the resource
7822
+ # allocation decision. If, however, this is not possible then the Topology
7823
+ # Manager will reject the pod from the node. This will result in a pod in a
7824
+ # Terminated state with a pod admission failure. The default policy value is '
7825
+ # none' if unspecified. Details about each strategy can be found [here](https://
7826
+ # kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-
7827
+ # policies).
7828
+ # Corresponds to the JSON property `policy`
7829
+ # @return [String]
7830
+ attr_accessor :policy
7831
+
7832
+ # The Topology Manager aligns resources in following scopes: * container * pod
7833
+ # The default scope is 'container' if unspecified. See https://kubernetes.io/
7834
+ # docs/tasks/administer-cluster/topology-manager/#topology-manager-scopes
7835
+ # Corresponds to the JSON property `scope`
7836
+ # @return [String]
7837
+ attr_accessor :scope
7838
+
7839
+ def initialize(**args)
7840
+ update!(**args)
7841
+ end
7842
+
7843
+ # Update properties of this object
7844
+ def update!(**args)
7845
+ @policy = args[:policy] if args.key?(:policy)
7846
+ @scope = args[:scope] if args.key?(:scope)
7847
+ end
7848
+ end
7849
+
7770
7850
  # UpdateClusterRequest updates the settings of a cluster.
7771
7851
  class UpdateClusterRequest
7772
7852
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContainerV1
18
18
  # Version of the google-apis-container_v1 gem
19
- GEM_VERSION = "0.94.0"
19
+ GEM_VERSION = "0.95.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250408"
25
+ REVISION = "20250429"
26
26
  end
27
27
  end
28
28
  end
@@ -592,6 +592,12 @@ module Google
592
592
  include Google::Apis::Core::JsonObjectSupport
593
593
  end
594
594
 
595
+ class MemoryManager
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
595
601
  class MeshCertificates
596
602
  class Representation < Google::Apis::Core::JsonRepresentation; end
597
603
 
@@ -1078,6 +1084,12 @@ module Google
1078
1084
  include Google::Apis::Core::JsonObjectSupport
1079
1085
  end
1080
1086
 
1087
+ class TopologyManager
1088
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1089
+
1090
+ include Google::Apis::Core::JsonObjectSupport
1091
+ end
1092
+
1081
1093
  class UpdateClusterRequest
1082
1094
  class Representation < Google::Apis::Core::JsonRepresentation; end
1083
1095
 
@@ -2291,6 +2303,13 @@ module Google
2291
2303
  end
2292
2304
  end
2293
2305
 
2306
+ class MemoryManager
2307
+ # @private
2308
+ class Representation < Google::Apis::Core::JsonRepresentation
2309
+ property :policy, as: 'policy'
2310
+ end
2311
+ end
2312
+
2294
2313
  class MeshCertificates
2295
2314
  # @private
2296
2315
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2493,7 +2512,11 @@ module Google
2493
2512
  property :image_maximum_gc_age, as: 'imageMaximumGcAge'
2494
2513
  property :image_minimum_gc_age, as: 'imageMinimumGcAge'
2495
2514
  property :insecure_kubelet_readonly_port_enabled, as: 'insecureKubeletReadonlyPortEnabled'
2515
+ property :memory_manager, as: 'memoryManager', class: Google::Apis::ContainerV1::MemoryManager, decorator: Google::Apis::ContainerV1::MemoryManager::Representation
2516
+
2496
2517
  property :pod_pids_limit, :numeric_string => true, as: 'podPidsLimit'
2518
+ property :topology_manager, as: 'topologyManager', class: Google::Apis::ContainerV1::TopologyManager, decorator: Google::Apis::ContainerV1::TopologyManager::Representation
2519
+
2497
2520
  end
2498
2521
  end
2499
2522
 
@@ -3203,6 +3226,14 @@ module Google
3203
3226
  end
3204
3227
  end
3205
3228
 
3229
+ class TopologyManager
3230
+ # @private
3231
+ class Representation < Google::Apis::Core::JsonRepresentation
3232
+ property :policy, as: 'policy'
3233
+ property :scope, as: 'scope'
3234
+ end
3235
+ end
3236
+
3206
3237
  class UpdateClusterRequest
3207
3238
  # @private
3208
3239
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.94.0
4
+ version: 0.95.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.94.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.95.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1
62
62
  rdoc_options: []
63
63
  require_paths: