Create a Virtual Machine
POST/apis/kubevirt.io/v1/namespaces/{namespace:[a-z0-9][a-z0-9\-]*}/virtualmachines
Create a VirtualMachine object.
Request
Path Parameters
Object name and auth scope, such as for teams and projects
- application/json
- application/yaml
Body
required
- Array [
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
- Array [
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
metadata object
spec objectrequired
dataVolumeTemplates object[]
metadata object
spec objectrequired
checkpoints object[]
pvc object
dataSource object
dataSourceRef object
resources object
limits object
Default value: [object Object]
requests object
Default value: [object Object]
selector object
matchExpressions object[]
matchLabels object
source object
http object
imageio object
pvc object
registry object
s3 object
vddk object
sourceRef object
storage object
dataSource object
resources object
limits object
Default value: [object Object]
requests object
Default value: [object Object]
selector object
matchExpressions object[]
matchLabels object
flavor object
preference object
template objectrequired
metadata object
spec object
accessCredentials object[]
sshPublicKey object
propagationMethod objectrequired
qemuGuestAgent object
source objectrequired
secret object
userPassword object
propagationMethod objectrequired
source objectrequired
secret object
affinity object
nodeAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
preference objectrequired
matchExpressions object[]
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
matchFields object[]
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
Default value: 0
requiredDuringSchedulingIgnoredDuringExecution object
nodeSelectorTerms object[]required
matchExpressions object[]
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
matchFields object[]
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
podAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
podAffinityTerm objectrequired
labelSelector object
matchExpressions object[]
matchLabels object
namespaceSelector object
matchExpressions object[]
matchLabels object
Default value: 0
requiredDuringSchedulingIgnoredDuringExecution object[]
labelSelector object
matchExpressions object[]
matchLabels object
namespaceSelector object
matchExpressions object[]
matchLabels object
podAntiAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
podAffinityTerm objectrequired
labelSelector object
matchExpressions object[]
matchLabels object
namespaceSelector object
matchExpressions object[]
matchLabels object
Default value: 0
requiredDuringSchedulingIgnoredDuringExecution object[]
labelSelector object
matchExpressions object[]
matchLabels object
namespaceSelector object
matchExpressions object[]
matchLabels object
dnsConfig object
options object[]
Possible values: [ClusterFirst
, ClusterFirstWithHostNet
, Default
, None
]
domain objectrequired
chassis object
clock object
timer object
hpet object
hyperv object
kvm object
pit object
rtc object
utc object
cpu object
features object[]
numa object
realtime object
devices objectrequired
disks object[]
blockSize object
custom object
Default value: 0
Default value: 0
matchVolume object
cdrom object
disk object
lun object
filesystems object[]
gpus object[]
virtualGPUOptions object
display object
ramFB object
hostDevices object[]
inputs object[]
interfaces object[]
dhcpOptions object
privateOptions object[]
Default value: 0
ports object[]
Default value: 0
sound object
watchdog object
i6300esb object
features object
acpi object
apic object
hyperv object
evmcs object
frequencies object
ipi object
reenlightenment object
relaxed object
reset object
runtime object
spinlocks object
synic object
synictimer object
direct object
tlbflush object
vapic object
vendorid object
vpindex object
kvm object
pvspinlock object
smm object
firmware object
bootloader object
bios object
efi object
kernelBoot object
container object
Possible values: [Always
, IfNotPresent
, Never
]
launchSecurity object
machine object
memory object
hugepages object
resources object
limits object
Default value: [object Object]
requests object
Default value: [object Object]
livenessProbe object
exec object
httpGet object
httpHeaders object[]
Default value: [object Object]
Possible values: [HTTP
, HTTPS
]
tcpSocket object
Default value: [object Object]
networks object[]
multus object
pod object
nodeSelector object
readinessProbe object
exec object
httpGet object
httpHeaders object[]
Default value: [object Object]
Possible values: [HTTP
, HTTPS
]
tcpSocket object
Default value: [object Object]
tolerations object[]
Possible values: [NoExecute
, NoSchedule
, PreferNoSchedule
]
Possible values: [Equal
, Exists
]
volumes object[]
cloudInitConfigDrive object
networkDataSecretRef object
secretRef object
cloudInitNoCloud object
networkDataSecretRef object
secretRef object
configMap object
containerDisk object
Possible values: [Always
, IfNotPresent
, Never
]
dataVolume object
downwardAPI object
fields object[]
fieldRef object
resourceFieldRef object
Default value: [object Object]
emptyDisk object
Default value: [object Object]
ephemeral object
persistentVolumeClaim object
hostDisk object
Default value: [object Object]
memoryDump object
persistentVolumeClaim object
secret object
serviceAccount object
sysprep object
configMap object
secret object
status object
conditions object[]
memoryDumpRequest object
startFailure object
stateChangeRequests object[]
data object
volumeRequests object[]
addVolumeOptions object
disk objectrequired
blockSize object
custom object
Default value: 0
Default value: 0
matchVolume object
cdrom object
disk object
lun object
volumeSource objectrequired
dataVolume object
persistentVolumeClaim object
removeVolumeOptions object
volumeSnapshotStatuses object[]
Body
required
- Array [
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
- Array [
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
metadata object
spec objectrequired
dataVolumeTemplates object[]
metadata object
spec objectrequired
checkpoints object[]
pvc object
dataSource object
dataSourceRef object
resources object
limits object
Default value: [object Object]
requests object
Default value: [object Object]
selector object
matchExpressions object[]
matchLabels object
source object
http object
imageio object
pvc object
registry object
s3 object
vddk object
sourceRef object
storage object
dataSource object
resources object
limits object
Default value: [object Object]
requests object
Default value: [object Object]
selector object
matchExpressions object[]
matchLabels object
flavor object
preference object
template objectrequired
metadata object
spec object
accessCredentials object[]
sshPublicKey object
propagationMethod objectrequired
qemuGuestAgent object
source objectrequired
secret object
userPassword object
propagationMethod objectrequired
source objectrequired
secret object
affinity object
nodeAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
preference objectrequired
matchExpressions object[]
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
matchFields object[]
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
Default value: 0
requiredDuringSchedulingIgnoredDuringExecution object
nodeSelectorTerms object[]required
matchExpressions object[]
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
matchFields object[]
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
podAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
podAffinityTerm objectrequired
labelSelector object
matchExpressions object[]
matchLabels object
namespaceSelector object
matchExpressions object[]
matchLabels object
Default value: 0
requiredDuringSchedulingIgnoredDuringExecution object[]
labelSelector object
matchExpressions object[]
matchLabels object
namespaceSelector object
matchExpressions object[]
matchLabels object
podAntiAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
podAffinityTerm objectrequired
labelSelector object
matchExpressions object[]
matchLabels object
namespaceSelector object
matchExpressions object[]
matchLabels object
Default value: 0
requiredDuringSchedulingIgnoredDuringExecution object[]
labelSelector object
matchExpressions object[]
matchLabels object
namespaceSelector object
matchExpressions object[]
matchLabels object
dnsConfig object
options object[]
Possible values: [ClusterFirst
, ClusterFirstWithHostNet
, Default
, None
]
domain objectrequired
chassis object
clock object
timer object
hpet object
hyperv object
kvm object
pit object
rtc object
utc object
cpu object
features object[]
numa object
realtime object
devices objectrequired
disks object[]
blockSize object
custom object
Default value: 0
Default value: 0
matchVolume object
cdrom object
disk object
lun object
filesystems object[]
gpus object[]
virtualGPUOptions object
display object
ramFB object
hostDevices object[]
inputs object[]
interfaces object[]
dhcpOptions object
privateOptions object[]
Default value: 0
ports object[]
Default value: 0
sound object
watchdog object
i6300esb object
features object
acpi object
apic object
hyperv object
evmcs object
frequencies object
ipi object
reenlightenment object
relaxed object
reset object
runtime object
spinlocks object
synic object
synictimer object
direct object
tlbflush object
vapic object
vendorid object
vpindex object
kvm object
pvspinlock object
smm object
firmware object
bootloader object
bios object
efi object
kernelBoot object
container object
Possible values: [Always
, IfNotPresent
, Never
]
launchSecurity object
machine object
memory object
hugepages object
resources object
limits object
Default value: [object Object]
requests object
Default value: [object Object]
livenessProbe object
exec object
httpGet object
httpHeaders object[]
Default value: [object Object]
Possible values: [HTTP
, HTTPS
]
tcpSocket object
Default value: [object Object]
networks object[]
multus object
pod object
nodeSelector object
readinessProbe object
exec object
httpGet object
httpHeaders object[]
Default value: [object Object]
Possible values: [HTTP
, HTTPS
]
tcpSocket object
Default value: [object Object]
tolerations object[]
Possible values: [NoExecute
, NoSchedule
, PreferNoSchedule
]
Possible values: [Equal
, Exists
]
volumes object[]
cloudInitConfigDrive object
networkDataSecretRef object
secretRef object
cloudInitNoCloud object
networkDataSecretRef object
secretRef object
configMap object
containerDisk object
Possible values: [Always
, IfNotPresent
, Never
]
dataVolume object
downwardAPI object
fields object[]
fieldRef object
resourceFieldRef object
Default value: [object Object]
emptyDisk object
Default value: [object Object]
ephemeral object
persistentVolumeClaim object
hostDisk object
Default value: [object Object]
memoryDump object
persistentVolumeClaim object
secret object
serviceAccount object
sysprep object
configMap object
secret object
status object
conditions object[]
memoryDumpRequest object
startFailure object
stateChangeRequests object[]
data object
volumeRequests object[]
addVolumeOptions object
disk objectrequired
blockSize object
custom object
Default value: 0
Default value: 0
matchVolume object
cdrom object
disk object
lun object
volumeSource objectrequired
dataVolume object
persistentVolumeClaim object
removeVolumeOptions object
volumeSnapshotStatuses object[]
Responses
- 200
- 201
- 202
- 401
OK
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
- Array [
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
metadata object
spec objectrequired
dataVolumeTemplates object[]
metadata object
spec objectrequired
checkpoints object[]
pvc object
dataSource object
dataSourceRef object
resources object
limits object
Default value: [object Object]
requests object
Default value: [object Object]
selector object
matchExpressions object[]
matchLabels object
source object
http object
imageio object
pvc object
registry object
s3 object
vddk object
sourceRef object
storage object
dataSource object
resources object
limits object
Default value: [object Object]
requests object
Default value: [object Object]
selector object
matchExpressions object[]
matchLabels object
flavor object
preference object
template objectrequired
metadata object
spec object
accessCredentials object[]
sshPublicKey object
propagationMethod objectrequired
qemuGuestAgent object
source objectrequired
secret object
userPassword object
propagationMethod objectrequired
source objectrequired
secret object
affinity object
nodeAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
preference objectrequired
matchExpressions object[]
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
matchFields object[]
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
Default value: 0
requiredDuringSchedulingIgnoredDuringExecution object
nodeSelectorTerms object[]required
matchExpressions object[]
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
matchFields object[]
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
podAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
podAffinityTerm objectrequired
labelSelector object
matchExpressions object[]
matchLabels object
namespaceSelector object
matchExpressions object[]
matchLabels object
Default value: 0
requiredDuringSchedulingIgnoredDuringExecution object[]
labelSelector object
matchExpressions object[]
matchLabels object
namespaceSelector object
matchExpressions object[]
matchLabels object
podAntiAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
podAffinityTerm objectrequired
labelSelector object
matchExpressions object[]
matchLabels object
namespaceSelector object
matchExpressions object[]
matchLabels object
Default value: 0
requiredDuringSchedulingIgnoredDuringExecution object[]
labelSelector object
matchExpressions object[]
matchLabels object
namespaceSelector object
matchExpressions object[]
matchLabels object
dnsConfig object
options object[]
Possible values: [ClusterFirst
, ClusterFirstWithHostNet
, Default
, None
]
domain objectrequired
chassis object
clock object
timer object
hpet object
hyperv object
kvm object
pit object
rtc object
utc object
cpu object
features object[]
numa object
realtime object
devices objectrequired
disks object[]
blockSize object
custom object
Default value: 0
Default value: 0
matchVolume object
cdrom object
disk object
lun object
filesystems object[]
gpus object[]
virtualGPUOptions object
display object
ramFB object
hostDevices object[]
inputs object[]
interfaces object[]
dhcpOptions object
privateOptions object[]
Default value: 0
ports object[]
Default value: 0
sound object
watchdog object
i6300esb object
features object
acpi object
apic object
hyperv object
evmcs object
frequencies object
ipi object
reenlightenment object
relaxed object
reset object
runtime object
spinlocks object
synic object
synictimer object
direct object
tlbflush object
vapic object
vendorid object
vpindex object
kvm object
pvspinlock object
smm object
firmware object
bootloader object
bios object
efi object
kernelBoot object
container object
Possible values: [Always
, IfNotPresent
, Never
]
launchSecurity object
machine object
memory object
hugepages object
resources object
limits object
Default value: [object Object]
requests object
Default value: [object Object]
livenessProbe object
exec object
httpGet object
httpHeaders object[]
Default value: [object Object]
Possible values: [HTTP
, HTTPS
]
tcpSocket object
Default value: [object Object]
networks object[]
multus object
pod object
nodeSelector object
readinessProbe object
exec object
httpGet object
httpHeaders object[]
Default value: [object Object]
Possible values: [HTTP
, HTTPS
]
tcpSocket object
Default value: [object Object]
tolerations object[]
Possible values: [NoExecute
, NoSchedule
, PreferNoSchedule
]
Possible values: [Equal
, Exists
]
volumes object[]
cloudInitConfigDrive object
networkDataSecretRef object
secretRef object
cloudInitNoCloud object
networkDataSecretRef object
secretRef object
configMap object
containerDisk object
Possible values: [Always
, IfNotPresent
, Never
]
dataVolume object
downwardAPI object
fields object[]
fieldRef object
resourceFieldRef object
Default value: [object Object]
emptyDisk object
Default value: [object Object]
ephemeral object
persistentVolumeClaim object
hostDisk object
Default value: [object Object]
memoryDump object
persistentVolumeClaim object
secret object
serviceAccount object
sysprep object
configMap object
secret object
status object
conditions object[]
memoryDumpRequest object
startFailure object
stateChangeRequests object[]
data object
volumeRequests object[]
addVolumeOptions object
disk objectrequired
blockSize object
custom object
Default value: 0
Default value: 0
matchVolume object
cdrom object
disk object
lun object
volumeSource objectrequired
dataVolume object
persistentVolumeClaim object
removeVolumeOptions object
volumeSnapshotStatuses object[]
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"dataVolumeTemplates": [
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"checkpoints": [
{
"current": "string",
"previous": "string"
}
],
"contentType": "string",
"finalCheckpoint": true,
"preallocation": true,
"priorityClassName": "string",
"pvc": {
"accessModes": [
"string"
],
"dataSource": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"dataSourceRef": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"resources": {
"limits": {},
"requests": {}
},
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"storageClassName": "string",
"volumeMode": "string",
"volumeName": "string"
},
"source": {
"blank": {},
"http": {
"certConfigMap": "string",
"extraHeaders": [
"string"
],
"secretExtraHeaders": [
"string"
],
"secretRef": "string",
"url": "string"
},
"imageio": {
"certConfigMap": "string",
"diskId": "string",
"secretRef": "string",
"url": "string"
},
"pvc": {
"name": "string",
"namespace": "string"
},
"registry": {
"certConfigMap": "string",
"imageStream": "string",
"pullMethod": "string",
"secretRef": "string",
"url": "string"
},
"s3": {
"certConfigMap": "string",
"secretRef": "string",
"url": "string"
},
"upload": {},
"vddk": {
"backingFile": "string",
"initImageURL": "string",
"secretRef": "string",
"thumbprint": "string",
"url": "string",
"uuid": "string"
}
},
"sourceRef": {
"kind": "string",
"name": "string",
"namespace": "string"
},
"storage": {
"accessModes": [
"string"
],
"dataSource": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"resources": {
"limits": {},
"requests": {}
},
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"storageClassName": "string",
"volumeMode": "string",
"volumeName": "string"
}
},
"status": {}
}
],
"flavor": {
"kind": "string",
"name": "string"
},
"preference": {
"kind": "string",
"name": "string"
},
"runStrategy": "string",
"running": true,
"template": {
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"accessCredentials": [
{
"sshPublicKey": {
"propagationMethod": {
"configDrive": {},
"qemuGuestAgent": {
"users": [
"string"
]
}
},
"source": {
"secret": {
"secretName": "string"
}
}
},
"userPassword": {
"propagationMethod": {
"qemuGuestAgent": {}
},
"source": {
"secret": {
"secretName": "string"
}
}
}
}
],
"affinity": {
"nodeAffinity": {
"preferredDuringSchedulingIgnoredDuringExecution": [
{
"preference": {
"matchExpressions": [
{
"key": "string",
"operator": "DoesNotExist",
"values": [
"string"
]
}
],
"matchFields": [
{
"key": "string",
"operator": "DoesNotExist",
"values": [
"string"
]
}
]
},
"weight": 0
}
],
"requiredDuringSchedulingIgnoredDuringExecution": {
"nodeSelectorTerms": [
{
"matchExpressions": [
{
"key": "string",
"operator": "DoesNotExist",
"values": [
"string"
]
}
],
"matchFields": [
{
"key": "string",
"operator": "DoesNotExist",
"values": [
"string"
]
}
]
}
]
}
},
"podAffinity": {
"preferredDuringSchedulingIgnoredDuringExecution": [
{
"podAffinityTerm": {
"labelSelector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"namespaceSelector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"namespaces": [
"string"
],
"topologyKey": "string"
},
"weight": 0
}
],
"requiredDuringSchedulingIgnoredDuringExecution": [
{
"labelSelector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"namespaceSelector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"namespaces": [
"string"
],
"topologyKey": "string"
}
]
},
"podAntiAffinity": {
"preferredDuringSchedulingIgnoredDuringExecution": [
{
"podAffinityTerm": {
"labelSelector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"namespaceSelector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"namespaces": [
"string"
],
"topologyKey": "string"
},
"weight": 0
}
],
"requiredDuringSchedulingIgnoredDuringExecution": [
{
"labelSelector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"namespaceSelector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"namespaces": [
"string"
],
"topologyKey": "string"
}
]
}
},
"dnsConfig": {
"nameservers": [
"string"
],
"options": [
{
"name": "string",
"value": "string"
}
],
"searches": [
"string"
]
},
"dnsPolicy": "ClusterFirst",
"domain": {
"chassis": {
"asset": "string",
"manufacturer": "string",
"serial": "string",
"sku": "string",
"version": "string"
},
"clock": {
"timer": {
"hpet": {
"present": true,
"tickPolicy": "string"
},
"hyperv": {
"present": true
},
"kvm": {
"present": true
},
"pit": {
"present": true,
"tickPolicy": "string"
},
"rtc": {
"present": true,
"tickPolicy": "string",
"track": "string"
}
},
"timezone": "string",
"utc": {
"offsetSeconds": 0
}
},
"cpu": {
"cores": 0,
"dedicatedCpuPlacement": true,
"features": [
{
"name": "string",
"policy": "string"
}
],
"isolateEmulatorThread": true,
"model": "string",
"numa": {
"guestMappingPassthrough": {}
},
"realtime": {
"mask": "string"
},
"sockets": 0,
"threads": 0
},
"devices": {
"autoattachGraphicsDevice": true,
"autoattachMemBalloon": true,
"autoattachPodInterface": true,
"autoattachSerialConsole": true,
"blockMultiQueue": true,
"clientPassthrough": {},
"disableHotplug": true,
"disks": [
{
"blockSize": {
"custom": {
"logical": 0,
"physical": 0
},
"matchVolume": {
"enabled": true
}
},
"bootOrder": 0,
"cache": "string",
"cdrom": {
"bus": "string",
"readonly": true,
"tray": "string"
},
"dedicatedIOThread": true,
"disk": {
"bus": "string",
"pciAddress": "string",
"readonly": true
},
"io": "string",
"lun": {
"bus": "string",
"readonly": true
},
"name": "string",
"serial": "string",
"shareable": true,
"tag": "string"
}
],
"filesystems": [
{
"name": "string",
"virtiofs": {}
}
],
"gpus": [
{
"deviceName": "string",
"name": "string",
"tag": "string",
"virtualGPUOptions": {
"display": {
"enabled": true,
"ramFB": {
"enabled": true
}
}
}
}
],
"hostDevices": [
{
"deviceName": "string",
"name": "string",
"tag": "string"
}
],
"inputs": [
{
"bus": "string",
"name": "string",
"type": "string"
}
],
"interfaces": [
{
"bootOrder": 0,
"bridge": {},
"dhcpOptions": {
"bootFileName": "string",
"ntpServers": [
"string"
],
"privateOptions": [
{
"option": 0,
"value": "string"
}
],
"tftpServerName": "string"
},
"macAddress": "string",
"macvtap": {},
"masquerade": {},
"model": "string",
"name": "string",
"pciAddress": "string",
"ports": [
{
"name": "string",
"port": 0,
"protocol": "string"
}
],
"slirp": {},
"sriov": {},
"tag": "string"
}
],
"networkInterfaceMultiqueue": true,
"rng": {},
"sound": {
"model": "string",
"name": "string"
},
"tpm": {},
"useVirtioTransitional": true,
"watchdog": {
"i6300esb": {
"action": "string"
},
"name": "string"
}
},
"features": {
"acpi": {
"enabled": true
},
"apic": {
"enabled": true,
"endOfInterrupt": true
},
"hyperv": {
"evmcs": {
"enabled": true
},
"frequencies": {
"enabled": true
},
"ipi": {
"enabled": true
},
"reenlightenment": {
"enabled": true
},
"relaxed": {
"enabled": true
},
"reset": {
"enabled": true
},
"runtime": {
"enabled": true
},
"spinlocks": {
"enabled": true,
"spinlocks": 0
},
"synic": {
"enabled": true
},
"synictimer": {
"direct": {
"enabled": true
},
"enabled": true
},
"tlbflush": {
"enabled": true
},
"vapic": {
"enabled": true
},
"vendorid": {
"enabled": true,
"vendorid": "string"
},
"vpindex": {
"enabled": true
}
},
"kvm": {
"hidden": true
},
"pvspinlock": {
"enabled": true
},
"smm": {
"enabled": true
}
},
"firmware": {
"bootloader": {
"bios": {
"useSerial": true
},
"efi": {
"secureBoot": true
}
},
"kernelBoot": {
"container": {
"image": "string",
"imagePullPolicy": "Always",
"imagePullSecret": "string",
"initrdPath": "string",
"kernelPath": "string"
},
"kernelArgs": "string"
},
"serial": "string",
"uuid": "string"
},
"ioThreadsPolicy": "string",
"launchSecurity": {
"sev": {}
},
"machine": {
"type": "string"
},
"memory": {
"guest": "string",
"hugepages": {
"pageSize": "string"
}
},
"resources": {
"limits": {},
"overcommitGuestOverhead": true,
"requests": {}
}
},
"evictionStrategy": "string",
"hostname": "string",
"livenessProbe": {
"exec": {
"command": [
"string"
]
},
"failureThreshold": 0,
"guestAgentPing": {},
"httpGet": {
"host": "string",
"httpHeaders": [
{
"name": "string",
"value": "string"
}
],
"path": "string",
"port": {},
"scheme": "HTTP"
},
"initialDelaySeconds": 0,
"periodSeconds": 0,
"successThreshold": 0,
"tcpSocket": {
"host": "string",
"port": {}
},
"timeoutSeconds": 0
},
"networks": [
{
"multus": {
"default": true,
"networkName": "string"
},
"name": "string",
"pod": {
"vmIPv6NetworkCIDR": "string",
"vmNetworkCIDR": "string"
}
}
],
"nodeSelector": {},
"priorityClassName": "string",
"readinessProbe": {
"exec": {
"command": [
"string"
]
},
"failureThreshold": 0,
"guestAgentPing": {},
"httpGet": {
"host": "string",
"httpHeaders": [
{
"name": "string",
"value": "string"
}
],
"path": "string",
"port": {},
"scheme": "HTTP"
},
"initialDelaySeconds": 0,
"periodSeconds": 0,
"successThreshold": 0,
"tcpSocket": {
"host": "string",
"port": {}
},
"timeoutSeconds": 0
},
"schedulerName": "string",
"startStrategy": "string",
"subdomain": "string",
"terminationGracePeriodSeconds": 0,
"tolerations": [
{
"effect": "NoExecute",
"key": "string",
"operator": "Equal",
"tolerationSeconds": 0,
"value": "string"
}
],
"volumes": [
{
"cloudInitConfigDrive": {
"networkData": "string",
"networkDataBase64": "string",
"networkDataSecretRef": {
"name": "string"
},
"secretRef": {
"name": "string"
},
"userData": "string",
"userDataBase64": "string"
},
"cloudInitNoCloud": {
"networkData": "string",
"networkDataBase64": "string",
"networkDataSecretRef": {
"name": "string"
},
"secretRef": {
"name": "string"
},
"userData": "string",
"userDataBase64": "string"
},
"configMap": {
"name": "string",
"optional": true,
"volumeLabel": "string"
},
"containerDisk": {
"image": "string",
"imagePullPolicy": "Always",
"imagePullSecret": "string",
"path": "string"
},
"dataVolume": {
"hotpluggable": true,
"name": "string"
},
"downwardAPI": {
"fields": [
{
"fieldRef": {
"apiVersion": "string",
"fieldPath": "string"
},
"mode": 0,
"path": "string",
"resourceFieldRef": {
"containerName": "string",
"divisor": {},
"resource": "string"
}
}
],
"volumeLabel": "string"
},
"downwardMetrics": {},
"emptyDisk": {
"capacity": {}
},
"ephemeral": {
"persistentVolumeClaim": {
"claimName": "string",
"readOnly": true
}
},
"hostDisk": {
"capacity": {},
"path": "string",
"shared": true,
"type": "string"
},
"memoryDump": {
"claimName": "string",
"hotpluggable": true,
"readOnly": true
},
"name": "string",
"persistentVolumeClaim": {
"claimName": "string",
"hotpluggable": true,
"readOnly": true
},
"secret": {
"optional": true,
"secretName": "string",
"volumeLabel": "string"
},
"serviceAccount": {
"serviceAccountName": "string"
},
"sysprep": {
"configMap": {
"name": "string"
},
"secret": {
"name": "string"
}
}
}
]
}
}
},
"status": {
"conditions": [
{
"lastProbeTime": "string",
"lastTransitionTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"created": true,
"memoryDumpRequest": {
"claimName": "string",
"endTimestamp": "string",
"fileName": "string",
"message": "string",
"phase": "string",
"startTimestamp": "string"
},
"printableStatus": "string",
"ready": true,
"restoreInProgress": "string",
"snapshotInProgress": "string",
"startFailure": {
"consecutiveFailCount": 0,
"lastFailedVMIUID": "string",
"retryAfterTimestamp": "string"
},
"stateChangeRequests": [
{
"action": "string",
"data": {},
"uid": "string"
}
],
"volumeRequests": [
{
"addVolumeOptions": {
"disk": {
"blockSize": {
"custom": {
"logical": 0,
"physical": 0
},
"matchVolume": {
"enabled": true
}
},
"bootOrder": 0,
"cache": "string",
"cdrom": {
"bus": "string",
"readonly": true,
"tray": "string"
},
"dedicatedIOThread": true,
"disk": {
"bus": "string",
"pciAddress": "string",
"readonly": true
},
"io": "string",
"lun": {
"bus": "string",
"readonly": true
},
"name": "string",
"serial": "string",
"shareable": true,
"tag": "string"
},
"dryRun": [
"string"
],
"name": "string",
"volumeSource": {
"dataVolume": {
"hotpluggable": true,
"name": "string"
},
"persistentVolumeClaim": {
"claimName": "string",
"hotpluggable": true,
"readOnly": true
}
}
},
"removeVolumeOptions": {
"dryRun": [
"string"
],
"name": "string"
}
}
],
"volumeSnapshotStatuses": [
{
"enabled": false,
"name": "string",
"reason": "string"
}
]
}
}
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
metadata object
spec objectrequired
dataVolumeTemplates object[]
metadata object
spec objectrequired
checkpoints object[]
pvc object
dataSource object
dataSourceRef object
resources object
limits object
Default value: [object Object]
requests object
Default value: [object Object]