Send feedback
Class NodeKubeletConfig (2.23.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.23.0 keyboard_arrow_down
public final class NodeKubeletConfig extends GeneratedMessageV3 implements NodeKubeletConfigOrBuilder
Node kubelet configs.
Protobuf type google.container.v1beta1.NodeKubeletConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CPU_CFS_QUOTA_FIELD_NUMBER
public static final int CPU_CFS_QUOTA_FIELD_NUMBER
Field Value Type Description int
CPU_CFS_QUOTA_PERIOD_FIELD_NUMBER
public static final int CPU_CFS_QUOTA_PERIOD_FIELD_NUMBER
Field Value Type Description int
CPU_MANAGER_POLICY_FIELD_NUMBER
public static final int CPU_MANAGER_POLICY_FIELD_NUMBER
Field Value Type Description int
POD_PIDS_LIMIT_FIELD_NUMBER
public static final int POD_PIDS_LIMIT_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static NodeKubeletConfig getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static NodeKubeletConfig . Builder newBuilder ()
newBuilder(NodeKubeletConfig prototype)
public static NodeKubeletConfig . Builder newBuilder ( NodeKubeletConfig prototype )
public static NodeKubeletConfig parseDelimitedFrom ( InputStream input )
public static NodeKubeletConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static NodeKubeletConfig parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NodeKubeletConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static NodeKubeletConfig parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NodeKubeletConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static NodeKubeletConfig parseFrom ( CodedInputStream input )
public static NodeKubeletConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static NodeKubeletConfig parseFrom ( InputStream input )
public static NodeKubeletConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static NodeKubeletConfig parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NodeKubeletConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<NodeKubeletConfig> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
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;
Returns 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;
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;
Returns 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;
Returns 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;
Returns 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;
Returns Type Description ByteString
The bytes for cpuManagerPolicy.
getDefaultInstanceForType()
public NodeKubeletConfig getDefaultInstanceForType ()
getParserForType()
public Parser<NodeKubeletConfig> getParserForType ()
Overrides
getPodPidsLimit()
public long getPodPidsLimit ()
Returns Type Description long
The podPidsLimit.
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
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;
Returns Type Description boolean
Whether the cpuCfsQuota field is set.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public NodeKubeletConfig . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NodeKubeletConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public NodeKubeletConfig . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]