Class VolumeNodeResources
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.storage.VolumeNodeResources
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<VolumeNodeResourcesBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class VolumeNodeResources extends Object implements io.fabric8.kubernetes.api.builder.Editable<VolumeNodeResourcesBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
VolumeNodeResources is a set of resource limits for scheduling of volumes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VolumeNodeResources()No args constructor for use in serializationVolumeNodeResources(Integer count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VolumeNodeResourcesBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetCount()count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCount(Integer count)count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node.VolumeNodeResourcesBuildertoBuilder()
-
-
-
Constructor Detail
-
VolumeNodeResources
public VolumeNodeResources()
No args constructor for use in serialization
-
VolumeNodeResources
public VolumeNodeResources(Integer count)
-
-
Method Detail
-
getCount
public Integer getCount()
count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.
-
setCount
public void setCount(Integer count)
count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.
-
edit
public VolumeNodeResourcesBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<VolumeNodeResourcesBuilder>
-
toBuilder
public VolumeNodeResourcesBuilder toBuilder()
-
-