Class VSphereCSIDriverConfigSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.VSphereCSIDriverConfigSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<VSphereCSIDriverConfigSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class VSphereCSIDriverConfigSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<VSphereCSIDriverConfigSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
VSphereCSIDriverConfigSpec defines properties that can be configured for vsphere CSI driver.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VSphereCSIDriverConfigSpec()No args constructor for use in serializationVSphereCSIDriverConfigSpec(Long globalMaxSnapshotsPerBlockVolume, Long granularMaxSnapshotsPerBlockVolumeInVSAN, Long granularMaxSnapshotsPerBlockVolumeInVVOL, Integer maxAllowedBlockVolumesPerNode, List<String> topologyCategories)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VSphereCSIDriverConfigSpecBuilderedit()Map<String,Object>getAdditionalProperties()LonggetGlobalMaxSnapshotsPerBlockVolume()globalMaxSnapshotsPerBlockVolume is a global configuration parameter that applies to volumes on all kinds of datastores.LonggetGranularMaxSnapshotsPerBlockVolumeInVSAN()granularMaxSnapshotsPerBlockVolumeInVSAN is a granular configuration parameter on vSAN datastore only.LonggetGranularMaxSnapshotsPerBlockVolumeInVVOL()granularMaxSnapshotsPerBlockVolumeInVVOL is a granular configuration parameter on Virtual Volumes datastore only.IntegergetMaxAllowedBlockVolumesPerNode()maxAllowedBlockVolumesPerNode is an optional configuration parameter that allows setting a custom value for the limit of the number of PersistentVolumes attached to a node.List<String>getTopologyCategories()topologyCategories indicates tag categories with which vcenter resources such as hostcluster or datacenter were tagged with.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetGlobalMaxSnapshotsPerBlockVolume(Long globalMaxSnapshotsPerBlockVolume)globalMaxSnapshotsPerBlockVolume is a global configuration parameter that applies to volumes on all kinds of datastores.voidsetGranularMaxSnapshotsPerBlockVolumeInVSAN(Long granularMaxSnapshotsPerBlockVolumeInVSAN)granularMaxSnapshotsPerBlockVolumeInVSAN is a granular configuration parameter on vSAN datastore only.voidsetGranularMaxSnapshotsPerBlockVolumeInVVOL(Long granularMaxSnapshotsPerBlockVolumeInVVOL)granularMaxSnapshotsPerBlockVolumeInVVOL is a granular configuration parameter on Virtual Volumes datastore only.voidsetMaxAllowedBlockVolumesPerNode(Integer maxAllowedBlockVolumesPerNode)maxAllowedBlockVolumesPerNode is an optional configuration parameter that allows setting a custom value for the limit of the number of PersistentVolumes attached to a node.voidsetTopologyCategories(List<String> topologyCategories)topologyCategories indicates tag categories with which vcenter resources such as hostcluster or datacenter were tagged with.VSphereCSIDriverConfigSpecBuildertoBuilder()
-
-
-
Method Detail
-
getGlobalMaxSnapshotsPerBlockVolume
public Long getGlobalMaxSnapshotsPerBlockVolume()
globalMaxSnapshotsPerBlockVolume is a global configuration parameter that applies to volumes on all kinds of datastores. If omitted, the platform chooses a default, which is subject to change over time, currently that default is 3. Snapshots can not be disabled using this parameter. Increasing number of snapshots above 3 can have negative impact on performance, for more details see: https://kb.vmware.com/s/article/1025279 Volume snapshot documentation: https://docs.vmware.com/en/VMware-vSphere-Container-Storage-Plug-in/3.0/vmware-vsphere-csp-getting-started/GUID-E0B41C69-7EEB-450F-A73D-5FD2FF39E891.html
-
setGlobalMaxSnapshotsPerBlockVolume
public void setGlobalMaxSnapshotsPerBlockVolume(Long globalMaxSnapshotsPerBlockVolume)
globalMaxSnapshotsPerBlockVolume is a global configuration parameter that applies to volumes on all kinds of datastores. If omitted, the platform chooses a default, which is subject to change over time, currently that default is 3. Snapshots can not be disabled using this parameter. Increasing number of snapshots above 3 can have negative impact on performance, for more details see: https://kb.vmware.com/s/article/1025279 Volume snapshot documentation: https://docs.vmware.com/en/VMware-vSphere-Container-Storage-Plug-in/3.0/vmware-vsphere-csp-getting-started/GUID-E0B41C69-7EEB-450F-A73D-5FD2FF39E891.html
-
getGranularMaxSnapshotsPerBlockVolumeInVSAN
public Long getGranularMaxSnapshotsPerBlockVolumeInVSAN()
granularMaxSnapshotsPerBlockVolumeInVSAN is a granular configuration parameter on vSAN datastore only. It overrides GlobalMaxSnapshotsPerBlockVolume if set, while it falls back to the global constraint if unset. Snapshots for VSAN can not be disabled using this parameter.
-
setGranularMaxSnapshotsPerBlockVolumeInVSAN
public void setGranularMaxSnapshotsPerBlockVolumeInVSAN(Long granularMaxSnapshotsPerBlockVolumeInVSAN)
granularMaxSnapshotsPerBlockVolumeInVSAN is a granular configuration parameter on vSAN datastore only. It overrides GlobalMaxSnapshotsPerBlockVolume if set, while it falls back to the global constraint if unset. Snapshots for VSAN can not be disabled using this parameter.
-
getGranularMaxSnapshotsPerBlockVolumeInVVOL
public Long getGranularMaxSnapshotsPerBlockVolumeInVVOL()
granularMaxSnapshotsPerBlockVolumeInVVOL is a granular configuration parameter on Virtual Volumes datastore only. It overrides GlobalMaxSnapshotsPerBlockVolume if set, while it falls back to the global constraint if unset. Snapshots for VVOL can not be disabled using this parameter.
-
setGranularMaxSnapshotsPerBlockVolumeInVVOL
public void setGranularMaxSnapshotsPerBlockVolumeInVVOL(Long granularMaxSnapshotsPerBlockVolumeInVVOL)
granularMaxSnapshotsPerBlockVolumeInVVOL is a granular configuration parameter on Virtual Volumes datastore only. It overrides GlobalMaxSnapshotsPerBlockVolume if set, while it falls back to the global constraint if unset. Snapshots for VVOL can not be disabled using this parameter.
-
getMaxAllowedBlockVolumesPerNode
public Integer getMaxAllowedBlockVolumesPerNode()
maxAllowedBlockVolumesPerNode is an optional configuration parameter that allows setting a custom value for the limit of the number of PersistentVolumes attached to a node. In vSphere version 7 this limit was set to 59 by default, however in vSphere version 8 this limit was increased to 255. Before increasing this value above 59 the cluster administrator needs to ensure that every node forming the cluster is updated to ESXi version 8 or higher and that all nodes are running the same version. The limit must be between 1 and 255, which matches the vSphere version 8 maximum. When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time. The current default is 59, which matches the limit for vSphere version 7.
-
setMaxAllowedBlockVolumesPerNode
public void setMaxAllowedBlockVolumesPerNode(Integer maxAllowedBlockVolumesPerNode)
maxAllowedBlockVolumesPerNode is an optional configuration parameter that allows setting a custom value for the limit of the number of PersistentVolumes attached to a node. In vSphere version 7 this limit was set to 59 by default, however in vSphere version 8 this limit was increased to 255. Before increasing this value above 59 the cluster administrator needs to ensure that every node forming the cluster is updated to ESXi version 8 or higher and that all nodes are running the same version. The limit must be between 1 and 255, which matches the vSphere version 8 maximum. When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time. The current default is 59, which matches the limit for vSphere version 7.
-
getTopologyCategories
public List<String> getTopologyCategories()
topologyCategories indicates tag categories with which vcenter resources such as hostcluster or datacenter were tagged with. If cluster Infrastructure object has a topology, values specified in Infrastructure object will be used and modifications to topologyCategories will be rejected.
-
setTopologyCategories
public void setTopologyCategories(List<String> topologyCategories)
topologyCategories indicates tag categories with which vcenter resources such as hostcluster or datacenter were tagged with. If cluster Infrastructure object has a topology, values specified in Infrastructure object will be used and modifications to topologyCategories will be rejected.
-
edit
public VSphereCSIDriverConfigSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<VSphereCSIDriverConfigSpecBuilder>
-
toBuilder
public VSphereCSIDriverConfigSpecBuilder toBuilder()
-
-