Returns the specified Libvirt machine
GET/v1/cloudconfigs/libvirt/:configUid/machinePools/:machinePoolName/machines/:machineUid
Returns the specified Libvirt machine
Request
Path Parameters
Cluster's cloud config uid
Machine pool name
Machine uid
Header Parameters
Scope the request to the specified project uid
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
- Array [
- ]
metadata object
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
annotations object
Annotations are system generated key value metadata for the resource. As an input certain annotations like description can be set
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
labels object
Labels are key value data to organize and categorize resources. Providing spectro__tag as value for a label is considered as a kubernetes compliant tag
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Name of the resource
UID is the unique identifier generated for the resource. This is not an input field for any request.
Populated by the system. Read-only.
spec object
libvirt cloud VM definition spec
disks object[]
DataStoragePool is the storage pool from which additional disks are assigned
Managed indicates if the disk is a persistent or not. By default its false indicating all disks are ephemeral.
SizeInGB is the target size in GB of the disk to be added
instanceType object
LibvirtInstanceType defines the instance configuration for a virtual machine
cpuPassthroughSpec object
Defines CPU Passthrough Spec. A not null value enables CPU Passthrough for the libvirt domain. Further cache passthrough can be enabled with the CPU passthrough spec.
Enables the CPU Passthrough for the libvirt domain
CPUSet defines cpuset for an instance which allows allocation specific set of cpus E.g cpuset="1-4,^3,6" See https://libvirt.org/formatdomain.html#cpu-allocation
gpuConfig object
GPU configuration
addresses object
Addresses is a map of PCI device entry name to its addresses. Example entry would be "11:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1eb1] (rev a1)"- > 0000_11_00_0" The address is BDF (Bus Device Function) identifier format seperated by underscores. The first 4 bits are almost always 0000. In the above example 11 is Bus, 00 is Device,0 is function. The values of these addreses are expected in hexadecimal format
DeviceModel is the model of GPU, for a given vendor, for eg., TU104GL [Tesla T4]
NumGPUs is the number of GPUs
VendorName is the GPU vendor, for eg., NVIDIA or AMD
MemoryinMB is the memory in megabytes
NumCPUs is the number of CPUs
nics object[]
status object
cloud machine status
health object
Machine health state
conditions object[]
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Possible values: [Pending
, Provisioning
, Provisioned
, Running
, Deleting
, Deleted
, Failed
, Unknown
]
maintenanceStatus object
Machine maintenance status
{
"kind": "string",
"metadata": {
"annotations": {},
"creationTimestamp": "2023-12-01T21:31:48.347Z",
"deletionTimestamp": "2023-12-01T21:31:48.347Z",
"labels": {},
"lastModifiedTimestamp": "2023-12-01T21:31:48.347Z",
"name": "string",
"uid": "string"
},
"spec": {
"disks": [
{
"dataStoragePool": "string",
"managed": true,
"sizeInGB": 0
}
],
"edgeHostUid": "string",
"failureDomain": "string",
"imageName": "string",
"instanceType": {
"cpuPassthroughSpec": {
"cachePassthrough": true,
"isEnabled": true
},
"cpuset": "string",
"gpuConfig": {
"addresses": {},
"deviceModel": "string",
"numGPUs": 0,
"vendorName": "string"
},
"memoryInMB": 0,
"numCPUs": 0
},
"nics": [
{
"index": 0,
"macAddress": "string",
"privateIPs": [
"string"
]
}
],
"targetStoragePool": "string"
},
"status": {
"health": {
"conditions": [
{
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"lastHeartBeatTimestamp": "2023-12-01T21:31:48.348Z",
"state": "string"
},
"instanceState": "Pending",
"maintenanceStatus": {
"action": "string",
"message": "string",
"state": "string"
}
}
}