- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
public final class NodeKubeletConfig extends GeneratedMessageV3 implements NodeKubeletConfigOrBuilder
Node kubelet configs.
Protobuf type google.container.v1beta1.NodeKubeletConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > NodeKubeletConfigImplements
NodeKubeletConfigOrBuilderStatic Fields
CPU_CFS_QUOTA_FIELD_NUMBER
public static final int CPU_CFS_QUOTA_FIELD_NUMBER
Type | Description |
int |
CPU_CFS_QUOTA_PERIOD_FIELD_NUMBER
public static final int CPU_CFS_QUOTA_PERIOD_FIELD_NUMBER
Type | Description |
int |
CPU_MANAGER_POLICY_FIELD_NUMBER
public static final int CPU_MANAGER_POLICY_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static NodeKubeletConfig getDefaultInstance()
Type | Description |
NodeKubeletConfig |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static NodeKubeletConfig.Builder newBuilder()
Type | Description |
NodeKubeletConfig.Builder |
newBuilder(NodeKubeletConfig prototype)
public static NodeKubeletConfig.Builder newBuilder(NodeKubeletConfig prototype)
Name | Description |
prototype | NodeKubeletConfig |
Type | Description |
NodeKubeletConfig.Builder |
parseDelimitedFrom(InputStream input)
public static NodeKubeletConfig parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
NodeKubeletConfig |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static NodeKubeletConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NodeKubeletConfig |
Type | Description |
IOException |
parseFrom(byte[] data)
public static NodeKubeletConfig parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
NodeKubeletConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NodeKubeletConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NodeKubeletConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static NodeKubeletConfig parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
NodeKubeletConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NodeKubeletConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NodeKubeletConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static NodeKubeletConfig parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
NodeKubeletConfig |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NodeKubeletConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NodeKubeletConfig |
Type | Description |
IOException |
parseFrom(InputStream input)
public static NodeKubeletConfig parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
NodeKubeletConfig |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static NodeKubeletConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NodeKubeletConfig |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static NodeKubeletConfig parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
NodeKubeletConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NodeKubeletConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NodeKubeletConfig |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<NodeKubeletConfig> parser()
Type | Description |
Parser<NodeKubeletConfig> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getCpuCfsQuota()
public BoolValue getCpuCfsQuota()
Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified.
.google.protobuf.BoolValue cpu_cfs_quota = 2;
Type | Description |
BoolValue | The cpuCfsQuota. |
getCpuCfsQuotaOrBuilder()
public BoolValueOrBuilder getCpuCfsQuotaOrBuilder()
Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified.
.google.protobuf.BoolValue cpu_cfs_quota = 2;
Type | Description |
BoolValueOrBuilder |
getCpuCfsQuotaPeriod()
public String getCpuCfsQuotaPeriod()
Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration.
string cpu_cfs_quota_period = 3;
Type | Description |
String | The cpuCfsQuotaPeriod. |
getCpuCfsQuotaPeriodBytes()
public ByteString getCpuCfsQuotaPeriodBytes()
Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration.
string cpu_cfs_quota_period = 3;
Type | Description |
ByteString | The bytes for cpuCfsQuotaPeriod. |
getCpuManagerPolicy()
public String getCpuManagerPolicy()
Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed.
- "none": the default, which represents the existing scheduling behavior.
- "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified.
string cpu_manager_policy = 1;
Type | Description |
String | The cpuManagerPolicy. |
getCpuManagerPolicyBytes()
public ByteString getCpuManagerPolicyBytes()
Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed.
- "none": the default, which represents the existing scheduling behavior.
- "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified.
string cpu_manager_policy = 1;
Type | Description |
ByteString | The bytes for cpuManagerPolicy. |
getDefaultInstanceForType()
public NodeKubeletConfig getDefaultInstanceForType()
Type | Description |
NodeKubeletConfig |
getParserForType()
public Parser<NodeKubeletConfig> getParserForType()
Type | Description |
Parser<NodeKubeletConfig> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasCpuCfsQuota()
public boolean hasCpuCfsQuota()
Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified.
.google.protobuf.BoolValue cpu_cfs_quota = 2;
Type | Description |
boolean | Whether the cpuCfsQuota field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public NodeKubeletConfig.Builder newBuilderForType()
Type | Description |
NodeKubeletConfig.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NodeKubeletConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
NodeKubeletConfig.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public NodeKubeletConfig.Builder toBuilder()
Type | Description |
NodeKubeletConfig.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |