Read a Virtual Machine Instance
GET/apis/kubevirt.io/v1/namespaces/{namespace:[a-z0-9][a-z0-9\-]*}/virtualmachineinstances/{name:[a-z0-9][a-z0-9\-]*}
Get a VirtualMachineInstance object.
Request
Path Parameters
Name of the resource
Object name and auth scope, such as for teams and projects
Query Parameters
Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
Should this value be exported. Export strips fields that a user can not specify.
Responses
- 200
- 401
OK
- application/json
- application/yaml
- application/json;stream=watch
- 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 [
- ]
metadata object
spec objectrequired
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
activePods object
conditions object[]
guestOSInfo object
interfaces object[]
migrationState object
migrationConfiguration object
targetDirectMigrationNodePorts object
Default value: 0
phaseTransitionTimestamps object[]
Default value: 0
topologyHints object
volumeStatus object[]
hotplugVolume object
memoryDumpVolume object
persistentVolumeClaimInfo object
capacity object
Default value: [object Object]
requests object
Default value: [object Object]
{
"apiVersion": "string",
"kind": "string",
"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": {
"activePods": {},
"conditions": [
{
"lastProbeTime": "string",
"lastTransitionTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"evacuationNodeName": "string",
"fsFreezeStatus": "string",
"guestOSInfo": {
"id": "string",
"kernelRelease": "string",
"kernelVersion": "string",
"machine": "string",
"name": "string",
"prettyName": "string",
"version": "string",
"versionId": "string"
},
"interfaces": [
{
"infoSource": "string",
"interfaceName": "string",
"ipAddress": "string",
"ipAddresses": [
"string"
],
"mac": "string",
"name": "string"
}
],
"launcherContainerImageVersion": "string",
"migrationMethod": "string",
"migrationState": {
"abortRequested": true,
"abortStatus": "string",
"completed": true,
"endTimestamp": "string",
"failed": true,
"migrationConfiguration": {
"allowAutoConverge": true,
"allowPostCopy": true,
"bandwidthPerMigration": "string",
"completionTimeoutPerGiB": 0,
"disableTLS": true,
"network": "string",
"nodeDrainTaintKey": "string",
"parallelMigrationsPerCluster": 0,
"parallelOutboundMigrationsPerNode": 0,
"progressTimeout": 0,
"unsafeMigrationOverride": true
},
"migrationPolicyName": "string",
"migrationUid": "string",
"mode": "string",
"sourceNode": "string",
"startTimestamp": "string",
"targetAttachmentPodUID": "string",
"targetCPUSet": [
0
],
"targetDirectMigrationNodePorts": {},
"targetNode": "string",
"targetNodeAddress": "string",
"targetNodeDomainDetected": true,
"targetNodeTopology": "string",
"targetPod": "string"
},
"migrationTransport": "string",
"nodeName": "string",
"phase": "string",
"phaseTransitionTimestamps": [
{
"phase": "string",
"phaseTransitionTimestamp": "string"
}
],
"qosClass": "string",
"reason": "string",
"runtimeUser": 0,
"topologyHints": {
"tscFrequency": 0
},
"virtualMachineRevisionName": "string",
"volumeStatus": [
{
"hotplugVolume": {
"attachPodName": "string",
"attachPodUID": "string"
},
"memoryDumpVolume": {
"claimName": "string",
"endTimestamp": "string",
"startTimestamp": "string",
"targetFileName": "string"
},
"message": "string",
"name": "string",
"persistentVolumeClaimInfo": {
"accessModes": [
"string"
],
"capacity": {},
"filesystemOverhead": "string",
"preallocated": true,
"requests": {},
"volumeMode": "string"
},
"phase": "string",
"reason": "string",
"size": 0,
"target": "string"
}
]
}
}
- 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 [
- ]
metadata object
spec objectrequired
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
activePods object
conditions object[]
guestOSInfo object
interfaces object[]
migrationState object
migrationConfiguration object
targetDirectMigrationNodePorts object
Default value: 0
phaseTransitionTimestamps object[]
Default value: 0
topologyHints object
volumeStatus object[]
hotplugVolume object
memoryDumpVolume object
persistentVolumeClaimInfo object
capacity object
Default value: [object Object]
requests object
Default value: [object Object]
{
"apiVersion": "string",
"kind": "string",
"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": {
"activePods": {},
"conditions": [
{
"lastProbeTime": "string",
"lastTransitionTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"evacuationNodeName": "string",
"fsFreezeStatus": "string",
"guestOSInfo": {
"id": "string",
"kernelRelease": "string",
"kernelVersion": "string",
"machine": "string",
"name": "string",
"prettyName": "string",
"version": "string",
"versionId": "string"
},
"interfaces": [
{
"infoSource": "string",
"interfaceName": "string",
"ipAddress": "string",
"ipAddresses": [
"string"
],
"mac": "string",
"name": "string"
}
],
"launcherContainerImageVersion": "string",
"migrationMethod": "string",
"migrationState": {
"abortRequested": true,
"abortStatus": "string",
"completed": true,
"endTimestamp": "string",
"failed": true,
"migrationConfiguration": {
"allowAutoConverge": true,
"allowPostCopy": true,
"bandwidthPerMigration": "string",
"completionTimeoutPerGiB": 0,
"disableTLS": true,
"network": "string",
"nodeDrainTaintKey": "string",
"parallelMigrationsPerCluster": 0,
"parallelOutboundMigrationsPerNode": 0,
"progressTimeout": 0,
"unsafeMigrationOverride": true
},
"migrationPolicyName": "string",
"migrationUid": "string",
"mode": "string",
"sourceNode": "string",
"startTimestamp": "string",
"targetAttachmentPodUID": "string",
"targetCPUSet": [
0
],
"targetDirectMigrationNodePorts": {},
"targetNode": "string",
"targetNodeAddress": "string",
"targetNodeDomainDetected": true,
"targetNodeTopology": "string",
"targetPod": "string"
},
"migrationTransport": "string",
"nodeName": "string",
"phase": "string",
"phaseTransitionTimestamps": [
{
"phase": "string",
"phaseTransitionTimestamp": "string"
}
],
"qosClass": "string",
"reason": "string",
"runtimeUser": 0,
"topologyHints": {
"tscFrequency": 0
},
"virtualMachineRevisionName": "string",
"volumeStatus": [
{
"hotplugVolume": {
"attachPodName": "string",
"attachPodUID": "string"
},
"memoryDumpVolume": {
"claimName": "string",
"endTimestamp": "string",
"startTimestamp": "string",
"targetFileName": "string"
},
"message": "string",
"name": "string",
"persistentVolumeClaimInfo": {
"accessModes": [
"string"
],
"capacity": {},
"filesystemOverhead": "string",
"preallocated": true,
"requests": {},
"volumeMode": "string"
},
"phase": "string",
"reason": "string",
"size": 0,
"target": "string"
}
]
}
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
metadata object
spec objectrequired
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