public class ReinstallVolumeConfig extends Object
| Constructor and Description |
|---|
ReinstallVolumeConfig() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getLvmConfig()
Docker数据盘配置项。 默认配置示例如下: ``` \"lvmConfig\":\"dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear\" ``` 包含如下字段: - userLV:用户空间的大小,示例格式:vgpaas/20%VG - userPath:用户空间挂载路径,示例格式:/home/wqt-test - diskType:磁盘类型,目前只有evs、hdd和ssd三种格式 - lvType:逻辑卷的类型,目前支持linear和striped两种,示例格式:striped - dockerThinpool:Docker盘的空间大小,示例格式:vgpaas/60%VG - kubernetesLV:Kubelet空间大小,示例格式:vgpaas/20%VG
|
Storage |
getStorage()
Get storage
|
int |
hashCode() |
void |
setLvmConfig(String lvmConfig) |
void |
setStorage(Storage storage) |
String |
toString() |
ReinstallVolumeConfig |
withLvmConfig(String lvmConfig) |
ReinstallVolumeConfig |
withStorage(java.util.function.Consumer<Storage> storageSetter) |
ReinstallVolumeConfig |
withStorage(Storage storage) |
public ReinstallVolumeConfig withLvmConfig(String lvmConfig)
public String getLvmConfig()
public void setLvmConfig(String lvmConfig)
public ReinstallVolumeConfig withStorage(Storage storage)
public ReinstallVolumeConfig withStorage(java.util.function.Consumer<Storage> storageSetter)
public Storage getStorage()
public void setStorage(Storage storage)
Copyright © 2022. All rights reserved.