Class NodeAllocatableOverhead
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1beta1.NodeAllocatableOverhead
-
- All Implemented Interfaces:
Editable<NodeAllocatableOverheadBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NodeAllocatableOverhead extends Object implements Editable<NodeAllocatableOverheadBuilder>, KubernetesResource
NodeAllocatableOverhead defines auxiliary resource overheads incurred when allocating a device. Overheads can be specified as a fixed cost per pod referencing the claim, a variable cost per container reference, or both. Kubelet accounts for this overhead by adding it to both the pod-level and container-level cgroups of referencing containers.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeAllocatableOverhead()No args constructor for use in serializationNodeAllocatableOverhead(Quantity perContainer, Quantity perPod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeAllocatableOverheadBuilderedit()Map<String,Object>getAdditionalProperties()QuantitygetPerContainer()NodeAllocatableOverhead defines auxiliary resource overheads incurred when allocating a device.QuantitygetPerPod()NodeAllocatableOverhead defines auxiliary resource overheads incurred when allocating a device.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetPerContainer(Quantity perContainer)NodeAllocatableOverhead defines auxiliary resource overheads incurred when allocating a device.voidsetPerPod(Quantity perPod)NodeAllocatableOverhead defines auxiliary resource overheads incurred when allocating a device.NodeAllocatableOverheadBuildertoBuilder()
-
-
-
Method Detail
-
getPerContainer
public Quantity getPerContainer()
NodeAllocatableOverhead defines auxiliary resource overheads incurred when allocating a device. Overheads can be specified as a fixed cost per pod referencing the claim, a variable cost per container reference, or both. Kubelet accounts for this overhead by adding it to both the pod-level and container-level cgroups of referencing containers.
-
setPerContainer
public void setPerContainer(Quantity perContainer)
NodeAllocatableOverhead defines auxiliary resource overheads incurred when allocating a device. Overheads can be specified as a fixed cost per pod referencing the claim, a variable cost per container reference, or both. Kubelet accounts for this overhead by adding it to both the pod-level and container-level cgroups of referencing containers.
-
getPerPod
public Quantity getPerPod()
NodeAllocatableOverhead defines auxiliary resource overheads incurred when allocating a device. Overheads can be specified as a fixed cost per pod referencing the claim, a variable cost per container reference, or both. Kubelet accounts for this overhead by adding it to both the pod-level and container-level cgroups of referencing containers.
-
setPerPod
public void setPerPod(Quantity perPod)
NodeAllocatableOverhead defines auxiliary resource overheads incurred when allocating a device. Overheads can be specified as a fixed cost per pod referencing the claim, a variable cost per container reference, or both. Kubelet accounts for this overhead by adding it to both the pod-level and container-level cgroups of referencing containers.
-
edit
public NodeAllocatableOverheadBuilder edit()
- Specified by:
editin interfaceEditable<NodeAllocatableOverheadBuilder>
-
toBuilder
public NodeAllocatableOverheadBuilder toBuilder()
-
-