Package com.google.container.v1beta1
Class NodeKubeletConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
- com.google.container.v1beta1.NodeKubeletConfig.Builder
-
- All Implemented Interfaces:
NodeKubeletConfigOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- NodeKubeletConfig
public static final class NodeKubeletConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder> implements NodeKubeletConfigOrBuilder
Node kubelet configs.
Protobuf typegoogle.container.v1beta1.NodeKubeletConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeKubeletConfig.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NodeKubeletConfig
build()
NodeKubeletConfig
buildPartial()
NodeKubeletConfig.Builder
clear()
NodeKubeletConfig.Builder
clearCpuCfsQuota()
Enable CPU CFS quota enforcement for containers that specify CPU limits.NodeKubeletConfig.Builder
clearCpuCfsQuotaPeriod()
Set the CPU CFS quota period value 'cpu.cfs_period_us'.NodeKubeletConfig.Builder
clearCpuManagerPolicy()
Control the CPU management policy on the node.NodeKubeletConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
NodeKubeletConfig.Builder
clearInsecureKubeletReadonlyPortEnabled()
Enable or disable Kubelet read only port.NodeKubeletConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
NodeKubeletConfig.Builder
clearPodPidsLimit()
Set the Pod PID limits.NodeKubeletConfig.Builder
clone()
com.google.protobuf.BoolValue
getCpuCfsQuota()
Enable CPU CFS quota enforcement for containers that specify CPU limits.com.google.protobuf.BoolValue.Builder
getCpuCfsQuotaBuilder()
Enable CPU CFS quota enforcement for containers that specify CPU limits.com.google.protobuf.BoolValueOrBuilder
getCpuCfsQuotaOrBuilder()
Enable CPU CFS quota enforcement for containers that specify CPU limits.String
getCpuCfsQuotaPeriod()
Set the CPU CFS quota period value 'cpu.cfs_period_us'.com.google.protobuf.ByteString
getCpuCfsQuotaPeriodBytes()
Set the CPU CFS quota period value 'cpu.cfs_period_us'.String
getCpuManagerPolicy()
Control the CPU management policy on the node.com.google.protobuf.ByteString
getCpuManagerPolicyBytes()
Control the CPU management policy on the node.NodeKubeletConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getInsecureKubeletReadonlyPortEnabled()
Enable or disable Kubelet read only port.long
getPodPidsLimit()
Set the Pod PID limits.boolean
hasCpuCfsQuota()
Enable CPU CFS quota enforcement for containers that specify CPU limits.boolean
hasInsecureKubeletReadonlyPortEnabled()
Enable or disable Kubelet read only port.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
NodeKubeletConfig.Builder
mergeCpuCfsQuota(com.google.protobuf.BoolValue value)
Enable CPU CFS quota enforcement for containers that specify CPU limits.NodeKubeletConfig.Builder
mergeFrom(NodeKubeletConfig other)
NodeKubeletConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NodeKubeletConfig.Builder
mergeFrom(com.google.protobuf.Message other)
NodeKubeletConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NodeKubeletConfig.Builder
setCpuCfsQuota(com.google.protobuf.BoolValue value)
Enable CPU CFS quota enforcement for containers that specify CPU limits.NodeKubeletConfig.Builder
setCpuCfsQuota(com.google.protobuf.BoolValue.Builder builderForValue)
Enable CPU CFS quota enforcement for containers that specify CPU limits.NodeKubeletConfig.Builder
setCpuCfsQuotaPeriod(String value)
Set the CPU CFS quota period value 'cpu.cfs_period_us'.NodeKubeletConfig.Builder
setCpuCfsQuotaPeriodBytes(com.google.protobuf.ByteString value)
Set the CPU CFS quota period value 'cpu.cfs_period_us'.NodeKubeletConfig.Builder
setCpuManagerPolicy(String value)
Control the CPU management policy on the node.NodeKubeletConfig.Builder
setCpuManagerPolicyBytes(com.google.protobuf.ByteString value)
Control the CPU management policy on the node.NodeKubeletConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NodeKubeletConfig.Builder
setInsecureKubeletReadonlyPortEnabled(boolean value)
Enable or disable Kubelet read only port.NodeKubeletConfig.Builder
setPodPidsLimit(long value)
Set the Pod PID limits.NodeKubeletConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
NodeKubeletConfig.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
clear
public NodeKubeletConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
getDefaultInstanceForType
public NodeKubeletConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NodeKubeletConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NodeKubeletConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NodeKubeletConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
setField
public NodeKubeletConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
clearField
public NodeKubeletConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
clearOneof
public NodeKubeletConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
setRepeatedField
public NodeKubeletConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
addRepeatedField
public NodeKubeletConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
mergeFrom
public NodeKubeletConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NodeKubeletConfig.Builder>
-
mergeFrom
public NodeKubeletConfig.Builder mergeFrom(NodeKubeletConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
mergeFrom
public NodeKubeletConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NodeKubeletConfig.Builder>
- Throws:
IOException
-
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:
getCpuManagerPolicy
in 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:
getCpuManagerPolicyBytes
in interfaceNodeKubeletConfigOrBuilder
- Returns:
- The bytes for cpuManagerPolicy.
-
setCpuManagerPolicy
public NodeKubeletConfig.Builder setCpuManagerPolicy(String value)
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;
- Parameters:
value
- The cpuManagerPolicy to set.- Returns:
- This builder for chaining.
-
clearCpuManagerPolicy
public NodeKubeletConfig.Builder clearCpuManagerPolicy()
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:
- This builder for chaining.
-
setCpuManagerPolicyBytes
public NodeKubeletConfig.Builder setCpuManagerPolicyBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for cpuManagerPolicy to set.- Returns:
- This builder for chaining.
-
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:
hasCpuCfsQuota
in 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:
getCpuCfsQuota
in interfaceNodeKubeletConfigOrBuilder
- Returns:
- The cpuCfsQuota.
-
setCpuCfsQuota
public NodeKubeletConfig.Builder setCpuCfsQuota(com.google.protobuf.BoolValue value)
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;
-
setCpuCfsQuota
public NodeKubeletConfig.Builder setCpuCfsQuota(com.google.protobuf.BoolValue.Builder builderForValue)
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;
-
mergeCpuCfsQuota
public NodeKubeletConfig.Builder mergeCpuCfsQuota(com.google.protobuf.BoolValue value)
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;
-
clearCpuCfsQuota
public NodeKubeletConfig.Builder clearCpuCfsQuota()
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;
-
getCpuCfsQuotaBuilder
public com.google.protobuf.BoolValue.Builder getCpuCfsQuotaBuilder()
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;
-
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:
getCpuCfsQuotaOrBuilder
in 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:
getCpuCfsQuotaPeriod
in 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:
getCpuCfsQuotaPeriodBytes
in interfaceNodeKubeletConfigOrBuilder
- Returns:
- The bytes for cpuCfsQuotaPeriod.
-
setCpuCfsQuotaPeriod
public NodeKubeletConfig.Builder setCpuCfsQuotaPeriod(String value)
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;
- Parameters:
value
- The cpuCfsQuotaPeriod to set.- Returns:
- This builder for chaining.
-
clearCpuCfsQuotaPeriod
public NodeKubeletConfig.Builder clearCpuCfsQuotaPeriod()
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:
- This builder for chaining.
-
setCpuCfsQuotaPeriodBytes
public NodeKubeletConfig.Builder setCpuCfsQuotaPeriodBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for cpuCfsQuotaPeriod to set.- Returns:
- This builder for chaining.
-
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:
getPodPidsLimit
in interfaceNodeKubeletConfigOrBuilder
- Returns:
- The podPidsLimit.
-
setPodPidsLimit
public NodeKubeletConfig.Builder setPodPidsLimit(long value)
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;
- Parameters:
value
- The podPidsLimit to set.- Returns:
- This builder for chaining.
-
clearPodPidsLimit
public NodeKubeletConfig.Builder clearPodPidsLimit()
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;
- Returns:
- This builder for chaining.
-
hasInsecureKubeletReadonlyPortEnabled
public boolean hasInsecureKubeletReadonlyPortEnabled()
Enable or disable Kubelet read only port.
optional bool insecure_kubelet_readonly_port_enabled = 7;
- Specified by:
hasInsecureKubeletReadonlyPortEnabled
in 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:
getInsecureKubeletReadonlyPortEnabled
in interfaceNodeKubeletConfigOrBuilder
- Returns:
- The insecureKubeletReadonlyPortEnabled.
-
setInsecureKubeletReadonlyPortEnabled
public NodeKubeletConfig.Builder setInsecureKubeletReadonlyPortEnabled(boolean value)
Enable or disable Kubelet read only port.
optional bool insecure_kubelet_readonly_port_enabled = 7;
- Parameters:
value
- The insecureKubeletReadonlyPortEnabled to set.- Returns:
- This builder for chaining.
-
clearInsecureKubeletReadonlyPortEnabled
public NodeKubeletConfig.Builder clearInsecureKubeletReadonlyPortEnabled()
Enable or disable Kubelet read only port.
optional bool insecure_kubelet_readonly_port_enabled = 7;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final NodeKubeletConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
mergeUnknownFields
public final NodeKubeletConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeKubeletConfig.Builder>
-
-