Replace a Namespaced Virtual Machine Template Version
PUT /apis/harvesterhci.io/v1beta1/namespaces/:namespace/virtualmachinetemplateversions/:name
Update a VirtualMachineTemplateVersion object.
Request
Path Parameters
name stringrequired
Possible values: Value must match regular expression [a-z0-9][a-z0-9\-]*
Name of the resource
namespace stringrequired
Possible values: Value must match regular expression [a-z0-9][a-z0-9\-]*
Object name and auth scope, such as for teams and projects
- application/json
- application/yaml
Body
required
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
description string
imageId string
keyPairIds string[]
templateId stringrequired
vm object
metadata object
name stringrequired
namespace string
spec object
dataVolumeTemplates object[]
- Array [
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
checkpoints object[]
- Array [
current stringrequired
previous stringrequired
- ]
contentType string
finalCheckpoint boolean
preallocation boolean
priorityClassName string
pvc object
accessModes string[]
dataSource object
apiGroup string
kind stringrequired
name stringrequired
dataSourceRef object
apiGroup string
kind stringrequired
name stringrequired
namespace string
resources object
claims object[]
- Array [
name stringrequired
- ]
limits object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
requests object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
selector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
storageClassName string
volumeMode string
volumeName string
source object
blank object
gcs object
secretRef string
url stringrequired
http object
certConfigMap string
extraHeaders string[]
secretExtraHeaders string[]
secretRef string
url stringrequired
imageio object
certConfigMap string
diskId stringrequired
secretRef string
url stringrequired
pvc object
name stringrequired
namespace stringrequired
registry object
certConfigMap string
imageStream string
pullMethod string
secretRef string
url string
s3 object
certConfigMap string
secretRef string
url stringrequired
snapshot object
name stringrequired
namespace stringrequired
upload object
vddk object
backingFile string
initImageURL string
secretRef string
thumbprint string
url string
uuid string
sourceRef object
kind stringrequired
name stringrequired
namespace string
storage object
accessModes string[]
dataSource object
apiGroup string
kind stringrequired
name stringrequired
dataSourceRef object
apiGroup string
kind stringrequired
name stringrequired
namespace string
resources object
claims object[]
- Array [
name stringrequired
- ]
limits object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
requests object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
selector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
storageClassName string
volumeMode string
volumeName string
status object
- ]
instancetype object
inferFromVolume string
inferFromVolumeFailurePolicy string
kind string
name string
revisionName string
liveUpdateFeatures object
affinity object
cpu object
maxSockets int64
memory object
maxGuest k8s.io.apimachinery.pkg.api.resource.Quantity (string)
preference object
inferFromVolume string
inferFromVolumeFailurePolicy string
kind string
name string
revisionName string
runStrategy string
running boolean
template objectrequired
metadata object
name stringrequired
namespace string
spec object
accessCredentials object[]
- Array [
sshPublicKey object
propagationMethod objectrequired
configDrive object
noCloud object
qemuGuestAgent object
users string[]required
source objectrequired
secret object
secretName stringrequired
userPassword object
propagationMethod objectrequired
qemuGuestAgent object
source objectrequired
secret object
secretName stringrequired
- ]
affinity object
nodeAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
- Array [
preference objectrequired
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
- ]
matchFields object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
- ]
weight int32required
Default value: 0
- ]
requiredDuringSchedulingIgnoredDuringExecution object
nodeSelectorTerms object[]required
- Array [
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
- ]
matchFields object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
]
]
podAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
- Array [
podAffinityTerm objectrequired
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
weight int32required
Default value: 0
- ]
requiredDuringSchedulingIgnoredDuringExecution object[]
- Array [
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
- ]
podAntiAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
- Array [
podAffinityTerm objectrequired
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
weight int32required
Default value: 0
- ]
requiredDuringSchedulingIgnoredDuringExecution object[]
- Array [
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
- ]
architecture string
dnsConfig object
nameservers string[]
options object[]
- Array [
name string
value string
- ]
searches string[]
dnsPolicy string
Possible values: [ClusterFirst
, ClusterFirstWithHostNet
, Default
, None
]
domain objectrequired
chassis object
asset string
manufacturer string
serial string
sku string
version string
clock object
timer object
hpet object
present boolean
tickPolicy string
hyperv object
present boolean
kvm object
present boolean
pit object
present boolean
tickPolicy string
rtc object
present boolean
tickPolicy string
track string
timezone string
utc object
offsetSeconds int32
cpu object
cores int64
dedicatedCpuPlacement boolean
features object[]
- Array [
name stringrequired
policy string
- ]
isolateEmulatorThread boolean
maxSockets int64
model string
numa object
guestMappingPassthrough object
realtime object
mask string
sockets int64
threads int64
devices objectrequired
autoattachGraphicsDevice boolean
autoattachInputDevice boolean
autoattachMemBalloon boolean
autoattachPodInterface boolean
autoattachSerialConsole boolean
autoattachVSOCK boolean
blockMultiQueue boolean
clientPassthrough object
disableHotplug boolean
disks object[]
- Array [
blockSize object
custom object
logical int32required
Default value: 0
physical int32required
Default value: 0
matchVolume object
enabled boolean
bootOrder int32
cache string
cdrom object
bus string
readonly boolean
tray string
dedicatedIOThread boolean
disk object
bus string
pciAddress string
readonly boolean
errorPolicy string
io string
lun object
bus string
readonly boolean
reservation boolean
name stringrequired
serial string
shareable boolean
tag string
- ]
downwardMetrics object
filesystems object[]
- Array [
name stringrequired
virtiofs objectrequired
- ]
gpus object[]
- Array [
deviceName stringrequired
name stringrequired
tag string
virtualGPUOptions object
display object
enabled boolean
ramFB object
enabled boolean
- ]
hostDevices object[]
- Array [
deviceName stringrequired
name stringrequired
tag string
- ]
inputs object[]
- Array [
bus string
name stringrequired
type stringrequired
- ]
interfaces object[]
- Array [
acpiIndex int32
binding object
name stringrequired
bootOrder int32
bridge object
dhcpOptions object
bootFileName string
ntpServers string[]
privateOptions object[]
- Array [
option int32required
Default value: 0
value stringrequired
- ]
tftpServerName string
macAddress string
macvtap object
masquerade object
model string
name stringrequired
passt object
pciAddress string
ports object[]
- Array [
name string
port int32required
Default value: 0
protocol string
- ]
slirp object
sriov object
state string
tag string
- ]
logSerialConsole boolean
networkInterfaceMultiqueue boolean
rng object
sound object
model string
name stringrequired
tpm object
persistent boolean
useVirtioTransitional boolean
watchdog object
i6300esb object
action string
name stringrequired
features object
acpi object
enabled boolean
apic object
enabled boolean
endOfInterrupt boolean
hyperv object
evmcs object
enabled boolean
frequencies object
enabled boolean
ipi object
enabled boolean
reenlightenment object
enabled boolean
relaxed object
enabled boolean
reset object
enabled boolean
runtime object
enabled boolean
spinlocks object
enabled boolean
spinlocks int64
synic object
enabled boolean
synictimer object
direct object
enabled boolean
enabled boolean
tlbflush object
enabled boolean
vapic object
enabled boolean
vendorid object
enabled boolean
vendorid string
vpindex object
enabled boolean
kvm object
hidden boolean
pvspinlock object
enabled boolean
smm object
enabled boolean
firmware object
bootloader object
bios object
useSerial boolean
efi object
persistent boolean
secureBoot boolean
kernelBoot object
container object
image stringrequired
imagePullPolicy string
Possible values: [Always
, IfNotPresent
, Never
]
imagePullSecret string
initrdPath string
kernelPath string
kernelArgs string
serial string
uuid string
ioThreadsPolicy string
launchSecurity object
sev object
attestation object
dhCert string
policy object
encryptedState boolean
session string
machine object
type string
memory object
guest k8s.io.apimachinery.pkg.api.resource.Quantity (string)
hugepages object
pageSize string
maxGuest k8s.io.apimachinery.pkg.api.resource.Quantity (string)
resources object
limits object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
overcommitGuestOverhead boolean
requests object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
evictionStrategy string
hostname string
livenessProbe object
exec object
command string[]
failureThreshold int32
guestAgentPing object
httpGet object
host string
httpHeaders object[]
- Array [
name stringrequired
value stringrequired
- ]
path string
port int-or-stringrequired
Default value: [object Object]
scheme string
Possible values: [HTTP
, HTTPS
]
initialDelaySeconds int32
periodSeconds int32
successThreshold int32
tcpSocket object
host string
port int-or-stringrequired
Default value: [object Object]
timeoutSeconds int32
networks object[]
- Array [
multus object
default boolean
networkName stringrequired
name stringrequired
pod object
vmIPv6NetworkCIDR string
vmNetworkCIDR string
- ]
nodeSelector object
property name* string
priorityClassName string
readinessProbe object
exec object
command string[]
failureThreshold int32
guestAgentPing object
httpGet object
host string
httpHeaders object[]
- Array [
name stringrequired
value stringrequired
- ]
path string
port int-or-stringrequired
Default value: [object Object]
scheme string
Possible values: [HTTP
, HTTPS
]
initialDelaySeconds int32
periodSeconds int32
successThreshold int32
tcpSocket object
host string
port int-or-stringrequired
Default value: [object Object]
timeoutSeconds int32
schedulerName string
startStrategy string
subdomain string
terminationGracePeriodSeconds int64
tolerations object[]
- Array [
effect string
Possible values: [NoExecute
, NoSchedule
, PreferNoSchedule
]
key string
operator string
Possible values: [Equal
, Exists
]
tolerationSeconds int64
value string
- ]
topologySpreadConstraints object[]
- Array [
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
matchLabelKeys string[]
maxSkew int32required
Default value: 0
minDomains int32
nodeAffinityPolicy string
nodeTaintsPolicy string
topologyKey stringrequired
whenUnsatisfiable stringrequired
Possible values: [DoNotSchedule
, ScheduleAnyway
]
- ]
volumes object[]
- Array [
cloudInitConfigDrive object
networkData string
networkDataBase64 string
networkDataSecretRef object
name string
secretRef object
name string
userData string
userDataBase64 string
cloudInitNoCloud object
networkData string
networkDataBase64 string
networkDataSecretRef object
name string
secretRef object
name string
userData string
userDataBase64 string
configMap object
name string
optional boolean
volumeLabel string
containerDisk object
image stringrequired
imagePullPolicy string
Possible values: [Always
, IfNotPresent
, Never
]
imagePullSecret string
path string
dataVolume object
hotpluggable boolean
name stringrequired
downwardAPI object
fields object[]
- Array [
fieldRef object
apiVersion string
fieldPath stringrequired
mode int32
path stringrequired
resourceFieldRef object
containerName string
divisor k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
resource stringrequired
- ]
volumeLabel string
downwardMetrics object
emptyDisk object
capacity k8s.io.apimachinery.pkg.api.resource.Quantity (string)required
Default value: [object Object]
ephemeral object
persistentVolumeClaim object
claimName stringrequired
readOnly boolean
hostDisk object
capacity k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
path stringrequired
shared boolean
type stringrequired
memoryDump object
claimName stringrequired
hotpluggable boolean
readOnly boolean
name stringrequired
persistentVolumeClaim object
claimName stringrequired
hotpluggable boolean
readOnly boolean
secret object
optional boolean
secretName string
volumeLabel string
serviceAccount object
serviceAccountName string
sysprep object
configMap object
name string
secret object
name string
- ]
status object
conditions object[]
- Array [
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
- ]
version int32
Body
required
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
description string
imageId string
keyPairIds string[]
templateId stringrequired
vm object
metadata object
name stringrequired
namespace string
spec object
dataVolumeTemplates object[]
- Array [
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
checkpoints object[]
- Array [
current stringrequired
previous stringrequired
- ]
contentType string
finalCheckpoint boolean
preallocation boolean
priorityClassName string
pvc object
accessModes string[]
dataSource object
apiGroup string
kind stringrequired
name stringrequired
dataSourceRef object
apiGroup string
kind stringrequired
name stringrequired
namespace string
resources object
claims object[]
- Array [
name stringrequired
- ]
limits object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
requests object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
selector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
storageClassName string
volumeMode string
volumeName string
source object
blank object
gcs object
secretRef string
url stringrequired
http object
certConfigMap string
extraHeaders string[]
secretExtraHeaders string[]
secretRef string
url stringrequired
imageio object
certConfigMap string
diskId stringrequired
secretRef string
url stringrequired
pvc object
name stringrequired
namespace stringrequired
registry object
certConfigMap string
imageStream string
pullMethod string
secretRef string
url string
s3 object
certConfigMap string
secretRef string
url stringrequired
snapshot object
name stringrequired
namespace stringrequired
upload object
vddk object
backingFile string
initImageURL string
secretRef string
thumbprint string
url string
uuid string
sourceRef object
kind stringrequired
name stringrequired
namespace string
storage object
accessModes string[]
dataSource object
apiGroup string
kind stringrequired
name stringrequired
dataSourceRef object
apiGroup string
kind stringrequired
name stringrequired
namespace string
resources object
claims object[]
- Array [
name stringrequired
- ]
limits object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
requests object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
selector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
storageClassName string
volumeMode string
volumeName string
status object
- ]
instancetype object
inferFromVolume string
inferFromVolumeFailurePolicy string
kind string
name string
revisionName string
liveUpdateFeatures object
affinity object
cpu object
maxSockets int64
memory object
maxGuest k8s.io.apimachinery.pkg.api.resource.Quantity (string)
preference object
inferFromVolume string
inferFromVolumeFailurePolicy string
kind string
name string
revisionName string
runStrategy string
running boolean
template objectrequired
metadata object
name stringrequired
namespace string
spec object
accessCredentials object[]
- Array [
sshPublicKey object
propagationMethod objectrequired
configDrive object
noCloud object
qemuGuestAgent object
users string[]required
source objectrequired
secret object
secretName stringrequired
userPassword object
propagationMethod objectrequired
qemuGuestAgent object
source objectrequired
secret object
secretName stringrequired
- ]
affinity object
nodeAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
- Array [
preference objectrequired
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
- ]
matchFields object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
- ]
weight int32required
Default value: 0
- ]
requiredDuringSchedulingIgnoredDuringExecution object
nodeSelectorTerms object[]required
- Array [
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
- ]
matchFields object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
]
]
podAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
- Array [
podAffinityTerm objectrequired
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
weight int32required
Default value: 0
- ]
requiredDuringSchedulingIgnoredDuringExecution object[]
- Array [
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
- ]
podAntiAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
- Array [
podAffinityTerm objectrequired
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
weight int32required
Default value: 0
- ]
requiredDuringSchedulingIgnoredDuringExecution object[]
- Array [
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
- ]
architecture string
dnsConfig object
nameservers string[]
options object[]
- Array [
name string
value string
- ]
searches string[]
dnsPolicy string
Possible values: [ClusterFirst
, ClusterFirstWithHostNet
, Default
, None
]
domain objectrequired
chassis object
asset string
manufacturer string
serial string
sku string
version string
clock object
timer object
hpet object
present boolean
tickPolicy string
hyperv object
present boolean
kvm object
present boolean
pit object
present boolean
tickPolicy string
rtc object
present boolean
tickPolicy string
track string
timezone string
utc object
offsetSeconds int32
cpu object
cores int64
dedicatedCpuPlacement boolean
features object[]
- Array [
name stringrequired
policy string
- ]
isolateEmulatorThread boolean
maxSockets int64
model string
numa object
guestMappingPassthrough object
realtime object
mask string
sockets int64
threads int64
devices objectrequired
autoattachGraphicsDevice boolean
autoattachInputDevice boolean
autoattachMemBalloon boolean
autoattachPodInterface boolean
autoattachSerialConsole boolean
autoattachVSOCK boolean
blockMultiQueue boolean
clientPassthrough object
disableHotplug boolean
disks object[]
- Array [
blockSize object
custom object
logical int32required
Default value: 0
physical int32required
Default value: 0
matchVolume object
enabled boolean
bootOrder int32
cache string
cdrom object
bus string
readonly boolean
tray string
dedicatedIOThread boolean
disk object
bus string
pciAddress string
readonly boolean
errorPolicy string
io string
lun object
bus string
readonly boolean
reservation boolean
name stringrequired
serial string
shareable boolean
tag string
- ]
downwardMetrics object
filesystems object[]
- Array [
name stringrequired
virtiofs objectrequired
- ]
gpus object[]
- Array [
deviceName stringrequired
name stringrequired
tag string
virtualGPUOptions object
display object
enabled boolean
ramFB object
enabled boolean
- ]
hostDevices object[]
- Array [
deviceName stringrequired
name stringrequired
tag string
- ]
inputs object[]
- Array [
bus string
name stringrequired
type stringrequired
- ]
interfaces object[]
- Array [
acpiIndex int32
binding object
name stringrequired
bootOrder int32
bridge object
dhcpOptions object
bootFileName string
ntpServers string[]
privateOptions object[]
- Array [
option int32required
Default value: 0
value stringrequired
- ]
tftpServerName string
macAddress string
macvtap object
masquerade object
model string
name stringrequired
passt object
pciAddress string
ports object[]
- Array [
name string
port int32required
Default value: 0
protocol string
- ]
slirp object
sriov object
state string
tag string
- ]
logSerialConsole boolean
networkInterfaceMultiqueue boolean
rng object
sound object
model string
name stringrequired
tpm object
persistent boolean
useVirtioTransitional boolean
watchdog object
i6300esb object
action string
name stringrequired
features object
acpi object
enabled boolean
apic object
enabled boolean
endOfInterrupt boolean
hyperv object
evmcs object
enabled boolean
frequencies object
enabled boolean
ipi object
enabled boolean
reenlightenment object
enabled boolean
relaxed object
enabled boolean
reset object
enabled boolean
runtime object
enabled boolean
spinlocks object
enabled boolean
spinlocks int64
synic object
enabled boolean
synictimer object
direct object
enabled boolean
enabled boolean
tlbflush object
enabled boolean
vapic object
enabled boolean
vendorid object
enabled boolean
vendorid string
vpindex object
enabled boolean
kvm object
hidden boolean
pvspinlock object
enabled boolean
smm object
enabled boolean
firmware object
bootloader object
bios object
useSerial boolean
efi object
persistent boolean
secureBoot boolean
kernelBoot object
container object
image stringrequired
imagePullPolicy string
Possible values: [Always
, IfNotPresent
, Never
]
imagePullSecret string
initrdPath string
kernelPath string
kernelArgs string
serial string
uuid string
ioThreadsPolicy string
launchSecurity object
sev object
attestation object
dhCert string
policy object
encryptedState boolean
session string
machine object
type string
memory object
guest k8s.io.apimachinery.pkg.api.resource.Quantity (string)
hugepages object
pageSize string
maxGuest k8s.io.apimachinery.pkg.api.resource.Quantity (string)
resources object
limits object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
overcommitGuestOverhead boolean
requests object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
evictionStrategy string
hostname string
livenessProbe object
exec object
command string[]
failureThreshold int32
guestAgentPing object
httpGet object
host string
httpHeaders object[]
- Array [
name stringrequired
value stringrequired
- ]
path string
port int-or-stringrequired
Default value: [object Object]
scheme string
Possible values: [HTTP
, HTTPS
]
initialDelaySeconds int32
periodSeconds int32
successThreshold int32
tcpSocket object
host string
port int-or-stringrequired
Default value: [object Object]
timeoutSeconds int32
networks object[]
- Array [
multus object
default boolean
networkName stringrequired
name stringrequired
pod object
vmIPv6NetworkCIDR string
vmNetworkCIDR string
- ]
nodeSelector object
property name* string
priorityClassName string
readinessProbe object
exec object
command string[]
failureThreshold int32
guestAgentPing object
httpGet object
host string
httpHeaders object[]
- Array [
name stringrequired
value stringrequired
- ]
path string
port int-or-stringrequired
Default value: [object Object]
scheme string
Possible values: [HTTP
, HTTPS
]
initialDelaySeconds int32
periodSeconds int32
successThreshold int32
tcpSocket object
host string
port int-or-stringrequired
Default value: [object Object]
timeoutSeconds int32
schedulerName string
startStrategy string
subdomain string
terminationGracePeriodSeconds int64
tolerations object[]
- Array [
effect string
Possible values: [NoExecute
, NoSchedule
, PreferNoSchedule
]
key string
operator string
Possible values: [Equal
, Exists
]
tolerationSeconds int64
value string
- ]
topologySpreadConstraints object[]
- Array [
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
matchLabelKeys string[]
maxSkew int32required
Default value: 0
minDomains int32
nodeAffinityPolicy string
nodeTaintsPolicy string
topologyKey stringrequired
whenUnsatisfiable stringrequired
Possible values: [DoNotSchedule
, ScheduleAnyway
]
- ]
volumes object[]
- Array [
cloudInitConfigDrive object
networkData string
networkDataBase64 string
networkDataSecretRef object
name string
secretRef object
name string
userData string
userDataBase64 string
cloudInitNoCloud object
networkData string
networkDataBase64 string
networkDataSecretRef object
name string
secretRef object
name string
userData string
userDataBase64 string
configMap object
name string
optional boolean
volumeLabel string
containerDisk object
image stringrequired
imagePullPolicy string
Possible values: [Always
, IfNotPresent
, Never
]
imagePullSecret string
path string
dataVolume object
hotpluggable boolean
name stringrequired
downwardAPI object
fields object[]
- Array [
fieldRef object
apiVersion string
fieldPath stringrequired
mode int32
path stringrequired
resourceFieldRef object
containerName string
divisor k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
resource stringrequired
- ]
volumeLabel string
downwardMetrics object
emptyDisk object
capacity k8s.io.apimachinery.pkg.api.resource.Quantity (string)required
Default value: [object Object]
ephemeral object
persistentVolumeClaim object
claimName stringrequired
readOnly boolean
hostDisk object
capacity k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
path stringrequired
shared boolean
type stringrequired
memoryDump object
claimName stringrequired
hotpluggable boolean
readOnly boolean
name stringrequired
persistentVolumeClaim object
claimName stringrequired
hotpluggable boolean
readOnly boolean
secret object
optional boolean
secretName string
volumeLabel string
serviceAccount object
serviceAccountName string
sysprep object
configMap object
name string
secret object
name string
- ]
status object
conditions object[]
- Array [
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
- ]
version int32
Responses
- 200
- 201
- 401
OK
- application/json
application/yaml
Schema
- Example (from schema)
Schema
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
description string
imageId string
keyPairIds string[]
templateId stringrequired
vm object
metadata object
name stringrequired
namespace string
spec object
dataVolumeTemplates object[]
- Array [
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
checkpoints object[]
- Array [
current stringrequired
previous stringrequired
- ]
contentType string
finalCheckpoint boolean
preallocation boolean
priorityClassName string
pvc object
accessModes string[]
dataSource object
apiGroup string
kind stringrequired
name stringrequired
dataSourceRef object
apiGroup string
kind stringrequired
name stringrequired
namespace string
resources object
claims object[]
- Array [
name stringrequired
- ]
limits object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
requests object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
selector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
storageClassName string
volumeMode string
volumeName string
source object
blank object
gcs object
secretRef string
url stringrequired
http object
certConfigMap string
extraHeaders string[]
secretExtraHeaders string[]
secretRef string
url stringrequired
imageio object
certConfigMap string
diskId stringrequired
secretRef string
url stringrequired
pvc object
name stringrequired
namespace stringrequired
registry object
certConfigMap string
imageStream string
pullMethod string
secretRef string
url string
s3 object
certConfigMap string
secretRef string
url stringrequired
snapshot object
name stringrequired
namespace stringrequired
upload object
vddk object
backingFile string
initImageURL string
secretRef string
thumbprint string
url string
uuid string
sourceRef object
kind stringrequired
name stringrequired
namespace string
storage object
accessModes string[]
dataSource object
apiGroup string
kind stringrequired
name stringrequired
dataSourceRef object
apiGroup string
kind stringrequired
name stringrequired
namespace string
resources object
claims object[]
- Array [
name stringrequired
- ]
limits object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
requests object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
selector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
storageClassName string
volumeMode string
volumeName string
status object
- ]
instancetype object
inferFromVolume string
inferFromVolumeFailurePolicy string
kind string
name string
revisionName string
liveUpdateFeatures object
affinity object
cpu object
maxSockets int64
memory object
maxGuest k8s.io.apimachinery.pkg.api.resource.Quantity (string)
preference object
inferFromVolume string
inferFromVolumeFailurePolicy string
kind string
name string
revisionName string
runStrategy string
running boolean
template objectrequired
metadata object
name stringrequired
namespace string
spec object
accessCredentials object[]
- Array [
sshPublicKey object
propagationMethod objectrequired
configDrive object
noCloud object
qemuGuestAgent object
users string[]required
source objectrequired
secret object
secretName stringrequired
userPassword object
propagationMethod objectrequired
qemuGuestAgent object
source objectrequired
secret object
secretName stringrequired
- ]
affinity object
nodeAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
- Array [
preference objectrequired
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
- ]
matchFields object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
- ]
weight int32required
Default value: 0
- ]
requiredDuringSchedulingIgnoredDuringExecution object
nodeSelectorTerms object[]required
- Array [
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
- ]
matchFields object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
]
]
podAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
- Array [
podAffinityTerm objectrequired
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
weight int32required
Default value: 0
- ]
requiredDuringSchedulingIgnoredDuringExecution object[]
- Array [
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
- ]
podAntiAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
- Array [
podAffinityTerm objectrequired
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
weight int32required
Default value: 0
- ]
requiredDuringSchedulingIgnoredDuringExecution object[]
- Array [
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
- ]
architecture string
dnsConfig object
nameservers string[]
options object[]
- Array [
name string
value string
- ]
searches string[]
dnsPolicy string
Possible values: [ClusterFirst
, ClusterFirstWithHostNet
, Default
, None
]
domain objectrequired
chassis object
asset string
manufacturer string
serial string
sku string
version string
clock object
timer object
hpet object
present boolean
tickPolicy string
hyperv object
present boolean
kvm object
present boolean
pit object
present boolean
tickPolicy string
rtc object
present boolean
tickPolicy string
track string
timezone string
utc object
offsetSeconds int32
cpu object
cores int64
dedicatedCpuPlacement boolean
features object[]
- Array [
name stringrequired
policy string
- ]
isolateEmulatorThread boolean
maxSockets int64
model string
numa object
guestMappingPassthrough object
realtime object
mask string
sockets int64
threads int64
devices objectrequired
autoattachGraphicsDevice boolean
autoattachInputDevice boolean
autoattachMemBalloon boolean
autoattachPodInterface boolean
autoattachSerialConsole boolean
autoattachVSOCK boolean
blockMultiQueue boolean
clientPassthrough object
disableHotplug boolean
disks object[]
- Array [
blockSize object
custom object
logical int32required
Default value: 0
physical int32required
Default value: 0
matchVolume object
enabled boolean
bootOrder int32
cache string
cdrom object
bus string
readonly boolean
tray string
dedicatedIOThread boolean
disk object
bus string
pciAddress string
readonly boolean
errorPolicy string
io string
lun object
bus string
readonly boolean
reservation boolean
name stringrequired
serial string
shareable boolean
tag string
- ]
downwardMetrics object
filesystems object[]
- Array [
name stringrequired
virtiofs objectrequired
- ]
gpus object[]
- Array [
deviceName stringrequired
name stringrequired
tag string
virtualGPUOptions object
display object
enabled boolean
ramFB object
enabled boolean
- ]
hostDevices object[]
- Array [
deviceName stringrequired
name stringrequired
tag string
- ]
inputs object[]
- Array [
bus string
name stringrequired
type stringrequired
- ]
interfaces object[]
- Array [
acpiIndex int32
binding object
name stringrequired
bootOrder int32
bridge object
dhcpOptions object
bootFileName string
ntpServers string[]
privateOptions object[]
- Array [
option int32required
Default value: 0
value stringrequired
- ]
tftpServerName string
macAddress string
macvtap object
masquerade object
model string
name stringrequired
passt object
pciAddress string
ports object[]
- Array [
name string
port int32required
Default value: 0
protocol string
- ]
slirp object
sriov object
state string
tag string
- ]
logSerialConsole boolean
networkInterfaceMultiqueue boolean
rng object
sound object
model string
name stringrequired
tpm object
persistent boolean
useVirtioTransitional boolean
watchdog object
i6300esb object
action string
name stringrequired
features object
acpi object
enabled boolean
apic object
enabled boolean
endOfInterrupt boolean
hyperv object
evmcs object
enabled boolean
frequencies object
enabled boolean
ipi object
enabled boolean
reenlightenment object
enabled boolean
relaxed object
enabled boolean
reset object
enabled boolean
runtime object
enabled boolean
spinlocks object
enabled boolean
spinlocks int64
synic object
enabled boolean
synictimer object
direct object
enabled boolean
enabled boolean
tlbflush object
enabled boolean
vapic object
enabled boolean
vendorid object
enabled boolean
vendorid string
vpindex object
enabled boolean
kvm object
hidden boolean
pvspinlock object
enabled boolean
smm object
enabled boolean
firmware object
bootloader object
bios object
useSerial boolean
efi object
persistent boolean
secureBoot boolean
kernelBoot object
container object
image stringrequired
imagePullPolicy string
Possible values: [Always
, IfNotPresent
, Never
]
imagePullSecret string
initrdPath string
kernelPath string
kernelArgs string
serial string
uuid string
ioThreadsPolicy string
launchSecurity object
sev object
attestation object
dhCert string
policy object
encryptedState boolean
session string
machine object
type string
memory object
guest k8s.io.apimachinery.pkg.api.resource.Quantity (string)
hugepages object
pageSize string
maxGuest k8s.io.apimachinery.pkg.api.resource.Quantity (string)
resources object
limits object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
overcommitGuestOverhead boolean
requests object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
evictionStrategy string
hostname string
livenessProbe object
exec object
command string[]
failureThreshold int32
guestAgentPing object
httpGet object
host string
httpHeaders object[]
- Array [
name stringrequired
value stringrequired
- ]
path string
port int-or-stringrequired
Default value: [object Object]
scheme string
Possible values: [HTTP
, HTTPS
]
initialDelaySeconds int32
periodSeconds int32
successThreshold int32
tcpSocket object
host string
port int-or-stringrequired
Default value: [object Object]
timeoutSeconds int32
networks object[]
- Array [
multus object
default boolean
networkName stringrequired
name stringrequired
pod object
vmIPv6NetworkCIDR string
vmNetworkCIDR string
- ]
nodeSelector object
property name* string
priorityClassName string
readinessProbe object
exec object
command string[]
failureThreshold int32
guestAgentPing object
httpGet object
host string
httpHeaders object[]
- Array [
name stringrequired
value stringrequired
- ]
path string
port int-or-stringrequired
Default value: [object Object]
scheme string
Possible values: [HTTP
, HTTPS
]
initialDelaySeconds int32
periodSeconds int32
successThreshold int32
tcpSocket object
host string
port int-or-stringrequired
Default value: [object Object]
timeoutSeconds int32
schedulerName string
startStrategy string
subdomain string
terminationGracePeriodSeconds int64
tolerations object[]
- Array [
effect string
Possible values: [NoExecute
, NoSchedule
, PreferNoSchedule
]
key string
operator string
Possible values: [Equal
, Exists
]
tolerationSeconds int64
value string
- ]
topologySpreadConstraints object[]
- Array [
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
matchLabelKeys string[]
maxSkew int32required
Default value: 0
minDomains int32
nodeAffinityPolicy string
nodeTaintsPolicy string
topologyKey stringrequired
whenUnsatisfiable stringrequired
Possible values: [DoNotSchedule
, ScheduleAnyway
]
- ]
volumes object[]
- Array [
cloudInitConfigDrive object
networkData string
networkDataBase64 string
networkDataSecretRef object
name string
secretRef object
name string
userData string
userDataBase64 string
cloudInitNoCloud object
networkData string
networkDataBase64 string
networkDataSecretRef object
name string
secretRef object
name string
userData string
userDataBase64 string
configMap object
name string
optional boolean
volumeLabel string
containerDisk object
image stringrequired
imagePullPolicy string
Possible values: [Always
, IfNotPresent
, Never
]
imagePullSecret string
path string
dataVolume object
hotpluggable boolean
name stringrequired
downwardAPI object
fields object[]
- Array [
fieldRef object
apiVersion string
fieldPath stringrequired
mode int32
path stringrequired
resourceFieldRef object
containerName string
divisor k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
resource stringrequired
- ]
volumeLabel string
downwardMetrics object
emptyDisk object
capacity k8s.io.apimachinery.pkg.api.resource.Quantity (string)required
Default value: [object Object]
ephemeral object
persistentVolumeClaim object
claimName stringrequired
readOnly boolean
hostDisk object
capacity k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
path stringrequired
shared boolean
type stringrequired
memoryDump object
claimName stringrequired
hotpluggable boolean
readOnly boolean
name stringrequired
persistentVolumeClaim object
claimName stringrequired
hotpluggable boolean
readOnly boolean
secret object
optional boolean
secretName string
volumeLabel string
serviceAccount object
serviceAccountName string
sysprep object
configMap object
name string
secret object
name string
- ]
status object
conditions object[]
- Array [
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
- ]
version int32
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"description": "string",
"imageId": "string",
"keyPairIds": [
"string"
],
"templateId": "string",
"vm": {
"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",
"namespace": "string"
},
"resources": {
"claims": [
{
"name": "string"
}
],
"limits": {},
"requests": {}
},
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"storageClassName": "string",
"volumeMode": "string",
"volumeName": "string"
},
"source": {
"blank": {},
"gcs": {
"secretRef": "string",
"url": "string"
},
"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"
},
"snapshot": {
"name": "string",
"namespace": "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"
},
"dataSourceRef": {
"apiGroup": "string",
"kind": "string",
"name": "string",
"namespace": "string"
},
"resources": {
"claims": [
{
"name": "string"
}
],
"limits": {},
"requests": {}
},
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"storageClassName": "string",
"volumeMode": "string",
"volumeName": "string"
}
},
"status": {}
}
],
"instancetype": {
"inferFromVolume": "string",
"inferFromVolumeFailurePolicy": "string",
"kind": "string",
"name": "string",
"revisionName": "string"
},
"liveUpdateFeatures": {
"affinity": {},
"cpu": {
"maxSockets": 0
},
"memory": {
"maxGuest": "string"
}
},
"preference": {
"inferFromVolume": "string",
"inferFromVolumeFailurePolicy": "string",
"kind": "string",
"name": "string",
"revisionName": "string"
},
"runStrategy": "string",
"running": true,
"template": {
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"accessCredentials": [
{
"sshPublicKey": {
"propagationMethod": {
"configDrive": {},
"noCloud": {},
"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"
}
]
}
},
"architecture": "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,
"maxSockets": 0,
"model": "string",
"numa": {
"guestMappingPassthrough": {}
},
"realtime": {
"mask": "string"
},
"sockets": 0,
"threads": 0
},
"devices": {
"autoattachGraphicsDevice": true,
"autoattachInputDevice": true,
"autoattachMemBalloon": true,
"autoattachPodInterface": true,
"autoattachSerialConsole": true,
"autoattachVSOCK": 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
},
"errorPolicy": "string",
"io": "string",
"lun": {
"bus": "string",
"readonly": true,
"reservation": true
},
"name": "string",
"serial": "string",
"shareable": true,
"tag": "string"
}
],
"downwardMetrics": {},
"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": [
{
"acpiIndex": 0,
"binding": {
"name": "string"
},
"bootOrder": 0,
"bridge": {},
"dhcpOptions": {
"bootFileName": "string",
"ntpServers": [
"string"
],
"privateOptions": [
{
"option": 0,
"value": "string"
}
],
"tftpServerName": "string"
},
"macAddress": "string",
"macvtap": {},
"masquerade": {},
"model": "string",
"name": "string",
"passt": {},
"pciAddress": "string",
"ports": [
{
"name": "string",
"port": 0,
"protocol": "string"
}
],
"slirp": {},
"sriov": {},
"state": "string",
"tag": "string"
}
],
"logSerialConsole": true,
"networkInterfaceMultiqueue": true,
"rng": {},
"sound": {
"model": "string",
"name": "string"
},
"tpm": {
"persistent": true
},
"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": {
"persistent": true,
"secureBoot": true
}
},
"kernelBoot": {
"container": {
"image": "string",
"imagePullPolicy": "Always",
"imagePullSecret": "string",
"initrdPath": "string",
"kernelPath": "string"
},
"kernelArgs": "string"
},
"serial": "string",
"uuid": "string"
},
"ioThreadsPolicy": "string",
"launchSecurity": {
"sev": {
"attestation": {},
"dhCert": "string",
"policy": {
"encryptedState": true
},
"session": "string"
}
},
"machine": {
"type": "string"
},
"memory": {
"guest": "string",
"hugepages": {
"pageSize": "string"
},
"maxGuest": "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"
}
],
"topologySpreadConstraints": [
{
"labelSelector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"matchLabelKeys": [
"string"
],
"maxSkew": 0,
"minDomains": 0,
"nodeAffinityPolicy": "string",
"nodeTaintsPolicy": "string",
"topologyKey": "string",
"whenUnsatisfiable": "DoNotSchedule"
}
],
"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": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"version": 0
}
}
- Schema
- Example (from schema)
Schema
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
description string
imageId string
keyPairIds string[]
templateId stringrequired
vm object
metadata object
name stringrequired
namespace string
spec object
dataVolumeTemplates object[]
- Array [
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
checkpoints object[]
- Array [
current stringrequired
previous stringrequired
- ]
contentType string
finalCheckpoint boolean
preallocation boolean
priorityClassName string
pvc object
accessModes string[]
dataSource object
apiGroup string
kind stringrequired
name stringrequired
dataSourceRef object
apiGroup string
kind stringrequired
name stringrequired
namespace string
resources object
claims object[]
- Array [
name stringrequired
- ]
limits object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
requests object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
selector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
storageClassName string
volumeMode string
volumeName string
source object
blank object
gcs object
secretRef string
url stringrequired
http object
certConfigMap string
extraHeaders string[]
secretExtraHeaders string[]
secretRef string
url stringrequired
imageio object
certConfigMap string
diskId stringrequired
secretRef string
url stringrequired
pvc object
name stringrequired
namespace stringrequired
registry object
certConfigMap string
imageStream string
pullMethod string
secretRef string
url string
s3 object
certConfigMap string
secretRef string
url stringrequired
snapshot object
name stringrequired
namespace stringrequired
upload object
vddk object
backingFile string
initImageURL string
secretRef string
thumbprint string
url string
uuid string
sourceRef object
kind stringrequired
name stringrequired
namespace string
storage object
accessModes string[]
dataSource object
apiGroup string
kind stringrequired
name stringrequired
dataSourceRef object
apiGroup string
kind stringrequired
name stringrequired
namespace string
resources object
claims object[]
- Array [
name stringrequired
- ]
limits object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
requests object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
selector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
storageClassName string
volumeMode string
volumeName string
status object
- ]
instancetype object
inferFromVolume string
inferFromVolumeFailurePolicy string
kind string
name string
revisionName string
liveUpdateFeatures object
affinity object
cpu object
maxSockets int64
memory object
maxGuest k8s.io.apimachinery.pkg.api.resource.Quantity (string)
preference object
inferFromVolume string
inferFromVolumeFailurePolicy string
kind string
name string
revisionName string
runStrategy string
running boolean
template objectrequired
metadata object
name stringrequired
namespace string
spec object
accessCredentials object[]
- Array [
sshPublicKey object
propagationMethod objectrequired
configDrive object
noCloud object
qemuGuestAgent object
users string[]required
source objectrequired
secret object
secretName stringrequired
userPassword object
propagationMethod objectrequired
qemuGuestAgent object
source objectrequired
secret object
secretName stringrequired
- ]
affinity object
nodeAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
- Array [
preference objectrequired
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
- ]
matchFields object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
- ]
weight int32required
Default value: 0
- ]
requiredDuringSchedulingIgnoredDuringExecution object
nodeSelectorTerms object[]required
- Array [
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
- ]
matchFields object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
]
]
podAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
- Array [
podAffinityTerm objectrequired
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
weight int32required
Default value: 0
- ]
requiredDuringSchedulingIgnoredDuringExecution object[]
- Array [
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
- ]
podAntiAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
- Array [
podAffinityTerm objectrequired
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
weight int32required
Default value: 0
- ]
requiredDuringSchedulingIgnoredDuringExecution object[]
- Array [
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
- ]
architecture string
dnsConfig object
nameservers string[]
options object[]
- Array [
name string
value string
- ]
searches string[]
dnsPolicy string
Possible values: [ClusterFirst
, ClusterFirstWithHostNet
, Default
, None
]
domain objectrequired
chassis object
asset string
manufacturer string
serial string
sku string
version string
clock object
timer object
hpet object
present boolean
tickPolicy string
hyperv object
present boolean
kvm object
present boolean
pit object
present boolean
tickPolicy string
rtc object
present boolean
tickPolicy string
track string
timezone string
utc object
offsetSeconds int32
cpu object
cores int64
dedicatedCpuPlacement boolean
features object[]
- Array [
name stringrequired
policy string
- ]
isolateEmulatorThread boolean
maxSockets int64
model string
numa object
guestMappingPassthrough object
realtime object
mask string
sockets int64
threads int64
devices objectrequired
autoattachGraphicsDevice boolean
autoattachInputDevice boolean
autoattachMemBalloon boolean
autoattachPodInterface boolean
autoattachSerialConsole boolean
autoattachVSOCK boolean
blockMultiQueue boolean
clientPassthrough object
disableHotplug boolean
disks object[]
- Array [
blockSize object
custom object
logical int32required
Default value: 0
physical int32required
Default value: 0
matchVolume object
enabled boolean
bootOrder int32
cache string
cdrom object
bus string
readonly boolean
tray string
dedicatedIOThread boolean
disk object
bus string
pciAddress string
readonly boolean
errorPolicy string
io string
lun object
bus string
readonly boolean
reservation boolean
name stringrequired
serial string
shareable boolean
tag string
- ]
downwardMetrics object
filesystems object[]
- Array [
name stringrequired
virtiofs objectrequired
- ]
gpus object[]
- Array [
deviceName stringrequired
name stringrequired
tag string
virtualGPUOptions object
display object
enabled boolean
ramFB object
enabled boolean
- ]
hostDevices object[]
- Array [
deviceName stringrequired
name stringrequired
tag string
- ]
inputs object[]
- Array [
bus string
name stringrequired
type stringrequired
- ]
interfaces object[]
- Array [
acpiIndex int32
binding object
name stringrequired
bootOrder int32
bridge object
dhcpOptions object
bootFileName string
ntpServers string[]
privateOptions object[]
- Array [
option int32required
Default value: 0
value stringrequired
- ]
tftpServerName string
macAddress string
macvtap object
masquerade object
model string
name stringrequired
passt object
pciAddress string
ports object[]
- Array [
name string
port int32required
Default value: 0
protocol string
- ]
slirp object
sriov object
state string
tag string
- ]
logSerialConsole boolean
networkInterfaceMultiqueue boolean
rng object
sound object
model string
name stringrequired
tpm object
persistent boolean
useVirtioTransitional boolean
watchdog object
i6300esb object
action string
name stringrequired
features object
acpi object
enabled boolean
apic object
enabled boolean
endOfInterrupt boolean
hyperv object
evmcs object
enabled boolean
frequencies object
enabled boolean
ipi object
enabled boolean
reenlightenment object
enabled boolean
relaxed object
enabled boolean
reset object
enabled boolean
runtime object
enabled boolean
spinlocks object
enabled boolean
spinlocks int64
synic object
enabled boolean
synictimer object
direct object
enabled boolean
enabled boolean
tlbflush object
enabled boolean
vapic object
enabled boolean
vendorid object
enabled boolean
vendorid string
vpindex object
enabled boolean
kvm object
hidden boolean
pvspinlock object
enabled boolean
smm object
enabled boolean
firmware object
bootloader object
bios object
useSerial boolean
efi object
persistent boolean
secureBoot boolean
kernelBoot object
container object
image stringrequired
imagePullPolicy string
Possible values: [Always
, IfNotPresent
, Never
]
imagePullSecret string
initrdPath string
kernelPath string
kernelArgs string
serial string
uuid string
ioThreadsPolicy string
launchSecurity object
sev object
attestation object
dhCert string
policy object
encryptedState boolean
session string
machine object
type string
memory object
guest k8s.io.apimachinery.pkg.api.resource.Quantity (string)
hugepages object
pageSize string
maxGuest k8s.io.apimachinery.pkg.api.resource.Quantity (string)
resources object
limits object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
overcommitGuestOverhead boolean
requests object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
evictionStrategy string
hostname string
livenessProbe object
exec object
command string[]
failureThreshold int32
guestAgentPing object
httpGet object
host string
httpHeaders object[]
- Array [
name stringrequired
value stringrequired
- ]
path string
port int-or-stringrequired
Default value: [object Object]
scheme string
Possible values: [HTTP
, HTTPS
]
initialDelaySeconds int32
periodSeconds int32
successThreshold int32
tcpSocket object
host string
port int-or-stringrequired
Default value: [object Object]
timeoutSeconds int32
networks object[]
- Array [
multus object
default boolean
networkName stringrequired
name stringrequired
pod object
vmIPv6NetworkCIDR string
vmNetworkCIDR string
- ]
nodeSelector object
property name* string
priorityClassName string
readinessProbe object
exec object
command string[]
failureThreshold int32
guestAgentPing object
httpGet object
host string
httpHeaders object[]
- Array [
name stringrequired
value stringrequired
- ]
path string
port int-or-stringrequired
Default value: [object Object]
scheme string
Possible values: [HTTP
, HTTPS
]
initialDelaySeconds int32
periodSeconds int32
successThreshold int32
tcpSocket object
host string
port int-or-stringrequired
Default value: [object Object]
timeoutSeconds int32
schedulerName string
startStrategy string
subdomain string
terminationGracePeriodSeconds int64
tolerations object[]
- Array [
effect string
Possible values: [NoExecute
, NoSchedule
, PreferNoSchedule
]
key string
operator string
Possible values: [Equal
, Exists
]
tolerationSeconds int64
value string
- ]
topologySpreadConstraints object[]
- Array [
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
matchLabelKeys string[]
maxSkew int32required
Default value: 0
minDomains int32
nodeAffinityPolicy string
nodeTaintsPolicy string
topologyKey stringrequired
whenUnsatisfiable stringrequired
Possible values: [DoNotSchedule
, ScheduleAnyway
]
- ]
volumes object[]
- Array [
cloudInitConfigDrive object
networkData string
networkDataBase64 string
networkDataSecretRef object
name string
secretRef object
name string
userData string
userDataBase64 string
cloudInitNoCloud object
networkData string
networkDataBase64 string
networkDataSecretRef object
name string
secretRef object
name string
userData string
userDataBase64 string
configMap object
name string
optional boolean
volumeLabel string
containerDisk object
image stringrequired
imagePullPolicy string
Possible values: [Always
, IfNotPresent
, Never
]
imagePullSecret string
path string
dataVolume object
hotpluggable boolean
name stringrequired
downwardAPI object
fields object[]
- Array [
fieldRef object
apiVersion string
fieldPath stringrequired
mode int32
path stringrequired
resourceFieldRef object
containerName string
divisor k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
resource stringrequired
- ]
volumeLabel string
downwardMetrics object
emptyDisk object
capacity k8s.io.apimachinery.pkg.api.resource.Quantity (string)required
Default value: [object Object]
ephemeral object
persistentVolumeClaim object
claimName stringrequired
readOnly boolean
hostDisk object
capacity k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
path stringrequired
shared boolean
type stringrequired
memoryDump object
claimName stringrequired
hotpluggable boolean
readOnly boolean
name stringrequired
persistentVolumeClaim object
claimName stringrequired
hotpluggable boolean
readOnly boolean
secret object
optional boolean
secretName string
volumeLabel string
serviceAccount object
serviceAccountName string
sysprep object
configMap object
name string
secret object
name string
- ]
status object
conditions object[]
- Array [
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
- ]
version int32
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"description": "string",
"imageId": "string",
"keyPairIds": [
"string"
],
"templateId": "string",
"vm": {
"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",
"namespace": "string"
},
"resources": {
"claims": [
{
"name": "string"
}
],
"limits": {},
"requests": {}
},
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"storageClassName": "string",
"volumeMode": "string",
"volumeName": "string"
},
"source": {
"blank": {},
"gcs": {
"secretRef": "string",
"url": "string"
},
"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"
},
"snapshot": {
"name": "string",
"namespace": "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"
},
"dataSourceRef": {
"apiGroup": "string",
"kind": "string",
"name": "string",
"namespace": "string"
},
"resources": {
"claims": [
{
"name": "string"
}
],
"limits": {},
"requests": {}
},
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"storageClassName": "string",
"volumeMode": "string",
"volumeName": "string"
}
},
"status": {}
}
],
"instancetype": {
"inferFromVolume": "string",
"inferFromVolumeFailurePolicy": "string",
"kind": "string",
"name": "string",
"revisionName": "string"
},
"liveUpdateFeatures": {
"affinity": {},
"cpu": {
"maxSockets": 0
},
"memory": {
"maxGuest": "string"
}
},
"preference": {
"inferFromVolume": "string",
"inferFromVolumeFailurePolicy": "string",
"kind": "string",
"name": "string",
"revisionName": "string"
},
"runStrategy": "string",
"running": true,
"template": {
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"accessCredentials": [
{
"sshPublicKey": {
"propagationMethod": {
"configDrive": {},
"noCloud": {},
"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"
}
]
}
},
"architecture": "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,
"maxSockets": 0,
"model": "string",
"numa": {
"guestMappingPassthrough": {}
},
"realtime": {
"mask": "string"
},
"sockets": 0,
"threads": 0
},
"devices": {
"autoattachGraphicsDevice": true,
"autoattachInputDevice": true,
"autoattachMemBalloon": true,
"autoattachPodInterface": true,
"autoattachSerialConsole": true,
"autoattachVSOCK": 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
},
"errorPolicy": "string",
"io": "string",
"lun": {
"bus": "string",
"readonly": true,
"reservation": true
},
"name": "string",
"serial": "string",
"shareable": true,
"tag": "string"
}
],
"downwardMetrics": {},
"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": [
{
"acpiIndex": 0,
"binding": {
"name": "string"
},
"bootOrder": 0,
"bridge": {},
"dhcpOptions": {
"bootFileName": "string",
"ntpServers": [
"string"
],
"privateOptions": [
{
"option": 0,
"value": "string"
}
],
"tftpServerName": "string"
},
"macAddress": "string",
"macvtap": {},
"masquerade": {},
"model": "string",
"name": "string",
"passt": {},
"pciAddress": "string",
"ports": [
{
"name": "string",
"port": 0,
"protocol": "string"
}
],
"slirp": {},
"sriov": {},
"state": "string",
"tag": "string"
}
],
"logSerialConsole": true,
"networkInterfaceMultiqueue": true,
"rng": {},
"sound": {
"model": "string",
"name": "string"
},
"tpm": {
"persistent": true
},
"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": {
"persistent": true,
"secureBoot": true
}
},
"kernelBoot": {
"container": {
"image": "string",
"imagePullPolicy": "Always",
"imagePullSecret": "string",
"initrdPath": "string",
"kernelPath": "string"
},
"kernelArgs": "string"
},
"serial": "string",
"uuid": "string"
},
"ioThreadsPolicy": "string",
"launchSecurity": {
"sev": {
"attestation": {},
"dhCert": "string",
"policy": {
"encryptedState": true
},
"session": "string"
}
},
"machine": {
"type": "string"
},
"memory": {
"guest": "string",
"hugepages": {
"pageSize": "string"
},
"maxGuest": "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"
}
],
"topologySpreadConstraints": [
{
"labelSelector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"matchLabelKeys": [
"string"
],
"maxSkew": 0,
"minDomains": 0,
"nodeAffinityPolicy": "string",
"nodeTaintsPolicy": "string",
"topologyKey": "string",
"whenUnsatisfiable": "DoNotSchedule"
}
],
"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": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"version": 0
}
}
Create
- application/json
application/yaml
Schema
- Example (from schema)
Schema
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
description string
imageId string
keyPairIds string[]
templateId stringrequired
vm object
metadata object
name stringrequired
namespace string
spec object
dataVolumeTemplates object[]
- Array [
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
checkpoints object[]
- Array [
current stringrequired
previous stringrequired
- ]
contentType string
finalCheckpoint boolean
preallocation boolean
priorityClassName string
pvc object
accessModes string[]
dataSource object
apiGroup string
kind stringrequired
name stringrequired
dataSourceRef object
apiGroup string
kind stringrequired
name stringrequired
namespace string
resources object
claims object[]
- Array [
name stringrequired
- ]
limits object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
requests object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
selector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
storageClassName string
volumeMode string
volumeName string
source object
blank object
gcs object
secretRef string
url stringrequired
http object
certConfigMap string
extraHeaders string[]
secretExtraHeaders string[]
secretRef string
url stringrequired
imageio object
certConfigMap string
diskId stringrequired
secretRef string
url stringrequired
pvc object
name stringrequired
namespace stringrequired
registry object
certConfigMap string
imageStream string
pullMethod string
secretRef string
url string
s3 object
certConfigMap string
secretRef string
url stringrequired
snapshot object
name stringrequired
namespace stringrequired
upload object
vddk object
backingFile string
initImageURL string
secretRef string
thumbprint string
url string
uuid string
sourceRef object
kind stringrequired
name stringrequired
namespace string
storage object
accessModes string[]
dataSource object
apiGroup string
kind stringrequired
name stringrequired
dataSourceRef object
apiGroup string
kind stringrequired
name stringrequired
namespace string
resources object
claims object[]
- Array [
name stringrequired
- ]
limits object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
requests object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
selector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
storageClassName string
volumeMode string
volumeName string
status object
- ]
instancetype object
inferFromVolume string
inferFromVolumeFailurePolicy string
kind string
name string
revisionName string
liveUpdateFeatures object
affinity object
cpu object
maxSockets int64
memory object
maxGuest k8s.io.apimachinery.pkg.api.resource.Quantity (string)
preference object
inferFromVolume string
inferFromVolumeFailurePolicy string
kind string
name string
revisionName string
runStrategy string
running boolean
template objectrequired
metadata object
name stringrequired
namespace string
spec object
accessCredentials object[]
- Array [
sshPublicKey object
propagationMethod objectrequired
configDrive object
noCloud object
qemuGuestAgent object
users string[]required
source objectrequired
secret object
secretName stringrequired
userPassword object
propagationMethod objectrequired
qemuGuestAgent object
source objectrequired
secret object
secretName stringrequired
- ]
affinity object
nodeAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
- Array [
preference objectrequired
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
- ]
matchFields object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
- ]
weight int32required
Default value: 0
- ]
requiredDuringSchedulingIgnoredDuringExecution object
nodeSelectorTerms object[]required
- Array [
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
- ]
matchFields object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
]
]
podAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
- Array [
podAffinityTerm objectrequired
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
weight int32required
Default value: 0
- ]
requiredDuringSchedulingIgnoredDuringExecution object[]
- Array [
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
- ]
podAntiAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
- Array [
podAffinityTerm objectrequired
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
weight int32required
Default value: 0
- ]
requiredDuringSchedulingIgnoredDuringExecution object[]
- Array [
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
- ]
architecture string
dnsConfig object
nameservers string[]
options object[]
- Array [
name string
value string
- ]
searches string[]
dnsPolicy string
Possible values: [ClusterFirst
, ClusterFirstWithHostNet
, Default
, None
]
domain objectrequired
chassis object
asset string
manufacturer string
serial string
sku string
version string
clock object
timer object
hpet object
present boolean
tickPolicy string
hyperv object
present boolean
kvm object
present boolean
pit object
present boolean
tickPolicy string
rtc object
present boolean
tickPolicy string
track string
timezone string
utc object
offsetSeconds int32
cpu object
cores int64
dedicatedCpuPlacement boolean
features object[]
- Array [
name stringrequired
policy string
- ]
isolateEmulatorThread boolean
maxSockets int64
model string
numa object
guestMappingPassthrough object
realtime object
mask string
sockets int64
threads int64
devices objectrequired
autoattachGraphicsDevice boolean
autoattachInputDevice boolean
autoattachMemBalloon boolean
autoattachPodInterface boolean
autoattachSerialConsole boolean
autoattachVSOCK boolean
blockMultiQueue boolean
clientPassthrough object
disableHotplug boolean
disks object[]
- Array [
blockSize object
custom object
logical int32required
Default value: 0
physical int32required
Default value: 0
matchVolume object
enabled boolean
bootOrder int32
cache string
cdrom object
bus string
readonly boolean
tray string
dedicatedIOThread boolean
disk object
bus string
pciAddress string
readonly boolean
errorPolicy string
io string
lun object
bus string
readonly boolean
reservation boolean
name stringrequired
serial string
shareable boolean
tag string
- ]
downwardMetrics object
filesystems object[]
- Array [
name stringrequired
virtiofs objectrequired
- ]
gpus object[]
- Array [
deviceName stringrequired
name stringrequired
tag string
virtualGPUOptions object
display object
enabled boolean
ramFB object
enabled boolean
- ]
hostDevices object[]
- Array [
deviceName stringrequired
name stringrequired
tag string
- ]
inputs object[]
- Array [
bus string
name stringrequired
type stringrequired
- ]
interfaces object[]
- Array [
acpiIndex int32
binding object
name stringrequired
bootOrder int32
bridge object
dhcpOptions object
bootFileName string
ntpServers string[]
privateOptions object[]
- Array [
option int32required
Default value: 0
value stringrequired
- ]
tftpServerName string
macAddress string
macvtap object
masquerade object
model string
name stringrequired
passt object
pciAddress string
ports object[]
- Array [
name string
port int32required
Default value: 0
protocol string
- ]
slirp object
sriov object
state string
tag string
- ]
logSerialConsole boolean
networkInterfaceMultiqueue boolean
rng object
sound object
model string
name stringrequired
tpm object
persistent boolean
useVirtioTransitional boolean
watchdog object
i6300esb object
action string
name stringrequired
features object
acpi object
enabled boolean
apic object
enabled boolean
endOfInterrupt boolean
hyperv object
evmcs object
enabled boolean
frequencies object
enabled boolean
ipi object
enabled boolean
reenlightenment object
enabled boolean
relaxed object
enabled boolean
reset object
enabled boolean
runtime object
enabled boolean
spinlocks object
enabled boolean
spinlocks int64
synic object
enabled boolean
synictimer object
direct object
enabled boolean
enabled boolean
tlbflush object
enabled boolean
vapic object
enabled boolean
vendorid object
enabled boolean
vendorid string
vpindex object
enabled boolean
kvm object
hidden boolean
pvspinlock object
enabled boolean
smm object
enabled boolean
firmware object
bootloader object
bios object
useSerial boolean
efi object
persistent boolean
secureBoot boolean
kernelBoot object
container object
image stringrequired
imagePullPolicy string
Possible values: [Always
, IfNotPresent
, Never
]
imagePullSecret string
initrdPath string
kernelPath string
kernelArgs string
serial string
uuid string
ioThreadsPolicy string
launchSecurity object
sev object
attestation object
dhCert string
policy object
encryptedState boolean
session string
machine object
type string
memory object
guest k8s.io.apimachinery.pkg.api.resource.Quantity (string)
hugepages object
pageSize string
maxGuest k8s.io.apimachinery.pkg.api.resource.Quantity (string)
resources object
limits object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
overcommitGuestOverhead boolean
requests object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
evictionStrategy string
hostname string
livenessProbe object
exec object
command string[]
failureThreshold int32
guestAgentPing object
httpGet object
host string
httpHeaders object[]
- Array [
name stringrequired
value stringrequired
- ]
path string
port int-or-stringrequired
Default value: [object Object]
scheme string
Possible values: [HTTP
, HTTPS
]
initialDelaySeconds int32
periodSeconds int32
successThreshold int32
tcpSocket object
host string
port int-or-stringrequired
Default value: [object Object]
timeoutSeconds int32
networks object[]
- Array [
multus object
default boolean
networkName stringrequired
name stringrequired
pod object
vmIPv6NetworkCIDR string
vmNetworkCIDR string
- ]
nodeSelector object
property name* string
priorityClassName string
readinessProbe object
exec object
command string[]
failureThreshold int32
guestAgentPing object
httpGet object
host string
httpHeaders object[]
- Array [
name stringrequired
value stringrequired
- ]
path string
port int-or-stringrequired
Default value: [object Object]
scheme string
Possible values: [HTTP
, HTTPS
]
initialDelaySeconds int32
periodSeconds int32
successThreshold int32
tcpSocket object
host string
port int-or-stringrequired
Default value: [object Object]
timeoutSeconds int32
schedulerName string
startStrategy string
subdomain string
terminationGracePeriodSeconds int64
tolerations object[]
- Array [
effect string
Possible values: [NoExecute
, NoSchedule
, PreferNoSchedule
]
key string
operator string
Possible values: [Equal
, Exists
]
tolerationSeconds int64
value string
- ]
topologySpreadConstraints object[]
- Array [
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
matchLabelKeys string[]
maxSkew int32required
Default value: 0
minDomains int32
nodeAffinityPolicy string
nodeTaintsPolicy string
topologyKey stringrequired
whenUnsatisfiable stringrequired
Possible values: [DoNotSchedule
, ScheduleAnyway
]
- ]
volumes object[]
- Array [
cloudInitConfigDrive object
networkData string
networkDataBase64 string
networkDataSecretRef object
name string
secretRef object
name string
userData string
userDataBase64 string
cloudInitNoCloud object
networkData string
networkDataBase64 string
networkDataSecretRef object
name string
secretRef object
name string
userData string
userDataBase64 string
configMap object
name string
optional boolean
volumeLabel string
containerDisk object
image stringrequired
imagePullPolicy string
Possible values: [Always
, IfNotPresent
, Never
]
imagePullSecret string
path string
dataVolume object
hotpluggable boolean
name stringrequired
downwardAPI object
fields object[]
- Array [
fieldRef object
apiVersion string
fieldPath stringrequired
mode int32
path stringrequired
resourceFieldRef object
containerName string
divisor k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
resource stringrequired
- ]
volumeLabel string
downwardMetrics object
emptyDisk object
capacity k8s.io.apimachinery.pkg.api.resource.Quantity (string)required
Default value: [object Object]
ephemeral object
persistentVolumeClaim object
claimName stringrequired
readOnly boolean
hostDisk object
capacity k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
path stringrequired
shared boolean
type stringrequired
memoryDump object
claimName stringrequired
hotpluggable boolean
readOnly boolean
name stringrequired
persistentVolumeClaim object
claimName stringrequired
hotpluggable boolean
readOnly boolean
secret object
optional boolean
secretName string
volumeLabel string
serviceAccount object
serviceAccountName string
sysprep object
configMap object
name string
secret object
name string
- ]
status object
conditions object[]
- Array [
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
- ]
version int32
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"description": "string",
"imageId": "string",
"keyPairIds": [
"string"
],
"templateId": "string",
"vm": {
"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",
"namespace": "string"
},
"resources": {
"claims": [
{
"name": "string"
}
],
"limits": {},
"requests": {}
},
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"storageClassName": "string",
"volumeMode": "string",
"volumeName": "string"
},
"source": {
"blank": {},
"gcs": {
"secretRef": "string",
"url": "string"
},
"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"
},
"snapshot": {
"name": "string",
"namespace": "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"
},
"dataSourceRef": {
"apiGroup": "string",
"kind": "string",
"name": "string",
"namespace": "string"
},
"resources": {
"claims": [
{
"name": "string"
}
],
"limits": {},
"requests": {}
},
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"storageClassName": "string",
"volumeMode": "string",
"volumeName": "string"
}
},
"status": {}
}
],
"instancetype": {
"inferFromVolume": "string",
"inferFromVolumeFailurePolicy": "string",
"kind": "string",
"name": "string",
"revisionName": "string"
},
"liveUpdateFeatures": {
"affinity": {},
"cpu": {
"maxSockets": 0
},
"memory": {
"maxGuest": "string"
}
},
"preference": {
"inferFromVolume": "string",
"inferFromVolumeFailurePolicy": "string",
"kind": "string",
"name": "string",
"revisionName": "string"
},
"runStrategy": "string",
"running": true,
"template": {
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"accessCredentials": [
{
"sshPublicKey": {
"propagationMethod": {
"configDrive": {},
"noCloud": {},
"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"
}
]
}
},
"architecture": "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,
"maxSockets": 0,
"model": "string",
"numa": {
"guestMappingPassthrough": {}
},
"realtime": {
"mask": "string"
},
"sockets": 0,
"threads": 0
},
"devices": {
"autoattachGraphicsDevice": true,
"autoattachInputDevice": true,
"autoattachMemBalloon": true,
"autoattachPodInterface": true,
"autoattachSerialConsole": true,
"autoattachVSOCK": 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
},
"errorPolicy": "string",
"io": "string",
"lun": {
"bus": "string",
"readonly": true,
"reservation": true
},
"name": "string",
"serial": "string",
"shareable": true,
"tag": "string"
}
],
"downwardMetrics": {},
"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": [
{
"acpiIndex": 0,
"binding": {
"name": "string"
},
"bootOrder": 0,
"bridge": {},
"dhcpOptions": {
"bootFileName": "string",
"ntpServers": [
"string"
],
"privateOptions": [
{
"option": 0,
"value": "string"
}
],
"tftpServerName": "string"
},
"macAddress": "string",
"macvtap": {},
"masquerade": {},
"model": "string",
"name": "string",
"passt": {},
"pciAddress": "string",
"ports": [
{
"name": "string",
"port": 0,
"protocol": "string"
}
],
"slirp": {},
"sriov": {},
"state": "string",
"tag": "string"
}
],
"logSerialConsole": true,
"networkInterfaceMultiqueue": true,
"rng": {},
"sound": {
"model": "string",
"name": "string"
},
"tpm": {
"persistent": true
},
"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": {
"persistent": true,
"secureBoot": true
}
},
"kernelBoot": {
"container": {
"image": "string",
"imagePullPolicy": "Always",
"imagePullSecret": "string",
"initrdPath": "string",
"kernelPath": "string"
},
"kernelArgs": "string"
},
"serial": "string",
"uuid": "string"
},
"ioThreadsPolicy": "string",
"launchSecurity": {
"sev": {
"attestation": {},
"dhCert": "string",
"policy": {
"encryptedState": true
},
"session": "string"
}
},
"machine": {
"type": "string"
},
"memory": {
"guest": "string",
"hugepages": {
"pageSize": "string"
},
"maxGuest": "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"
}
],
"topologySpreadConstraints": [
{
"labelSelector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"matchLabelKeys": [
"string"
],
"maxSkew": 0,
"minDomains": 0,
"nodeAffinityPolicy": "string",
"nodeTaintsPolicy": "string",
"topologyKey": "string",
"whenUnsatisfiable": "DoNotSchedule"
}
],
"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": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"version": 0
}
}
- Schema
- Example (from schema)
Schema
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
description string
imageId string
keyPairIds string[]
templateId stringrequired
vm object
metadata object
name stringrequired
namespace string
spec object
dataVolumeTemplates object[]
- Array [
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
checkpoints object[]
- Array [
current stringrequired
previous stringrequired
- ]
contentType string
finalCheckpoint boolean
preallocation boolean
priorityClassName string
pvc object
accessModes string[]
dataSource object
apiGroup string
kind stringrequired
name stringrequired
dataSourceRef object
apiGroup string
kind stringrequired
name stringrequired
namespace string
resources object
claims object[]
- Array [
name stringrequired
- ]
limits object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
requests object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
selector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
storageClassName string
volumeMode string
volumeName string
source object
blank object
gcs object
secretRef string
url stringrequired
http object
certConfigMap string
extraHeaders string[]
secretExtraHeaders string[]
secretRef string
url stringrequired
imageio object
certConfigMap string
diskId stringrequired
secretRef string
url stringrequired
pvc object
name stringrequired
namespace stringrequired
registry object
certConfigMap string
imageStream string
pullMethod string
secretRef string
url string
s3 object
certConfigMap string
secretRef string
url stringrequired
snapshot object
name stringrequired
namespace stringrequired
upload object
vddk object
backingFile string
initImageURL string
secretRef string
thumbprint string
url string
uuid string
sourceRef object
kind stringrequired
name stringrequired
namespace string
storage object
accessModes string[]
dataSource object
apiGroup string
kind stringrequired
name stringrequired
dataSourceRef object
apiGroup string
kind stringrequired
name stringrequired
namespace string
resources object
claims object[]
- Array [
name stringrequired
- ]
limits object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
requests object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
selector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
storageClassName string
volumeMode string
volumeName string
status object
- ]
instancetype object
inferFromVolume string
inferFromVolumeFailurePolicy string
kind string
name string
revisionName string
liveUpdateFeatures object
affinity object
cpu object
maxSockets int64
memory object
maxGuest k8s.io.apimachinery.pkg.api.resource.Quantity (string)
preference object
inferFromVolume string
inferFromVolumeFailurePolicy string
kind string
name string
revisionName string
runStrategy string
running boolean
template objectrequired
metadata object
name stringrequired
namespace string
spec object
accessCredentials object[]
- Array [
sshPublicKey object
propagationMethod objectrequired
configDrive object
noCloud object
qemuGuestAgent object
users string[]required
source objectrequired
secret object
secretName stringrequired
userPassword object
propagationMethod objectrequired
qemuGuestAgent object
source objectrequired
secret object
secretName stringrequired
- ]
affinity object
nodeAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
- Array [
preference objectrequired
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
- ]
matchFields object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
- ]
weight int32required
Default value: 0
- ]
requiredDuringSchedulingIgnoredDuringExecution object
nodeSelectorTerms object[]required
- Array [
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
- ]
matchFields object[]
- Array [
key stringrequired
operator stringrequired
Possible values: [DoesNotExist
, Exists
, Gt
, In
, Lt
, NotIn
]
values string[]
]
]
podAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
- Array [
podAffinityTerm objectrequired
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
weight int32required
Default value: 0
- ]
requiredDuringSchedulingIgnoredDuringExecution object[]
- Array [
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
- ]
podAntiAffinity object
preferredDuringSchedulingIgnoredDuringExecution object[]
- Array [
podAffinityTerm objectrequired
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
weight int32required
Default value: 0
- ]
requiredDuringSchedulingIgnoredDuringExecution object[]
- Array [
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaceSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
namespaces string[]
topologyKey stringrequired
- ]
architecture string
dnsConfig object
nameservers string[]
options object[]
- Array [
name string
value string
- ]
searches string[]
dnsPolicy string
Possible values: [ClusterFirst
, ClusterFirstWithHostNet
, Default
, None
]
domain objectrequired
chassis object
asset string
manufacturer string
serial string
sku string
version string
clock object
timer object
hpet object
present boolean
tickPolicy string
hyperv object
present boolean
kvm object
present boolean
pit object
present boolean
tickPolicy string
rtc object
present boolean
tickPolicy string
track string
timezone string
utc object
offsetSeconds int32
cpu object
cores int64
dedicatedCpuPlacement boolean
features object[]
- Array [
name stringrequired
policy string
- ]
isolateEmulatorThread boolean
maxSockets int64
model string
numa object
guestMappingPassthrough object
realtime object
mask string
sockets int64
threads int64
devices objectrequired
autoattachGraphicsDevice boolean
autoattachInputDevice boolean
autoattachMemBalloon boolean
autoattachPodInterface boolean
autoattachSerialConsole boolean
autoattachVSOCK boolean
blockMultiQueue boolean
clientPassthrough object
disableHotplug boolean
disks object[]
- Array [
blockSize object
custom object
logical int32required
Default value: 0
physical int32required
Default value: 0
matchVolume object
enabled boolean
bootOrder int32
cache string
cdrom object
bus string
readonly boolean
tray string
dedicatedIOThread boolean
disk object
bus string
pciAddress string
readonly boolean
errorPolicy string
io string
lun object
bus string
readonly boolean
reservation boolean
name stringrequired
serial string
shareable boolean
tag string
- ]
downwardMetrics object
filesystems object[]
- Array [
name stringrequired
virtiofs objectrequired
- ]
gpus object[]
- Array [
deviceName stringrequired
name stringrequired
tag string
virtualGPUOptions object
display object
enabled boolean
ramFB object
enabled boolean
- ]
hostDevices object[]
- Array [
deviceName stringrequired
name stringrequired
tag string
- ]
inputs object[]
- Array [
bus string
name stringrequired
type stringrequired
- ]
interfaces object[]
- Array [
acpiIndex int32
binding object
name stringrequired
bootOrder int32
bridge object
dhcpOptions object
bootFileName string
ntpServers string[]
privateOptions object[]
- Array [
option int32required
Default value: 0
value stringrequired
- ]
tftpServerName string
macAddress string
macvtap object
masquerade object
model string
name stringrequired
passt object
pciAddress string
ports object[]
- Array [
name string
port int32required
Default value: 0
protocol string
- ]
slirp object
sriov object
state string
tag string
- ]
logSerialConsole boolean
networkInterfaceMultiqueue boolean
rng object
sound object
model string
name stringrequired
tpm object
persistent boolean
useVirtioTransitional boolean
watchdog object
i6300esb object
action string
name stringrequired
features object
acpi object
enabled boolean
apic object
enabled boolean
endOfInterrupt boolean
hyperv object
evmcs object
enabled boolean
frequencies object
enabled boolean
ipi object
enabled boolean
reenlightenment object
enabled boolean
relaxed object
enabled boolean
reset object
enabled boolean
runtime object
enabled boolean
spinlocks object
enabled boolean
spinlocks int64
synic object
enabled boolean
synictimer object
direct object
enabled boolean
enabled boolean
tlbflush object
enabled boolean
vapic object
enabled boolean
vendorid object
enabled boolean
vendorid string
vpindex object
enabled boolean
kvm object
hidden boolean
pvspinlock object
enabled boolean
smm object
enabled boolean
firmware object
bootloader object
bios object
useSerial boolean
efi object
persistent boolean
secureBoot boolean
kernelBoot object
container object
image stringrequired
imagePullPolicy string
Possible values: [Always
, IfNotPresent
, Never
]
imagePullSecret string
initrdPath string
kernelPath string
kernelArgs string
serial string
uuid string
ioThreadsPolicy string
launchSecurity object
sev object
attestation object
dhCert string
policy object
encryptedState boolean
session string
machine object
type string
memory object
guest k8s.io.apimachinery.pkg.api.resource.Quantity (string)
hugepages object
pageSize string
maxGuest k8s.io.apimachinery.pkg.api.resource.Quantity (string)
resources object
limits object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
overcommitGuestOverhead boolean
requests object
property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
evictionStrategy string
hostname string
livenessProbe object
exec object
command string[]
failureThreshold int32
guestAgentPing object
httpGet object
host string
httpHeaders object[]
- Array [
name stringrequired
value stringrequired
- ]
path string
port int-or-stringrequired
Default value: [object Object]
scheme string
Possible values: [HTTP
, HTTPS
]
initialDelaySeconds int32
periodSeconds int32
successThreshold int32
tcpSocket object
host string
port int-or-stringrequired
Default value: [object Object]
timeoutSeconds int32
networks object[]
- Array [
multus object
default boolean
networkName stringrequired
name stringrequired
pod object
vmIPv6NetworkCIDR string
vmNetworkCIDR string
- ]
nodeSelector object
property name* string
priorityClassName string
readinessProbe object
exec object
command string[]
failureThreshold int32
guestAgentPing object
httpGet object
host string
httpHeaders object[]
- Array [
name stringrequired
value stringrequired
- ]
path string
port int-or-stringrequired
Default value: [object Object]
scheme string
Possible values: [HTTP
, HTTPS
]
initialDelaySeconds int32
periodSeconds int32
successThreshold int32
tcpSocket object
host string
port int-or-stringrequired
Default value: [object Object]
timeoutSeconds int32
schedulerName string
startStrategy string
subdomain string
terminationGracePeriodSeconds int64
tolerations object[]
- Array [
effect string
Possible values: [NoExecute
, NoSchedule
, PreferNoSchedule
]
key string
operator string
Possible values: [Equal
, Exists
]
tolerationSeconds int64
value string
- ]
topologySpreadConstraints object[]
- Array [
labelSelector object
matchExpressions object[]
- Array [
key stringrequired
operator stringrequired
values string[]
- ]
matchLabels object
property name* string
matchLabelKeys string[]
maxSkew int32required
Default value: 0
minDomains int32
nodeAffinityPolicy string
nodeTaintsPolicy string
topologyKey stringrequired
whenUnsatisfiable stringrequired
Possible values: [DoNotSchedule
, ScheduleAnyway
]
- ]
volumes object[]
- Array [
cloudInitConfigDrive object
networkData string
networkDataBase64 string
networkDataSecretRef object
name string
secretRef object
name string
userData string
userDataBase64 string
cloudInitNoCloud object
networkData string
networkDataBase64 string
networkDataSecretRef object
name string
secretRef object
name string
userData string
userDataBase64 string
configMap object
name string
optional boolean
volumeLabel string
containerDisk object
image stringrequired
imagePullPolicy string
Possible values: [Always
, IfNotPresent
, Never
]
imagePullSecret string
path string
dataVolume object
hotpluggable boolean
name stringrequired
downwardAPI object
fields object[]
- Array [
fieldRef object
apiVersion string
fieldPath stringrequired
mode int32
path stringrequired
resourceFieldRef object
containerName string
divisor k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
resource stringrequired
- ]
volumeLabel string
downwardMetrics object
emptyDisk object
capacity k8s.io.apimachinery.pkg.api.resource.Quantity (string)required
Default value: [object Object]
ephemeral object
persistentVolumeClaim object
claimName stringrequired
readOnly boolean
hostDisk object
capacity k8s.io.apimachinery.pkg.api.resource.Quantity (string)
Default value: [object Object]
path stringrequired
shared boolean
type stringrequired
memoryDump object
claimName stringrequired
hotpluggable boolean
readOnly boolean
name stringrequired
persistentVolumeClaim object
claimName stringrequired
hotpluggable boolean
readOnly boolean
secret object
optional boolean
secretName string
volumeLabel string
serviceAccount object
serviceAccountName string
sysprep object
configMap object
name string
secret object
name string
- ]
status object
conditions object[]
- Array [
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
- ]
version int32
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"description": "string",
"imageId": "string",
"keyPairIds": [
"string"
],
"templateId": "string",
"vm": {
"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",
"namespace": "string"
},
"resources": {
"claims": [
{
"name": "string"
}
],
"limits": {},
"requests": {}
},
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"storageClassName": "string",
"volumeMode": "string",
"volumeName": "string"
},
"source": {
"blank": {},
"gcs": {
"secretRef": "string",
"url": "string"
},
"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"
},
"snapshot": {
"name": "string",
"namespace": "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"
},
"dataSourceRef": {
"apiGroup": "string",
"kind": "string",
"name": "string",
"namespace": "string"
},
"resources": {
"claims": [
{
"name": "string"
}
],
"limits": {},
"requests": {}
},
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"storageClassName": "string",
"volumeMode": "string",
"volumeName": "string"
}
},
"status": {}
}
],
"instancetype": {
"inferFromVolume": "string",
"inferFromVolumeFailurePolicy": "string",
"kind": "string",
"name": "string",
"revisionName": "string"
},
"liveUpdateFeatures": {
"affinity": {},
"cpu": {
"maxSockets": 0
},
"memory": {
"maxGuest": "string"
}
},
"preference": {
"inferFromVolume": "string",
"inferFromVolumeFailurePolicy": "string",
"kind": "string",
"name": "string",
"revisionName": "string"
},
"runStrategy": "string",
"running": true,
"template": {
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"accessCredentials": [
{
"sshPublicKey": {
"propagationMethod": {
"configDrive": {},
"noCloud": {},
"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"
}
]
}
},
"architecture": "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,
"maxSockets": 0,
"model": "string",
"numa": {
"guestMappingPassthrough": {}
},
"realtime": {
"mask": "string"
},
"sockets": 0,
"threads": 0
},
"devices": {
"autoattachGraphicsDevice": true,
"autoattachInputDevice": true,
"autoattachMemBalloon": true,
"autoattachPodInterface": true,
"autoattachSerialConsole": true,
"autoattachVSOCK": 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
},
"errorPolicy": "string",
"io": "string",
"lun": {
"bus": "string",
"readonly": true,
"reservation": true
},
"name": "string",
"serial": "string",
"shareable": true,
"tag": "string"
}
],
"downwardMetrics": {},
"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": [
{
"acpiIndex": 0,
"binding": {
"name": "string"
},
"bootOrder": 0,
"bridge": {},
"dhcpOptions": {
"bootFileName": "string",
"ntpServers": [
"string"
],
"privateOptions": [
{
"option": 0,
"value": "string"
}
],
"tftpServerName": "string"
},
"macAddress": "string",
"macvtap": {},
"masquerade": {},
"model": "string",
"name": "string",
"passt": {},
"pciAddress": "string",
"ports": [
{
"name": "string",
"port": 0,
"protocol": "string"
}
],
"slirp": {},
"sriov": {},
"state": "string",
"tag": "string"
}
],
"logSerialConsole": true,
"networkInterfaceMultiqueue": true,
"rng": {},
"sound": {
"model": "string",
"name": "string"
},
"tpm": {
"persistent": true
},
"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": {
"persistent": true,
"secureBoot": true
}
},
"kernelBoot": {
"container": {
"image": "string",
"imagePullPolicy": "Always",
"imagePullSecret": "string",
"initrdPath": "string",
"kernelPath": "string"
},
"kernelArgs": "string"
},
"serial": "string",
"uuid": "string"
},
"ioThreadsPolicy": "string",
"launchSecurity": {
"sev": {
"attestation": {},
"dhCert": "string",
"policy": {
"encryptedState": true
},
"session": "string"
}
},
"machine": {
"type": "string"
},
"memory": {
"guest": "string",
"hugepages": {
"pageSize": "string"
},
"maxGuest": "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"
}
],
"topologySpreadConstraints": [
{
"labelSelector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"matchLabelKeys": [
"string"
],
"maxSkew": 0,
"minDomains": 0,
"nodeAffinityPolicy": "string",
"nodeTaintsPolicy": "string",
"topologyKey": "string",
"whenUnsatisfiable": "DoNotSchedule"
}
],
"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": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"version": 0
}
}
Unauthorized
- application/json
application/yaml
Schema
Schema
string
- Schema
Schema
string
Loading…