Package com.google.container.v1
Class NodeKubeletConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.container.v1.NodeKubeletConfig
-
- All Implemented Interfaces:
NodeKubeletConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class NodeKubeletConfig extends com.google.protobuf.GeneratedMessageV3 implements NodeKubeletConfigOrBuilder
Node kubelet configs.
Protobuf typegoogle.container.v1.NodeKubeletConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNodeKubeletConfig.BuilderNode kubelet configs.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCPU_CFS_QUOTA_FIELD_NUMBERstatic intCPU_CFS_QUOTA_PERIOD_FIELD_NUMBERstatic intCPU_MANAGER_POLICY_FIELD_NUMBERstatic intINSECURE_KUBELET_READONLY_PORT_ENABLED_FIELD_NUMBERstatic intPOD_PIDS_LIMIT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)com.google.protobuf.BoolValuegetCpuCfsQuota()Enable CPU CFS quota enforcement for containers that specify CPU limits.com.google.protobuf.BoolValueOrBuildergetCpuCfsQuotaOrBuilder()Enable CPU CFS quota enforcement for containers that specify CPU limits.StringgetCpuCfsQuotaPeriod()Set the CPU CFS quota period value 'cpu.cfs_period_us'.com.google.protobuf.ByteStringgetCpuCfsQuotaPeriodBytes()Set the CPU CFS quota period value 'cpu.cfs_period_us'.StringgetCpuManagerPolicy()Control the CPU management policy on the node.com.google.protobuf.ByteStringgetCpuManagerPolicyBytes()Control the CPU management policy on the node.static NodeKubeletConfiggetDefaultInstance()NodeKubeletConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetInsecureKubeletReadonlyPortEnabled()Enable or disable Kubelet read only port.com.google.protobuf.Parser<NodeKubeletConfig>getParserForType()longgetPodPidsLimit()Set the Pod PID limits.intgetSerializedSize()booleanhasCpuCfsQuota()Enable CPU CFS quota enforcement for containers that specify CPU limits.inthashCode()booleanhasInsecureKubeletReadonlyPortEnabled()Enable or disable Kubelet read only port.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static NodeKubeletConfig.BuildernewBuilder()static NodeKubeletConfig.BuildernewBuilder(NodeKubeletConfig prototype)NodeKubeletConfig.BuildernewBuilderForType()protected NodeKubeletConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static NodeKubeletConfigparseDelimitedFrom(InputStream input)static NodeKubeletConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodeKubeletConfigparseFrom(byte[] data)static NodeKubeletConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodeKubeletConfigparseFrom(com.google.protobuf.ByteString data)static NodeKubeletConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodeKubeletConfigparseFrom(com.google.protobuf.CodedInputStream input)static NodeKubeletConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodeKubeletConfigparseFrom(InputStream input)static NodeKubeletConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodeKubeletConfigparseFrom(ByteBuffer data)static NodeKubeletConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<NodeKubeletConfig>parser()NodeKubeletConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CPU_MANAGER_POLICY_FIELD_NUMBER
public static final int CPU_MANAGER_POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CPU_CFS_QUOTA_FIELD_NUMBER
public static final int CPU_CFS_QUOTA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CPU_CFS_QUOTA_PERIOD_FIELD_NUMBER
public static final int CPU_CFS_QUOTA_PERIOD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POD_PIDS_LIMIT_FIELD_NUMBER
public static final int POD_PIDS_LIMIT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INSECURE_KUBELET_READONLY_PORT_ENABLED_FIELD_NUMBER
public static final int INSECURE_KUBELET_READONLY_PORT_ENABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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;- Specified by:
getCpuManagerPolicyin interfaceNodeKubeletConfigOrBuilder- Returns:
- The cpuManagerPolicy.
-
getCpuManagerPolicyBytes
public com.google.protobuf.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;- Specified by:
getCpuManagerPolicyBytesin interfaceNodeKubeletConfigOrBuilder- Returns:
- The bytes for cpuManagerPolicy.
-
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;- Specified by:
hasCpuCfsQuotain interfaceNodeKubeletConfigOrBuilder- Returns:
- Whether the cpuCfsQuota field is set.
-
getCpuCfsQuota
public com.google.protobuf.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;- Specified by:
getCpuCfsQuotain interfaceNodeKubeletConfigOrBuilder- Returns:
- The cpuCfsQuota.
-
getCpuCfsQuotaOrBuilder
public com.google.protobuf.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;- Specified by:
getCpuCfsQuotaOrBuilderin interfaceNodeKubeletConfigOrBuilder
-
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;- Specified by:
getCpuCfsQuotaPeriodin interfaceNodeKubeletConfigOrBuilder- Returns:
- The cpuCfsQuotaPeriod.
-
getCpuCfsQuotaPeriodBytes
public com.google.protobuf.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;- Specified by:
getCpuCfsQuotaPeriodBytesin interfaceNodeKubeletConfigOrBuilder- Returns:
- The bytes for cpuCfsQuotaPeriod.
-
getPodPidsLimit
public long getPodPidsLimit()
Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304.
int64 pod_pids_limit = 4;- Specified by:
getPodPidsLimitin interfaceNodeKubeletConfigOrBuilder- Returns:
- The podPidsLimit.
-
hasInsecureKubeletReadonlyPortEnabled
public boolean hasInsecureKubeletReadonlyPortEnabled()
Enable or disable Kubelet read only port.
optional bool insecure_kubelet_readonly_port_enabled = 7;- Specified by:
hasInsecureKubeletReadonlyPortEnabledin interfaceNodeKubeletConfigOrBuilder- Returns:
- Whether the insecureKubeletReadonlyPortEnabled field is set.
-
getInsecureKubeletReadonlyPortEnabled
public boolean getInsecureKubeletReadonlyPortEnabled()
Enable or disable Kubelet read only port.
optional bool insecure_kubelet_readonly_port_enabled = 7;- Specified by:
getInsecureKubeletReadonlyPortEnabledin interfaceNodeKubeletConfigOrBuilder- Returns:
- The insecureKubeletReadonlyPortEnabled.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static NodeKubeletConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeKubeletConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeKubeletConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeKubeletConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeKubeletConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeKubeletConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeKubeletConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NodeKubeletConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NodeKubeletConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NodeKubeletConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static NodeKubeletConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NodeKubeletConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public NodeKubeletConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static NodeKubeletConfig.Builder newBuilder()
-
newBuilder
public static NodeKubeletConfig.Builder newBuilder(NodeKubeletConfig prototype)
-
toBuilder
public NodeKubeletConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NodeKubeletConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static NodeKubeletConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<NodeKubeletConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<NodeKubeletConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NodeKubeletConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-