Class RAIDConfig

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<RAIDConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class RAIDConfig
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<RAIDConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    RAIDConfig contains the configuration that are required to config RAID in Bare Metal server.
    See Also:
    Serialized Form
    • Method Detail

      • getHardwareRAIDVolumes

        public List<HardwareRAIDVolume> getHardwareRAIDVolumes()
        The list of logical disks for hardware RAID, if rootDeviceHints isn't used, first volume is root volume. You can set the value of this field to `[]` to clear all the hardware RAID configurations.
      • setHardwareRAIDVolumes

        public void setHardwareRAIDVolumes​(List<HardwareRAIDVolume> hardwareRAIDVolumes)
        The list of logical disks for hardware RAID, if rootDeviceHints isn't used, first volume is root volume. You can set the value of this field to `[]` to clear all the hardware RAID configurations.
      • getSoftwareRAIDVolumes

        public List<SoftwareRAIDVolume> getSoftwareRAIDVolumes()
        The list of logical disks for software RAID, if rootDeviceHints isn't used, first volume is root volume. If HardwareRAIDVolumes is set this item will be invalid. The number of created Software RAID devices must be 1 or 2. If there is only one Software RAID device, it has to be a RAID-1. If there are two, the first one has to be a RAID-1, while the RAID level for the second one can be 0, 1, or 1+0. As the first RAID device will be the deployment device, enforcing a RAID-1 reduces the risk of ending up with a non-booting host in case of a disk failure. Software RAID will always be deleted.
      • setSoftwareRAIDVolumes

        public void setSoftwareRAIDVolumes​(List<SoftwareRAIDVolume> softwareRAIDVolumes)
        The list of logical disks for software RAID, if rootDeviceHints isn't used, first volume is root volume. If HardwareRAIDVolumes is set this item will be invalid. The number of created Software RAID devices must be 1 or 2. If there is only one Software RAID device, it has to be a RAID-1. If there are two, the first one has to be a RAID-1, while the RAID level for the second one can be 0, 1, or 1+0. As the first RAID device will be the deployment device, enforcing a RAID-1 reduces the risk of ending up with a non-booting host in case of a disk failure. Software RAID will always be deleted.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)