List Virtual Machine Instances For All Namespaces
GET/apis/kubevirt.io/v1/virtualmachineinstances
Get a list of all VirtualMachineInstance objects.
Request
Query Parameters
The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
A selector to restrict the list of returned objects by their fields. Defaults to everything.
If true, partially initialized resources are included in the response.
A selector to restrict the list of returned objects by their labels. Defaults to everything
limit is a maximum number of responses to return for a list call. If more items exist, the server will set the continue
field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.
The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.
TimeoutSeconds for the list/watch call.
Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
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 [
- ]
- Array [
- ]
- ]
items object[]required
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]
metadata object
{
"apiVersion": "string",
"items": [
{
"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"
}
]
}
}
],
"kind": "string",
"metadata": {
"continue": "string",
"remainingItemCount": 0,
"resourceVersion": "string",
"selfLink": "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 [
- ]
- Array [
- ]
- ]
items object[]required
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]
metadata object
{
"apiVersion": "string",
"items": [
{
"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"
}
]
}
}
],
"kind": "string",
"metadata": {
"continue": "string",
"remainingItemCount": 0,
"resourceVersion": "string",
"selfLink": "string"
}
}
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
items object[]required
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
]