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
- objectmetadata
- objectspec
Required value
Operating system disk image installed on physical servers.
- objectspec.direct
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.
- stringspec.direct.checksum
Required value
Image checksum in hexadecimal format.
Its length must match the algorithm in the
checksumTypeparameter.Pattern:
^[a-fA-F0-9]+$Length:
1..128 - stringspec.direct.checksumType
Required value
Checksum algorithm.
Allowed values:
md5,sha256,sha512 - stringspec.direct.format
Required value
Disk image format.
Allowed values:
qcow2,raw - stringspec.direct.url
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
- objectmetadata
- objectspec
Required value
Cluster-wide physical server and settings for access to its baseboard management controller (BMC).
- objectspec.bmc
Required value
Settings for connecting to the server BMC.
- booleanspec.bmc.allowHTTP
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.caCertRefparameter.Default:
false - objectspec.bmc.credentialsRef
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/credentialstype and contain the following keys:authSchemeset touserPasswordidentitywith the BMC user namesecretwith the BMC user password
- stringspec.bmc.credentialsRef.kind
Required value
Kind of the resource with BMC credentials.
Allowed values:
Secret - stringspec.bmc.credentialsRef.name
Required value
Name of the Secret with BMC credentials.
Length:
1..253 - stringspec.bmc.credentialsRef.namespace
Namespace of the Secret with BMC credentials.
Pattern:
^[a-z0-9]([-a-z0-9]*[a-z0-9])?$Length:
1..63
- booleanspec.bmc.insecure
Disables BMC certificate verification.
Cannot be used with the
tls.caCertRefparameter.Default:
false - stringspec.bmc.ipAddress
Required value
BMC IPv4 address.
- integerspec.bmc.port
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:
443for Redfish over HTTPS80for Redfish over HTTP if theallowHTTPparameter is enabled623for IPMI
Allowed values:
1 <= X <= 65535 - stringspec.bmc.systemUUID
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).
- objectspec.bmc.tls
Settings for verifying the BMC certificate when connecting over Redfish.
- objectspec.bmc.tls.caCertRef
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-baremetalnamespace.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.
- stringspec.bmc.tls.caCertRef.key
Required value
Key in the Secret that holds the PEM-encoded BMC CA certificate.
Length:
1..253 - stringspec.bmc.tls.caCertRef.kind
Required value
Kind of the resource with the BMC CA certificate.
Allowed values:
Secret - stringspec.bmc.tls.caCertRef.name
Required value
Name of the Secret with the BMC CA certificate.
Length:
1..253
- stringspec.bootMACAddress
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}$ - booleanspec.online
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 - objectspec.rootDeviceHints
Root disk hints.
If the parameter is not set, Ironic selects the root disk by itself based on the hardware information.
- stringspec.rootDeviceHints.deviceName
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 - stringspec.rootDeviceHints.hctl
Disk address on the SCSI bus, for example,
0:0:0:0.Only a disk with exactly the same address matches.
Maximum length:
256 - integerspec.rootDeviceHints.minSizeGigabytes
Minimum disk size in gigabytes.
Allowed values:
0 <= X - stringspec.rootDeviceHints.model
Disk model.
A disk matches if its model name contains the specified string. For example,
860 EVOmatches theSamsung SSD 860 EVO 500GBmodel.Maximum length:
256 - booleanspec.rootDeviceHints.rotational
Disk type.
If
true, a hard disk drive (HDD) is selected. Iffalse, a solid-state drive, for example, SSD or NVMe, is selected. - stringspec.rootDeviceHints.serialNumber
Disk serial number.
Only a disk with exactly the same serial number matches.
Maximum length:
256 - stringspec.rootDeviceHints.vendor
Disk vendor.
A disk matches if its vendor name contains the specified string. For example,
Samsungmatches theSamsung Electronicsvendor.Maximum length:
256 - stringspec.rootDeviceHints.wwn
World Wide Name (WWN) of the disk.
Only a disk with exactly the same WWN matches.
Maximum length:
256 - stringspec.rootDeviceHints.wwnVendorExtension
Vendor extension of the disk WWN.
Only a disk with exactly the same value matches.
Maximum length:
256 - stringspec.rootDeviceHints.wwnWithExtension
Disk WWN together with the vendor extension.
Only a disk with exactly the same value matches.
Maximum length:
256
- objectstatus
Current server state and the result of processing the resource by the module.
- array of objectsstatus.conditions
Conditions that describe the resource state.
Each time the module processes the resource, it sets the
BMCResolvedcondition. The condition isTrueif the module connected to the BMC, found the server with the UUID from thespec.bmc.systemUUIDparameter, and created or updated the BareMetalHost resource for it.If the module failed to complete one of these steps, the condition is
False. Thereasonfield identifies the step, and themessagefield explains the error.- stringstatus.conditions.lastTransitionTime
Required value
Time when the condition value or reason last changed.
- stringstatus.conditions.message
Required value
Explanation of the condition value.
The message is empty if the condition is
True. The main messages for theFalsevalue are described in the Checking server state section. - integerstatus.conditions.observedGeneration
Resource generation (
metadata.generation) for which the condition was set. - stringstatus.conditions.reason
Required value
Code of the reason why the condition has its current value.
If the condition is
True, the reason isBMCResolved. If the condition isFalse, the reason identifies the step that the module failed to complete, for exampleCredentialsInvalidorBMCResolutionFailed. - stringstatus.conditions.status
Required value
Condition value.
The value is
TrueorFalse.Allowed values:
True,False,Unknown - stringstatus.conditions.type
Required value
Condition type.
- objectstatus.host
Server state according to the BareMetalHost resource with the same name in the
d8-cloud-instance-managernamespace.The field is filled in only if the last processing of the resource succeeded.
- booleanstatus.host.desiredOnline
Desired power state of the server.
- stringstatus.host.error
Error message if an operation on the server failed.
The error details are in the
status.errorMessagefield of the BareMetalHost resource with the same name. - booleanstatus.host.poweredOn
Actual power state of the server.
- stringstatus.host.state
Current server state according to the BareMetalHost resource, for example,
availableorprovisioned.
- stringstatus.message
Error message if the module failed to process the resource.
- integerstatus.observedGeneration
Resource generation (
metadata.generation) last processed by the module.
BareMetalInstanceClass
Scope: Cluster
Version: v1
- objectmetadata
- objectspec
Required value
Parameters of CloudEphemeral nodes created on physical servers.
- objectspec.capacity
Node resources that cluster autoscaler takes into account when scaling the group from zero.
- integer or stringspec.capacity.cpu
Required value
Node CPU resources available for workloads.
Pattern:
^[0-9]+m?$Example:
cpu: 4000m - integer or stringspec.capacity.memory
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
- booleanspec.disableAutomatedCleaning
Disables automatic disk cleaning on servers used for the group nodes.
By default, Ironic cleans disk metadata.
Default:
false - objectspec.hostSelector
Selector that picks servers by the labels of BareMetalInstance resources.
If the parameter is not set, nodes are created on any free servers.
- array of objectsspec.hostSelector.matchExpressions
Selects servers using Kubernetes label selector expressions.
- stringspec.hostSelector.matchExpressions.key
Required value
Label key.
Maximum length:
253 - stringspec.hostSelector.matchExpressions.operator
Required value
Operator that compares the label value with the values from the
valuesparameter.Allowed values:
In,NotIn,Exists,DoesNotExist - array of stringsspec.hostSelector.matchExpressions.values
Label values for the
InandNotInoperators.Do not set for the
ExistsandDoesNotExistoperators.- stringElement of the array
Maximum length:
63
- objectspec.hostSelector.matchLabels
Selects servers that have all the listed labels with the specified values.
- objectspec.imageRef
Required value
Reference to the BareMetalImage resource with the operating system image for the nodes.
- stringspec.imageRef.kind
Required value
Kind of the resource with the operating system image.
Allowed values:
BareMetalImage - stringspec.imageRef.name
Required value
Name of the BareMetalImage resource.
Length:
1..253
- booleanspec.nodeReuse
Allows reusing the same servers when the group nodes are updated.
Default:
false
- objectstatus
- array of stringsstatus.nodeGroupConsumers
NodeGroups that use this instance class.
BareMetalIPXEFirmware
Scope: Cluster
Version: v1
- objectmetadata
- objectspec
Required value
iPXE firmware for booting servers if TLS is enabled for Ironic in the cluster.
- objectspec.direct
Required value
Firmware files and their SHA-256 checksums for the supported boot modes.
- objectspec.direct.bios
Required value
iPXE firmware for legacy BIOS boot.
- stringspec.direct.bios.sha256
Required value
SHA-256 checksum of the iPXE firmware for BIOS.
Pattern:
^[a-f0-9]{64}$ - stringspec.direct.bios.url
Required value
URL of the iPXE firmware for BIOS.
Only HTTPS is supported.
Pattern:
^https://Maximum length:
2048
- objectspec.direct.uefiArm64
iPXE firmware for UEFI boot on ARM64.
If the parameter is not set, the built-in firmware is used.
- stringspec.direct.uefiArm64.sha256
Required value
SHA-256 checksum of the iPXE firmware for UEFI on ARM64.
Pattern:
^[a-f0-9]{64}$ - stringspec.direct.uefiArm64.url
Required value
URL of the iPXE firmware for UEFI on ARM64.
Only HTTPS is supported.
Pattern:
^https://Maximum length:
2048
- objectspec.direct.uefiX86_64
Required value
iPXE firmware for UEFI boot on x86_64.
- stringspec.direct.uefiX86_64.sha256
Required value
SHA-256 checksum of the iPXE firmware for UEFI on x86_64.
Pattern:
^[a-f0-9]{64}$ - stringspec.direct.uefiX86_64.url
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
- objectmetadata
- objectspec
Required value
Ironic Python Agent (IPA) image that servers boot from while Ironic collects hardware information and installs the operating system.
- objectspec.direct
Required value
URLs of the IPA kernel and initramfs.
- stringspec.direct.architecture
CPU architecture the image is built for.
Default:
x86_64Allowed values:
x86_64,aarch64 - stringspec.direct.initramfsURL
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 - stringspec.direct.kernelURL
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