Skip to content

Commit 88cc9d1

Browse files
1 parent 5fb00e9 commit 88cc9d1

File tree

6 files changed

+269
-6
lines changed

6 files changed

+269
-6
lines changed

clients/google-api-services-container/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-container</artifactId>
25-
<version>v1-rev20250408-2.0.0</version>
25+
<version>v1-rev20250429-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-container:v1-rev20250408-2.0.0'
38+
implementation 'com.google.apis:google-api-services-container:v1-rev20250429-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.container.model;
18+
19+
/**
20+
* The option enables the Kubernetes NUMA-aware Memory Manager feature. Detailed description about
21+
* the feature can be found [here](https://kubernetes.io/docs/tasks/administer-cluster/memory-
22+
* manager/).
23+
*
24+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
25+
* transmitted over HTTP when working with the Kubernetes Engine API. For a detailed explanation
26+
* see:
27+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
28+
* </p>
29+
*
30+
* @author Google, Inc.
31+
*/
32+
@SuppressWarnings("javadoc")
33+
public final class MemoryManager extends com.google.api.client.json.GenericJson {
34+
35+
/**
36+
* Controls the memory management policy on the Node. See
37+
* https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/#policies The following
38+
* values are allowed. * "none" * "static" The default value is 'none' if unspecified.
39+
* The value may be {@code null}.
40+
*/
41+
@com.google.api.client.util.Key
42+
private java.lang.String policy;
43+
44+
/**
45+
* Controls the memory management policy on the Node. See
46+
* https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/#policies The following
47+
* values are allowed. * "none" * "static" The default value is 'none' if unspecified.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getPolicy() {
51+
return policy;
52+
}
53+
54+
/**
55+
* Controls the memory management policy on the Node. See
56+
* https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/#policies The following
57+
* values are allowed. * "none" * "static" The default value is 'none' if unspecified.
58+
* @param policy policy or {@code null} for none
59+
*/
60+
public MemoryManager setPolicy(java.lang.String policy) {
61+
this.policy = policy;
62+
return this;
63+
}
64+
65+
@Override
66+
public MemoryManager set(String fieldName, Object value) {
67+
return (MemoryManager) super.set(fieldName, value);
68+
}
69+
70+
@Override
71+
public MemoryManager clone() {
72+
return (MemoryManager) super.clone();
73+
}
74+
75+
}

clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/NodeKubeletConfig.java

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,14 @@ public final class NodeKubeletConfig extends com.google.api.client.json.GenericJ
146146
@com.google.api.client.util.Key
147147
private java.lang.Boolean insecureKubeletReadonlyPortEnabled;
148148

149+
/**
150+
* Optional. Controls NUMA-aware Memory Manager configuration on the node. For more information,
151+
* see: https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/
152+
* The value may be {@code null}.
153+
*/
154+
@com.google.api.client.util.Key
155+
private MemoryManager memoryManager;
156+
149157
/**
150158
* Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-
151159
* limits Controls the maximum number of processes allowed to run in a pod. The value must be
@@ -155,6 +163,14 @@ public final class NodeKubeletConfig extends com.google.api.client.json.GenericJ
155163
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
156164
private java.lang.Long podPidsLimit;
157165

166+
/**
167+
* Optional. Controls Topology Manager configuration on the node. For more information, see:
168+
* https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/
169+
* The value may be {@code null}.
170+
*/
171+
@com.google.api.client.util.Key
172+
private TopologyManager topologyManager;
173+
158174
/**
159175
* Optional. Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns (ending in
160176
* `*`). The unsafe namespaced sysctl groups are `kernel.shm*`, `kernel.msg*`, `kernel.sem`,
@@ -420,6 +436,25 @@ public NodeKubeletConfig setInsecureKubeletReadonlyPortEnabled(java.lang.Boolean
420436
return this;
421437
}
422438

439+
/**
440+
* Optional. Controls NUMA-aware Memory Manager configuration on the node. For more information,
441+
* see: https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/
442+
* @return value or {@code null} for none
443+
*/
444+
public MemoryManager getMemoryManager() {
445+
return memoryManager;
446+
}
447+
448+
/**
449+
* Optional. Controls NUMA-aware Memory Manager configuration on the node. For more information,
450+
* see: https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/
451+
* @param memoryManager memoryManager or {@code null} for none
452+
*/
453+
public NodeKubeletConfig setMemoryManager(MemoryManager memoryManager) {
454+
this.memoryManager = memoryManager;
455+
return this;
456+
}
457+
423458
/**
424459
* Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-
425460
* limits Controls the maximum number of processes allowed to run in a pod. The value must be
@@ -441,6 +476,25 @@ public NodeKubeletConfig setPodPidsLimit(java.lang.Long podPidsLimit) {
441476
return this;
442477
}
443478

479+
/**
480+
* Optional. Controls Topology Manager configuration on the node. For more information, see:
481+
* https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/
482+
* @return value or {@code null} for none
483+
*/
484+
public TopologyManager getTopologyManager() {
485+
return topologyManager;
486+
}
487+
488+
/**
489+
* Optional. Controls Topology Manager configuration on the node. For more information, see:
490+
* https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/
491+
* @param topologyManager topologyManager or {@code null} for none
492+
*/
493+
public NodeKubeletConfig setTopologyManager(TopologyManager topologyManager) {
494+
this.topologyManager = topologyManager;
495+
return this;
496+
}
497+
444498
@Override
445499
public NodeKubeletConfig set(String fieldName, Object value) {
446500
return (NodeKubeletConfig) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.container.model;
18+
19+
/**
20+
* TopologyManager defines the configuration options for Topology Manager feature. See
21+
* https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Kubernetes Engine API. For a detailed explanation
25+
* see:
26+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class TopologyManager extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Configures the strategy for resource alignment. Allowed values are: * none: the default policy,
36+
* and does not perform any topology alignment. * restricted: the topology manager stores the
37+
* preferred NUMA node affinity for the container, and will reject the pod if the affinity if not
38+
* preferred. * best-effort: the topology manager stores the preferred NUMA node affinity for the
39+
* container. If the affinity is not preferred, the topology manager will admit the pod to the
40+
* node anyway. * single-numa-node: the topology manager determines if the single NUMA node
41+
* affinity is possible. If it is, Topology Manager will store this and the Hint Providers can
42+
* then use this information when making the resource allocation decision. If, however, this is
43+
* not possible then the Topology Manager will reject the pod from the node. This will result in a
44+
* pod in a Terminated state with a pod admission failure. The default policy value is 'none' if
45+
* unspecified. Details about each strategy can be found
46+
* [here](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-
47+
* policies).
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String policy;
52+
53+
/**
54+
* The Topology Manager aligns resources in following scopes: * container * pod The default scope
55+
* is 'container' if unspecified. See https://kubernetes.io/docs/tasks/administer-
56+
* cluster/topology-manager/#topology-manager-scopes
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.lang.String scope;
61+
62+
/**
63+
* Configures the strategy for resource alignment. Allowed values are: * none: the default policy,
64+
* and does not perform any topology alignment. * restricted: the topology manager stores the
65+
* preferred NUMA node affinity for the container, and will reject the pod if the affinity if not
66+
* preferred. * best-effort: the topology manager stores the preferred NUMA node affinity for the
67+
* container. If the affinity is not preferred, the topology manager will admit the pod to the
68+
* node anyway. * single-numa-node: the topology manager determines if the single NUMA node
69+
* affinity is possible. If it is, Topology Manager will store this and the Hint Providers can
70+
* then use this information when making the resource allocation decision. If, however, this is
71+
* not possible then the Topology Manager will reject the pod from the node. This will result in a
72+
* pod in a Terminated state with a pod admission failure. The default policy value is 'none' if
73+
* unspecified. Details about each strategy can be found
74+
* [here](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-
75+
* policies).
76+
* @return value or {@code null} for none
77+
*/
78+
public java.lang.String getPolicy() {
79+
return policy;
80+
}
81+
82+
/**
83+
* Configures the strategy for resource alignment. Allowed values are: * none: the default policy,
84+
* and does not perform any topology alignment. * restricted: the topology manager stores the
85+
* preferred NUMA node affinity for the container, and will reject the pod if the affinity if not
86+
* preferred. * best-effort: the topology manager stores the preferred NUMA node affinity for the
87+
* container. If the affinity is not preferred, the topology manager will admit the pod to the
88+
* node anyway. * single-numa-node: the topology manager determines if the single NUMA node
89+
* affinity is possible. If it is, Topology Manager will store this and the Hint Providers can
90+
* then use this information when making the resource allocation decision. If, however, this is
91+
* not possible then the Topology Manager will reject the pod from the node. This will result in a
92+
* pod in a Terminated state with a pod admission failure. The default policy value is 'none' if
93+
* unspecified. Details about each strategy can be found
94+
* [here](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-
95+
* policies).
96+
* @param policy policy or {@code null} for none
97+
*/
98+
public TopologyManager setPolicy(java.lang.String policy) {
99+
this.policy = policy;
100+
return this;
101+
}
102+
103+
/**
104+
* The Topology Manager aligns resources in following scopes: * container * pod The default scope
105+
* is 'container' if unspecified. See https://kubernetes.io/docs/tasks/administer-
106+
* cluster/topology-manager/#topology-manager-scopes
107+
* @return value or {@code null} for none
108+
*/
109+
public java.lang.String getScope() {
110+
return scope;
111+
}
112+
113+
/**
114+
* The Topology Manager aligns resources in following scopes: * container * pod The default scope
115+
* is 'container' if unspecified. See https://kubernetes.io/docs/tasks/administer-
116+
* cluster/topology-manager/#topology-manager-scopes
117+
* @param scope scope or {@code null} for none
118+
*/
119+
public TopologyManager setScope(java.lang.String scope) {
120+
this.scope = scope;
121+
return this;
122+
}
123+
124+
@Override
125+
public TopologyManager set(String fieldName, Object value) {
126+
return (TopologyManager) super.set(fieldName, value);
127+
}
128+
129+
@Override
130+
public TopologyManager clone() {
131+
return (TopologyManager) super.clone();
132+
}
133+
134+
}

clients/google-api-services-container/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-container</artifactId>
11-
<version>v1-rev20250408-2.0.0</version>
12-
<name>Kubernetes Engine API v1-rev20250408-2.0.0</name>
11+
<version>v1-rev20250429-2.0.0</version>
12+
<name>Kubernetes Engine API v1-rev20250429-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-container/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-container</artifactId>
25-
<version>v1-rev20250408-2.0.0</version>
25+
<version>v1-rev20250429-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-container:v1-rev20250408-2.0.0'
38+
implementation 'com.google.apis:google-api-services-container:v1-rev20250429-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)