The Deckhouse Platform installs CRDs but does not remove them when a module is disabled. If you no longer need the created CRDs, delete them.

The module lifecycle stage: Experimental

The module has requirements for installation

Before enabling the module, you need to allow the use of experimental modules in the deckhouse ModuleConfig. To do this, set the allowExperimentalModules parameter to true.

BareMetalImage

Scope: Cluster
Version: v1

  • metadata
    object
  • spec
    object

    Required value

    Operating system disk image installed on physical servers.

    • spec.direct
      object

      Required value

      Image source and data for its integrity check.

      Cannot be changed after creation. To update the operating system image, create a BareMetalImage with a new name and update the imageRef in BareMetalInstanceClass.

      • spec.direct.checksum
        string

        Required value

        Image checksum in hexadecimal format.

        Its length must match the algorithm in the checksumType parameter.

        Pattern: ^[a-fA-F0-9]+$

        Length: 1..128

      • spec.direct.checksumType
        string

        Required value

        Checksum algorithm.

        Allowed values: md5, sha256, sha512

      • spec.direct.format
        string

        Required value

        Disk image format.

        Allowed values: qcow2, raw

      • spec.direct.url
        string

        Required value

        Image URL.

        The image must be available at this URL to Ironic and to servers during operating system installation.

        Pattern: ^https?://

        Maximum length: 2048

BareMetalInstance

Short names: bmi

Scope: Cluster
Version: v1

  • metadata
    object
  • spec
    object

    Required value

    Cluster-wide physical server and settings for access to its baseboard management controller (BMC).

    • spec.bmc
      object

      Required value

      Settings for connecting to the server BMC.

      • spec.bmc.allowHTTP
        boolean

        Allows connecting to the BMC using Redfish over HTTP if the HTTPS connection fails.

        In this case, BMC credentials are sent in plain text. Cannot be used with the tls.caCertRef parameter.

        Default: false

      • spec.bmc.credentialsRef
        object

        Required value

        Reference to the Secret with BMC credentials. If namespace is omitted, the Secret is read from d8-infra-provider-baremetal.

        The Secret must have the cloud-provider.deckhouse.io/credentials type and contain the following keys:

        • authScheme set to userPassword
        • identity with the BMC user name
        • secret with the BMC user password
        • spec.bmc.credentialsRef.kind
          string

          Required value

          Kind of the resource with BMC credentials.

          Allowed values: Secret

        • spec.bmc.credentialsRef.name
          string

          Required value

          Name of the Secret with BMC credentials.

          Length: 1..253

        • spec.bmc.credentialsRef.namespace
          string

          Namespace of the Secret with BMC credentials.

          Pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$

          Length: 1..63

      • spec.bmc.insecure
        boolean

        Disables BMC certificate verification.

        Cannot be used with the tls.caCertRef parameter.

        Default: false

      • spec.bmc.ipAddress
        string

        Required value

        BMC IPv4 address.

      • spec.bmc.port
        integer

        BMC port.

        If the parameter is set, the module connects to the BMC on this port over all protocols. If the parameter is not set, the module uses the standard ports:

        • 443 for Redfish over HTTPS
        • 80 for Redfish over HTTP if the allowHTTP parameter is enabled
        • 623 for IPMI

        Allowed values: 1 <= X <= 65535

      • spec.bmc.systemUUID
        string

        Required value

        Server UUID reported by its BMC.

        Over Redfish, the module compares this value with the system UUID returned by the BMC, and over IPMI with the system identifier (System GUID).

      • spec.bmc.tls
        object

        Settings for verifying the BMC certificate when connecting over Redfish.

        • spec.bmc.tls.caCertRef
          object

          Reference to the Secret key with the PEM-encoded CA certificate that issued the BMC certificate.

          The Secret must be in the d8-infra-provider-baremetal namespace.

          Supported only if Ironic runs in the cluster. If the module is connected to an external Ironic, an error appears in the resource status, and the module does not create a BareMetalHost for it.

          • spec.bmc.tls.caCertRef.key
            string

            Required value

            Key in the Secret that holds the PEM-encoded BMC CA certificate.

            Length: 1..253

          • spec.bmc.tls.caCertRef.kind
            string

            Required value

            Kind of the resource with the BMC CA certificate.

            Allowed values: Secret

          • spec.bmc.tls.caCertRef.name
            string

            Required value

            Name of the Secret with the BMC CA certificate.

            Length: 1..253

    • spec.bootMACAddress
      string

      Required value

      MAC address of the server network interface used for PXE boot.

      Pattern: ^([0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}$

    • spec.online
      boolean

      Desired power state of the server.

      Applied when the physical host is created and when this parameter changes on a host that is not used for a node.

      While the server is used for a node, CAPM3 controls its power; changes to this parameter are ignored. After node deletion, the module preserves the power state requested by CAPM3 until this parameter is changed explicitly.

      Default: false

    • spec.rootDeviceHints
      object

      Root disk hints.

      If the parameter is not set, Ironic selects the root disk by itself based on the hardware information.

      • spec.rootDeviceHints.deviceName
        string

        Linux disk name, for example, /dev/vda, or a path to the disk in the /dev/disk/by-path/ directory.

        Only a disk with exactly the same value matches.

        Maximum length: 256

      • spec.rootDeviceHints.hctl
        string

        Disk address on the SCSI bus, for example, 0:0:0:0.

        Only a disk with exactly the same address matches.

        Maximum length: 256

      • spec.rootDeviceHints.minSizeGigabytes
        integer

        Minimum disk size in gigabytes.

        Allowed values: 0 <= X

      • spec.rootDeviceHints.model
        string

        Disk model.

        A disk matches if its model name contains the specified string. For example, 860 EVO matches the Samsung SSD 860 EVO 500GB model.

        Maximum length: 256

      • spec.rootDeviceHints.rotational
        boolean

        Disk type.

        If true, a hard disk drive (HDD) is selected. If false, a solid-state drive, for example, SSD or NVMe, is selected.

      • spec.rootDeviceHints.serialNumber
        string

        Disk serial number.

        Only a disk with exactly the same serial number matches.

        Maximum length: 256

      • spec.rootDeviceHints.vendor
        string

        Disk vendor.

        A disk matches if its vendor name contains the specified string. For example, Samsung matches the Samsung Electronics vendor.

        Maximum length: 256

      • spec.rootDeviceHints.wwn
        string

        World Wide Name (WWN) of the disk.

        Only a disk with exactly the same WWN matches.

        Maximum length: 256

      • spec.rootDeviceHints.wwnVendorExtension
        string

        Vendor extension of the disk WWN.

        Only a disk with exactly the same value matches.

        Maximum length: 256

      • spec.rootDeviceHints.wwnWithExtension
        string

        Disk WWN together with the vendor extension.

        Only a disk with exactly the same value matches.

        Maximum length: 256

  • status
    object

    Current server state and the result of processing the resource by the module.

    • status.conditions
      array of objects

      Conditions that describe the resource state.

      Each time the module processes the resource, it sets the BMCResolved condition. The condition is True if the module connected to the BMC, found the server with the UUID from the spec.bmc.systemUUID parameter, and created or updated the BareMetalHost resource for it.

      If the module failed to complete one of these steps, the condition is False. The reason field identifies the step, and the message field explains the error.

      • status.conditions.lastTransitionTime
        string

        Required value

        Time when the condition value or reason last changed.

      • status.conditions.message
        string

        Required value

        Explanation of the condition value.

        The message is empty if the condition is True. The main messages for the False value are described in the Checking server state section.

      • status.conditions.observedGeneration
        integer

        Resource generation (metadata.generation) for which the condition was set.

      • status.conditions.reason
        string

        Required value

        Code of the reason why the condition has its current value.

        If the condition is True, the reason is BMCResolved. If the condition is False, the reason identifies the step that the module failed to complete, for example CredentialsInvalid or BMCResolutionFailed.

      • status.conditions.status
        string

        Required value

        Condition value.

        The value is True or False.

        Allowed values: True, False, Unknown

      • status.conditions.type
        string

        Required value

        Condition type.

    • status.host
      object

      Server state according to the BareMetalHost resource with the same name in the d8-cloud-instance-manager namespace.

      The field is filled in only if the last processing of the resource succeeded.

      • status.host.desiredOnline
        boolean

        Desired power state of the server.

      • status.host.error
        string

        Error message if an operation on the server failed.

        The error details are in the status.errorMessage field of the BareMetalHost resource with the same name.

      • status.host.poweredOn
        boolean

        Actual power state of the server.

      • status.host.state
        string

        Current server state according to the BareMetalHost resource, for example, available or provisioned.

    • status.message
      string

      Error message if the module failed to process the resource.

    • status.observedGeneration
      integer

      Resource generation (metadata.generation) last processed by the module.

BareMetalInstanceClass

Scope: Cluster
Version: v1

  • metadata
    object
  • spec
    object

    Required value

    Parameters of CloudEphemeral nodes created on physical servers.

    • spec.capacity
      object

      Node resources that cluster autoscaler takes into account when scaling the group from zero.

      • spec.capacity.cpu
        integer or string

        Required value

        Node CPU resources available for workloads.

        Pattern: ^[0-9]+m?$

        Example:

        cpu: 4000m
        
      • spec.capacity.memory
        integer or string

        Required value

        Node memory available for workloads.

        Pattern: ^[0-9]+(\.[0-9]+)?(E|P|T|G|M|k|Ei|Pi|Ti|Gi|Mi|Ki)?$

        Example:

        memory: 8Gi
        
    • spec.disableAutomatedCleaning
      boolean

      Disables automatic disk cleaning on servers used for the group nodes.

      By default, Ironic cleans disk metadata.

      Default: false

    • spec.hostSelector
      object

      Selector that picks servers by the labels of BareMetalInstance resources.

      If the parameter is not set, nodes are created on any free servers.

      • spec.hostSelector.matchExpressions
        array of objects

        Selects servers using Kubernetes label selector expressions.

        • spec.hostSelector.matchExpressions.key
          string

          Required value

          Label key.

          Maximum length: 253

        • spec.hostSelector.matchExpressions.operator
          string

          Required value

          Operator that compares the label value with the values from the values parameter.

          Allowed values: In, NotIn, Exists, DoesNotExist

        • spec.hostSelector.matchExpressions.values
          array of strings

          Label values for the In and NotIn operators.

          Do not set for the Exists and DoesNotExist operators.

          • Element of the array
            string

            Maximum length: 63

      • spec.hostSelector.matchLabels
        object

        Selects servers that have all the listed labels with the specified values.

    • spec.imageRef
      object

      Required value

      Reference to the BareMetalImage resource with the operating system image for the nodes.

      • spec.imageRef.kind
        string

        Required value

        Kind of the resource with the operating system image.

        Allowed values: BareMetalImage

      • spec.imageRef.name
        string

        Required value

        Name of the BareMetalImage resource.

        Length: 1..253

    • spec.nodeReuse
      boolean

      Allows reusing the same servers when the group nodes are updated.

      Default: false

  • status
    object
    • status.nodeGroupConsumers
      array of strings

      NodeGroups that use this instance class.

BareMetalIPXEFirmware

Scope: Cluster
Version: v1

  • metadata
    object
  • spec
    object

    Required value

    iPXE firmware for booting servers if TLS is enabled for Ironic in the cluster.

    • spec.direct
      object

      Required value

      Firmware files and their SHA-256 checksums for the supported boot modes.

      • spec.direct.bios
        object

        Required value

        iPXE firmware for legacy BIOS boot.

        • spec.direct.bios.sha256
          string

          Required value

          SHA-256 checksum of the iPXE firmware for BIOS.

          Pattern: ^[a-f0-9]{64}$

        • spec.direct.bios.url
          string

          Required value

          URL of the iPXE firmware for BIOS.

          Only HTTPS is supported.

          Pattern: ^https://

          Maximum length: 2048

      • spec.direct.uefiArm64
        object

        iPXE firmware for UEFI boot on ARM64.

        If the parameter is not set, the built-in firmware is used.

        • spec.direct.uefiArm64.sha256
          string

          Required value

          SHA-256 checksum of the iPXE firmware for UEFI on ARM64.

          Pattern: ^[a-f0-9]{64}$

        • spec.direct.uefiArm64.url
          string

          Required value

          URL of the iPXE firmware for UEFI on ARM64.

          Only HTTPS is supported.

          Pattern: ^https://

          Maximum length: 2048

      • spec.direct.uefiX86_64
        object

        Required value

        iPXE firmware for UEFI boot on x86_64.

        • spec.direct.uefiX86_64.sha256
          string

          Required value

          SHA-256 checksum of the iPXE firmware for UEFI on x86_64.

          Pattern: ^[a-f0-9]{64}$

        • spec.direct.uefiX86_64.url
          string

          Required value

          URL of the iPXE firmware for UEFI on x86_64.

          Only HTTPS is supported.

          Pattern: ^https://

          Maximum length: 2048

BareMetalRamdiskImage

Scope: Cluster
Version: v1

  • metadata
    object
  • spec
    object

    Required value

    Ironic Python Agent (IPA) image that servers boot from while Ironic collects hardware information and installs the operating system.

    • spec.direct
      object

      Required value

      URLs of the IPA kernel and initramfs.

      • spec.direct.architecture
        string

        CPU architecture the image is built for.

        Default: x86_64

        Allowed values: x86_64, aarch64

      • spec.direct.initramfsURL
        string

        Required value

        URL of the IPA initramfs.

        The file must be available at this URL to Ironic and to servers.

        Pattern: ^https?://

        Maximum length: 2048

      • spec.direct.kernelURL
        string

        Required value

        URL of the IPA kernel.

        The file must be available at this URL to Ironic and to servers.

        Pattern: ^https?://

        Maximum length: 2048