BareMetalHost [metal3.io/v1alpha1]
Esc
Start typing to search...
On this page

BareMetalHost [metal3.io/v1alpha1]

Description

BareMetalHost is the Schema for the baremetalhosts API

Type
`object`

Specification

PropertyTypeDescription
apiVersionstringAPIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kindstringKind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadataObjectMetaStandard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
specobjectBareMetalHostSpec defines the desired state of BareMetalHost.
statusobjectBareMetalHostStatus defines the observed state of BareMetalHost.

.spec

Description

BareMetalHostSpec defines the desired state of BareMetalHost.

Type
`object`
Required
  • online
PropertyTypeDescription
architecturestringCPU architecture of the host, e.g. "x86_64" or "aarch64". If unset, eventually populated by inspection.
automatedCleaningModestringWhen set to disabled, automated cleaning will be skipped during provisioning and deprovisioning.
bmcobjectHow do we connect to the BMC (Baseboard Management Controller) on the host?
bootMACAddressstringThe MAC address of the NIC used for provisioning the host. In case of network boot, this is the MAC address of the PXE booting interface. The MAC address of the BMC must never be used here!
bootModestringSelect the method of initializing the hardware during boot. Defaults to UEFI. Legacy boot should only be used for hardware that does not support UEFI correctly. Set to UEFISecureBoot to turn secure boot on automatically after provisioning.
consumerRefobjectConsumerRef can be used to store information about something that is using a host. When it is not empty, the host is considered "in use". The common use case is a link to a Machine resource when the host is used by Cluster API.
customDeployobjectA custom deploy procedure. This is an advanced feature that allows using a custom deploy step provided by a site-specific deployment ramdisk. Most users will want to use "image" instead. Setting this field triggers provisioning.
descriptionstringDescription is a human-entered text used to help identify the host.
disablePowerOffbooleanWhen set to true, power off of the node will be disabled, instead, a reboot will be used in place of power on/off
externallyProvisionedbooleanExternallyProvisioned means something else has provisioned the image running on the host, and the operator should only manage the power status. This field is used for integration with already provisioned hosts and when pivoting hosts between clusters.
This field can be set to true either: 1. During initial host creation (e.g., for pre-provisioned hosts) 2. After inspection completes when the host reaches Available state
When used in environments with Cluster API Provider Metal3 (CAPM3), ensure hosts are labeled appropriately so CAPM3’s host selector can distinguish them from CAPM3-managed hosts. If unsure, leave this field as false.
firmwareobjectFirmware (BIOS) configuration for bare metal server. If set, the requested settings will be applied before the host is provisioned.
Deprecated: no longer supported by any driver. An alternative is to use HostFirmwareSettings resources that allow changing arbitrary values and support the generic Redfish-based drivers.
hardwareProfilestringWhat is the name of the hardware profile for this host? Hardware profiles are deprecated and should not be used. Use the separate fields Architecture and RootDeviceHints instead. Set to "empty" to prepare for the future version of the API without hardware profiles.
imageobjectImage holds the details of the image to be provisioned. Populating the image will cause the host to start provisioning.
inspectionModestringSpecifies the mode for host inspection. "disabled" - no inspection will be performed "agent" - normal agent-based inspection will run
metaDataobjectMetaData holds the reference to the Secret containing host metadata which is passed to the Config Drive. By default, metadata will be generated for the host, so most users do not need to set this field.
networkDataobjectNetworkData holds the reference to the Secret containing network configuration which is passed to the Config Drive and interpreted by the first boot software such as cloud-init.
onlinebooleanShould the host be powered on? If the host is currently in a stable state (e.g. provisioned), its power state will be forced to match this value.
preprovisioningNetworkDataNamestringPreprovisioningNetworkDataName is the name of the Secret in the local namespace containing network configuration which is passed to the preprovisioning image, and to the Config Drive if not overridden by specifying NetworkData.
raidobjectRAID configuration for bare metal server. If set, the RAID settings will be applied before the host is provisioned. If not, the current settings will not be modified. Only one of the sub-fields hardwareRAIDVolumes and softwareRAIDVolumes can be set at the same time.
rootDeviceHintsobjectProvide guidance about how to choose the device for the image being provisioned. The default is currently to use /dev/sda as the root device.
taintsarrayTaints is the full, authoritative list of taints to apply to the corresponding Machine. This list will overwrite any modifications made to the Machine on an ongoing basis.
taints[]objectThe node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.
userDataobjectUserData holds the reference to the Secret containing the user data which is passed to the Config Drive and interpreted by the first-boot software such as cloud-init. The format of user data is specific to the first-boot software.

.spec.bmc

Description

How do we connect to the BMC (Baseboard Management Controller) on the host?

Type
`object`
Required
  • address
  • credentialsName
PropertyTypeDescription
addressstringAddress holds the URL for accessing the controller on the network. The scheme part designates the driver to use with the host.
credentialsNamestringThe name of the secret containing the BMC credentials (requires keys "username" and "password").
disableCertificateVerificationbooleanDisableCertificateVerification disables verification of server certificates when using HTTPS to connect to the BMC. This is required when the server certificate is self-signed, but is insecure because it allows a man-in-the-middle to intercept the connection.

.spec.consumerRef

Description

ConsumerRef can be used to store information about something that is using a host. When it is not empty, the host is considered "in use". The common use case is a link to a Machine resource when the host is used by Cluster API.

Type
`object`
PropertyTypeDescription
apiVersionstringAPI version of the referent.
fieldPathstringIf referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.
kindstringKind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
namestringName of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
namespacestringNamespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
resourceVersionstringSpecific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
uidstringUID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids

.spec.customDeploy

Description

A custom deploy procedure. This is an advanced feature that allows using a custom deploy step provided by a site-specific deployment ramdisk. Most users will want to use "image" instead. Setting this field triggers provisioning.

Type
`object`
Required
  • method
PropertyTypeDescription
methodstringCustom deploy method name. This name is specific to the deploy ramdisk used. If you don’t have a custom deploy ramdisk, you shouldn’t use CustomDeploy.

.spec.firmware

Description

Firmware (BIOS) configuration for bare metal server. If set, the requested settings will be applied before the host is provisioned.

Deprecated: no longer supported by any driver. An alternative is to use HostFirmwareSettings resources that allow changing arbitrary values and support the generic Redfish-based drivers.

Type
`object`
PropertyTypeDescription
simultaneousMultithreadingEnabledbooleanAllows a single physical processor core to appear as several logical processors.
sriovEnabledbooleanSR-IOV support enables a hypervisor to create virtual instances of a PCI-express device, potentially increasing performance.
virtualizationEnabledbooleanSupports the virtualization of platform hardware.

.spec.image

Description

Image holds the details of the image to be provisioned. Populating the image will cause the host to start provisioning.

Type
`object`
Required
  • url
PropertyTypeDescription
checksumstringChecksum is the checksum for the image. Required for all formats except for "live-iso" and OCI images (oci://).
checksumTypestringChecksumType is the checksum algorithm for the image, e.g md5, sha256 or sha512. The special value "auto" can be used to detect the algorithm from the checksum. If missing, MD5 is used. If in doubt, use "auto".
formatstringFormat contains the format of the image (raw, qcow2, ...). When set to "live-iso", an ISO 9660 image referenced by the url will be live-booted and not deployed to disk.
urlstringURL is a location of an image to deploy.

.spec.metaData

Description

MetaData holds the reference to the Secret containing host metadata which is passed to the Config Drive. By default, metadata will be generated for the host, so most users do not need to set this field.

Type
`object`
PropertyTypeDescription
namestringname is unique within a namespace to reference a secret resource.
namespacestringnamespace defines the space within which the secret name must be unique.

.spec.networkData

Description

NetworkData holds the reference to the Secret containing network configuration which is passed to the Config Drive and interpreted by the first boot software such as cloud-init.

Type
`object`
PropertyTypeDescription
namestringname is unique within a namespace to reference a secret resource.
namespacestringnamespace defines the space within which the secret name must be unique.

.spec.raid

Description

RAID configuration for bare metal server. If set, the RAID settings will be applied before the host is provisioned. If not, the current settings will not be modified. Only one of the sub-fields hardwareRAIDVolumes and softwareRAIDVolumes can be set at the same time.

Type
`object`
PropertyTypeDescription
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.
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.

.spec.rootDeviceHints

Description

Provide guidance about how to choose the device for the image being provisioned. The default is currently to use /dev/sda as the root device.

Type
`object`
PropertyTypeDescription
deviceNamestringA Linux device name like "/dev/vda", or a by-path link to it like "/dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:0:0". The hint must match the actual value exactly.
hctlstringA SCSI bus address like 0:0:0:0. The hint must match the actual value exactly.
minSizeGigabytesintegerThe minimum size of the device in Gigabytes.
modelstringA vendor-specific device identifier. The hint can be a substring of the actual value.
rotationalbooleanTrue if the device should use spinning media, false otherwise.
serialNumberstringDevice serial number. The hint must match the actual value exactly.
vendorstringThe name of the vendor or manufacturer of the device. The hint can be a substring of the actual value.
wwnstringUnique storage identifier. The hint must match the actual value exactly.
wwnVendorExtensionstringUnique vendor storage identifier. The hint must match the actual value exactly.
wwnWithExtensionstringUnique storage identifier with the vendor extension appended. The hint must match the actual value exactly.

.spec.taints

Description

Taints is the full, authoritative list of taints to apply to the corresponding Machine. This list will overwrite any modifications made to the Machine on an ongoing basis.

Type
`array`

.spec.taints[]

Description

The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.

Type
`object`
Required
  • effect
  • key
PropertyTypeDescription
effectstringRequired. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
keystringRequired. The taint key to be applied to a node.
timeAddedstringTimeAdded represents the time at which the taint was added.
valuestringThe taint value corresponding to the taint key.

.spec.userData

Description

UserData holds the reference to the Secret containing the user data which is passed to the Config Drive and interpreted by the first-boot software such as cloud-init. The format of user data is specific to the first-boot software.

Type
`object`
PropertyTypeDescription
namestringname is unique within a namespace to reference a secret resource.
namespacestringnamespace defines the space within which the secret name must be unique.

.status

Description

BareMetalHostStatus defines the observed state of BareMetalHost.

Type
`object`
Required
  • errorCount
  • errorMessage
  • operationalStatus
  • poweredOn
  • provisioning
PropertyTypeDescription
conditionsarrayConditions defines current service state of the BareMetalHost.
conditions[]objectCondition contains details for one aspect of the current state of this API Resource.
errorCountintegerErrorCount records how many times the host has encoutered an error since the last successful operation
errorMessagestringThe last error message reported by the provisioning subsystem.
errorTypestringErrorType indicates the type of failure encountered when the OperationalStatus is OperationalStatusError
goodCredentialsobjectThe last credentials we were able to validate as working.
hardwareobjectThe hardware discovered to exist on the host. This field will be removed in the next API version in favour of the separate HardwareData resource.
hardwareProfilestringThe name of the profile matching the hardware details. Hardware profiles are deprecated and should not be relied on.
lastUpdatedstringLastUpdated identifies when this status was last observed.
operationHistoryobjectOperationHistory holds information about operations performed on this host.
operationalStatusstringOperationalStatus holds the status of the host
poweredOnbooleanThe currently detected power state of the host. This field may get briefly out of sync with the actual state of the hardware while provisioning processes are running.
provisioningobjectInformation tracked by the provisioner.
triedCredentialsobjectThe last credentials we sent to the provisioning backend.

.status.conditions

Description

Conditions defines current service state of the BareMetalHost.

Type
`array`

.status.conditions[]

Description

Condition contains details for one aspect of the current state of this API Resource.

Type
`object`
Required
  • lastTransitionTime
  • message
  • reason
  • status
  • type
PropertyTypeDescription
lastTransitionTimestringlastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
messagestringmessage is a human readable message indicating details about the transition. This may be an empty string.
observedGenerationintegerobservedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
reasonstringreason contains a programmatic identifier indicating the reason for the condition’s last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
statusstringstatus of the condition, one of True, False, Unknown.
typestringtype of condition in CamelCase or in foo.example.com/CamelCase.

.status.goodCredentials

Description

The last credentials we were able to validate as working.

Type
`object`
PropertyTypeDescription
credentialsobjectSecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace
credentialsVersionstring

.status.goodCredentials.credentials

Description

SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace

Type
`object`
PropertyTypeDescription
namestringname is unique within a namespace to reference a secret resource.
namespacestringnamespace defines the space within which the secret name must be unique.

.status.hardware

Description

The hardware discovered to exist on the host. This field will be removed in the next API version in favour of the separate HardwareData resource.

Type
`object`
PropertyTypeDescription
cpuobjectDetails of the CPU(s) in the system.
firmwareobjectSystem firmware information.
hostnamestringName of the host at the inspection time.
nicsarrayList of network interfaces for the host.
nics[]objectNIC describes one network interface on the host.
ramMebibytesintegerThe host’s amount of memory in Mebibytes.
storagearrayList of storage (disk, SSD, etc.) available to the host.
storage[]objectStorage describes one storage device (disk, SSD, etc.) on the host.
systemVendorobjectSystem vendor information.

.status.hardware.cpu

Description

Details of the CPU(s) in the system.

Type
`object`
PropertyTypeDescription
archstring
clockMegahertznumberClockSpeed is a clock speed in MHz
countinteger
flagsarray (string)
modelstring

.status.hardware.firmware

Description

System firmware information.

Type
`object`
PropertyTypeDescription
biosobjectThe BIOS for this firmware

.status.hardware.firmware.bios

Description

The BIOS for this firmware

Type
`object`
PropertyTypeDescription
datestringThe release/build date for this BIOS
vendorstringThe vendor name for this BIOS
versionstringThe version of the BIOS

.status.hardware.nics

Description

List of network interfaces for the host.

Type
`array`

.status.hardware.nics[]

Description

NIC describes one network interface on the host.

Type
`object`
PropertyTypeDescription
ipstringThe IP address of the interface. This will be an IPv4 or IPv6 address if one is present. If both IPv4 and IPv6 addresses are present in a dual-stack environment, two nics will be output, one with each IP.
lldpobjectLLDP data for this interface
macstringThe device MAC address
modelstringThe vendor and product IDs of the NIC, e.g. "0x8086 0x1572"
namestringThe name of the network interface, e.g. "en0"
pciAddressstringThe NIC PCI address
pxebooleanWhether the NIC is PXE Bootable
speedGbpsintegerThe speed of the device in Gigabits per second
vlanIdintegerThe untagged VLAN ID
vlansarrayThe VLANs available
vlans[]objectVLAN represents the name and ID of a VLAN.

.status.hardware.nics[].lldp

Description

LLDP data for this interface

Type
`object`
PropertyTypeDescription
portIDstringThe switch port ID from LLDP
switchIDstringThe switch chassis ID from LLDP
switchSystemNamestringThe switch system name from LLDP

.status.hardware.nics[].vlans

Description

The VLANs available

Type
`array`

.status.hardware.nics[].vlans[]

Description

VLAN represents the name and ID of a VLAN.

Type
`object`
PropertyTypeDescription
idintegerVLANID is a 12-bit 802.1Q VLAN identifier
namestring

.status.hardware.storage

Description

List of storage (disk, SSD, etc.) available to the host.

Type
`array`

.status.hardware.storage[]

Description

Storage describes one storage device (disk, SSD, etc.) on the host.

Type
`object`
PropertyTypeDescription
alternateNamesarray (string)A list of alternate Linux device names of the disk, e.g. "/dev/sda". Note that this list is not exhaustive, and names may not be stable across reboots.
hctlstringThe SCSI location of the device
modelstringHardware model
namestringA Linux device name of the disk, e.g. "/dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:0:0". This will be a name that is stable across reboots if one is available.
rotationalbooleanWhether this disk represents rotational storage. This field is not recommended for usage, please prefer using 'Type' field instead, this field will be deprecated eventually.
serialNumberstringThe serial number of the device
sizeBytesintegerThe size of the disk in Bytes
typestringDevice type, one of: HDD, SSD, NVME.
vendorstringThe name of the vendor of the device
wwnstringThe WWN of the device
wwnVendorExtensionstringThe WWN Vendor extension of the device
wwnWithExtensionstringThe WWN with the extension

.status.hardware.systemVendor

Description

System vendor information.

Type
`object`
PropertyTypeDescription
manufacturerstring
productNamestring
serialNumberstring

.status.operationHistory

Description

OperationHistory holds information about operations performed on this host.

Type
`object`
PropertyTypeDescription
deprovisionobjectOperationMetric contains metadata about an operation (inspection, provisioning, etc.) used for tracking metrics.
inspectobjectOperationMetric contains metadata about an operation (inspection, provisioning, etc.) used for tracking metrics.
provisionobjectOperationMetric contains metadata about an operation (inspection, provisioning, etc.) used for tracking metrics.
registerobjectOperationMetric contains metadata about an operation (inspection, provisioning, etc.) used for tracking metrics.

.status.operationHistory.deprovision

Description

OperationMetric contains metadata about an operation (inspection, provisioning, etc.) used for tracking metrics.

Type
`object`
PropertyTypeDescription
end``
start``

.status.operationHistory.inspect

Description

OperationMetric contains metadata about an operation (inspection, provisioning, etc.) used for tracking metrics.

Type
`object`
PropertyTypeDescription
end``
start``

.status.operationHistory.provision

Description

OperationMetric contains metadata about an operation (inspection, provisioning, etc.) used for tracking metrics.

Type
`object`
PropertyTypeDescription
end``
start``

.status.operationHistory.register

Description

OperationMetric contains metadata about an operation (inspection, provisioning, etc.) used for tracking metrics.

Type
`object`
PropertyTypeDescription
end``
start``

.status.provisioning

Description

Information tracked by the provisioner.

Type
`object`
Required
  • ID
  • state
PropertyTypeDescription
IDstringThe hosts’s ID from the underlying provisioning tool (e.g. the Ironic node UUID).
bootModestringBootMode indicates the boot mode used to provision the host.
customDeployobjectCustom deploy procedure applied to the host.
firmwareobjectThe firmware settings that have been applied.
imageobjectImage holds the details of the last image successfully provisioned to the host.
raidobjectThe RAID configuration that has been applied.
rootDeviceHintsobjectThe root device hints used to provision the host.
statestringAn indicator for what the provisioner is doing with the host.

.status.provisioning.customDeploy

Description

Custom deploy procedure applied to the host.

Type
`object`
Required
  • method
PropertyTypeDescription
methodstringCustom deploy method name. This name is specific to the deploy ramdisk used. If you don’t have a custom deploy ramdisk, you shouldn’t use CustomDeploy.

.status.provisioning.firmware

Description

The firmware settings that have been applied.

Type
`object`
PropertyTypeDescription
simultaneousMultithreadingEnabledbooleanAllows a single physical processor core to appear as several logical processors.
sriovEnabledbooleanSR-IOV support enables a hypervisor to create virtual instances of a PCI-express device, potentially increasing performance.
virtualizationEnabledbooleanSupports the virtualization of platform hardware.

.status.provisioning.image

Description

Image holds the details of the last image successfully provisioned to the host.

Type
`object`
Required
  • url
PropertyTypeDescription
checksumstringChecksum is the checksum for the image. Required for all formats except for "live-iso" and OCI images (oci://).
checksumTypestringChecksumType is the checksum algorithm for the image, e.g md5, sha256 or sha512. The special value "auto" can be used to detect the algorithm from the checksum. If missing, MD5 is used. If in doubt, use "auto".
formatstringFormat contains the format of the image (raw, qcow2, ...). When set to "live-iso", an ISO 9660 image referenced by the url will be live-booted and not deployed to disk.
urlstringURL is a location of an image to deploy.

.status.provisioning.raid

Description

The RAID configuration that has been applied.

Type
`object`
PropertyTypeDescription
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.
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.

.status.provisioning.rootDeviceHints

Description

The root device hints used to provision the host.

Type
`object`
PropertyTypeDescription
deviceNamestringA Linux device name like "/dev/vda", or a by-path link to it like "/dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:0:0". The hint must match the actual value exactly.
hctlstringA SCSI bus address like 0:0:0:0. The hint must match the actual value exactly.
minSizeGigabytesintegerThe minimum size of the device in Gigabytes.
modelstringA vendor-specific device identifier. The hint can be a substring of the actual value.
rotationalbooleanTrue if the device should use spinning media, false otherwise.
serialNumberstringDevice serial number. The hint must match the actual value exactly.
vendorstringThe name of the vendor or manufacturer of the device. The hint can be a substring of the actual value.
wwnstringUnique storage identifier. The hint must match the actual value exactly.
wwnVendorExtensionstringUnique vendor storage identifier. The hint must match the actual value exactly.
wwnWithExtensionstringUnique storage identifier with the vendor extension appended. The hint must match the actual value exactly.

.status.triedCredentials

Description

The last credentials we sent to the provisioning backend.

Type
`object`
PropertyTypeDescription
credentialsobjectSecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace
credentialsVersionstring

.status.triedCredentials.credentials

Description

SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace

Type
`object`
PropertyTypeDescription
namestringname is unique within a namespace to reference a secret resource.
namespacestringnamespace defines the space within which the secret name must be unique.

API endpoints

The following API endpoints are available:

  • /apis/metal3.io/v1alpha1/baremetalhosts
    • GET: list objects of kind BareMetalHost
  • /apis/metal3.io/v1alpha1/namespaces/{namespace}/baremetalhosts
    • DELETE: delete collection of BareMetalHost
    • GET: list objects of kind BareMetalHost
    • POST: create a BareMetalHost
  • /apis/metal3.io/v1alpha1/namespaces/{namespace}/baremetalhosts/{name}
    • DELETE: delete a BareMetalHost
    • GET: read the specified BareMetalHost
    • PATCH: partially update the specified BareMetalHost
    • PUT: replace the specified BareMetalHost
  • /apis/metal3.io/v1alpha1/namespaces/{namespace}/baremetalhosts/{name}/status
    • GET: read status of the specified BareMetalHost
    • PATCH: partially update status of the specified BareMetalHost
    • PUT: replace status of the specified BareMetalHost

/apis/metal3.io/v1alpha1/baremetalhosts

HTTP method
`GET`
Description
list objects of kind BareMetalHost

HTTP responses

HTTP codeReponse body
200 - OKBareMetalHostList schema
401 - UnauthorizedEmpty

/apis/metal3.io/v1alpha1/namespaces/{namespace}/baremetalhosts

HTTP method
`DELETE`
Description
delete collection of BareMetalHost

HTTP responses

HTTP codeReponse body
200 - OKStatus schema
401 - UnauthorizedEmpty
HTTP method
`GET`
Description
list objects of kind BareMetalHost

HTTP responses

HTTP codeReponse body
200 - OKBareMetalHostList schema
401 - UnauthorizedEmpty
HTTP method
`POST`
Description
create a BareMetalHost

Query parameters

ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.

Body parameters

ParameterTypeDescription
bodyBareMetalHost schema

HTTP responses

HTTP codeReponse body
200 - OKBareMetalHost schema
201 - CreatedBareMetalHost schema
202 - AcceptedBareMetalHost schema
401 - UnauthorizedEmpty

/apis/metal3.io/v1alpha1/namespaces/{namespace}/baremetalhosts/{name}

Global path parameters

ParameterTypeDescription
namestringname of the BareMetalHost
HTTP method
`DELETE`
Description
delete a BareMetalHost

Query parameters

ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed

HTTP responses

HTTP codeReponse body
200 - OKStatus schema
202 - AcceptedStatus schema
401 - UnauthorizedEmpty
HTTP method
`GET`
Description
read the specified BareMetalHost

HTTP responses

HTTP codeReponse body
200 - OKBareMetalHost schema
401 - UnauthorizedEmpty
HTTP method
`PATCH`
Description
partially update the specified BareMetalHost

Query parameters

ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.

HTTP responses

HTTP codeReponse body
200 - OKBareMetalHost schema
401 - UnauthorizedEmpty
HTTP method
`PUT`
Description
replace the specified BareMetalHost

Query parameters

ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.

Body parameters

ParameterTypeDescription
bodyBareMetalHost schema

HTTP responses

HTTP codeReponse body
200 - OKBareMetalHost schema
201 - CreatedBareMetalHost schema
401 - UnauthorizedEmpty

/apis/metal3.io/v1alpha1/namespaces/{namespace}/baremetalhosts/{name}/status

Global path parameters

ParameterTypeDescription
namestringname of the BareMetalHost
HTTP method
`GET`
Description
read status of the specified BareMetalHost

HTTP responses

HTTP codeReponse body
200 - OKBareMetalHost schema
401 - UnauthorizedEmpty
HTTP method
`PATCH`
Description
partially update status of the specified BareMetalHost

Query parameters

ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.

HTTP responses

HTTP codeReponse body
200 - OKBareMetalHost schema
401 - UnauthorizedEmpty
HTTP method
`PUT`
Description
replace status of the specified BareMetalHost

Query parameters

ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.

Body parameters

ParameterTypeDescription
bodyBareMetalHost schema

HTTP responses

HTTP codeReponse body
200 - OKBareMetalHost schema
201 - CreatedBareMetalHost schema
401 - UnauthorizedEmpty