VirtualMachineInstance [virtualmachineinstances.kubevirt.io/v1]
- 描述
- VirtualMachineInstance is *the* VirtualMachineInstance Definition. It represents a virtual machine in the runtime environment of kubernetes.
- 类型
object- 必填
spec
规格
.spec
- 描述
- VirtualMachineInstance Spec contains the VirtualMachineInstance specification.
- 类型
object- 必填
domain
.spec.accessCredentials
- 描述
- Specifies a set of public keys to inject into the vm guest
- 类型
array
.spec.accessCredentials[]
- 描述
- AccessCredential represents a credential source that can be used to authorize remote access to the vm guest Only one of its members may be specified.
- 类型
object
.spec.accessCredentials[].sshPublicKey
- 描述
- SSHPublicKey represents the source and method of applying a ssh public key into a guest virtual machine.
- 类型
object- 必填
propagationMethodsource
.spec.accessCredentials[].sshPublicKey.propagationMethod
- 描述
- PropagationMethod represents how the public key is injected into the vm guest.
- 类型
object
.spec.accessCredentials[].sshPublicKey.propagationMethod.configDrive
- 描述
- ConfigDrivePropagation means that the ssh public keys are injected into the VM using metadata using the configDrive cloud-init provider
- 类型
object
.spec.accessCredentials[].sshPublicKey.propagationMethod.noCloud
- 描述
- NoCloudPropagation means that the ssh public keys are injected into the VM using metadata using the noCloud cloud-init provider
- 类型
object
.spec.accessCredentials[].sshPublicKey.propagationMethod.qemuGuestAgent
- 描述
- QemuGuestAgentAccessCredentailPropagation means ssh public keys are dynamically injected into the vm at runtime via the qemu guest agent. This feature requires the qemu guest agent to be running within the guest.
- 类型
object- 必填
users
.spec.accessCredentials[].sshPublicKey.propagationMethod.qemuGuestAgent.users
- 描述
- Users represents a list of guest users that should have the ssh public keys added to their authorized_keys file.
- 类型
array
.spec.accessCredentials[].sshPublicKey.propagationMethod.qemuGuestAgent.users[]
- 类型
string
.spec.accessCredentials[].sshPublicKey.source
- 描述
- Source represents where the public keys are pulled from
- 类型
object
.spec.accessCredentials[].sshPublicKey.source.secret
- 描述
- Secret means that the access credential is pulled from a kubernetes secret
- 类型
object- 必填
secretName
.spec.accessCredentials[].userPassword
- 描述
- UserPassword represents the source and method for applying a guest user's password
- 类型
object- 必填
propagationMethodsource
.spec.accessCredentials[].userPassword.propagationMethod
- 描述
- propagationMethod represents how the user passwords are injected into the vm guest.
- 类型
object
.spec.accessCredentials[].userPassword.propagationMethod.qemuGuestAgent
- 描述
- QemuGuestAgentAccessCredentailPropagation means passwords are dynamically injected into the vm at runtime via the qemu guest agent. This feature requires the qemu guest agent to be running within the guest.
- 类型
object
.spec.accessCredentials[].userPassword.source
- 描述
- Source represents where the user passwords are pulled from
- 类型
object
.spec.accessCredentials[].userPassword.source.secret
- 描述
- Secret means that the access credential is pulled from a kubernetes secret
- 类型
object- 必填
secretName
.spec.affinity
- 描述
- If affinity is specifies, obey all the affinity rules
- 类型
object
.spec.affinity.nodeAffinity
- 描述
- Describes node affinity scheduling rules for the pod.
- 类型
object
.spec.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution
- 描述
- The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.
- 类型
array
.spec.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[]
- 描述
- An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).
- 类型
object- 必填
preferenceweight
.spec.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference
- 描述
- A node selector term, associated with the corresponding weight.
- 类型
object
.spec.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchExpressions
- 描述
- A list of node selector requirements by node's labels.
- 类型
array
.spec.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchExpressions[]
- 描述
- A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.spec.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchExpressions[].values
- 描述
- An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
- 类型
array
.spec.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchExpressions[].values[]
- 类型
string
.spec.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchFields
- 描述
- A list of node selector requirements by node's fields.
- 类型
array
.spec.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchFields[]
- 描述
- A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.spec.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchFields[].values
- 描述
- An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
- 类型
array
.spec.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchFields[].values[]
- 类型
string
.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution
- 描述
- If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node.
- 类型
object- 必填
nodeSelectorTerms
.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms
- 描述
- Required. A list of node selector terms. The terms are ORed.
- 类型
array
.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[]
- 描述
- A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.
- 类型
object
.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchExpressions
- 描述
- A list of node selector requirements by node's labels.
- 类型
array
.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchExpressions[]
- 描述
- A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchExpressions[].values
- 描述
- An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
- 类型
array
.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchExpressions[].values[]
- 类型
string
.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchFields
- 描述
- A list of node selector requirements by node's fields.
- 类型
array
.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchFields[]
- 描述
- A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchFields[].values
- 描述
- An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
- 类型
array
.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchFields[].values[]
- 类型
string
.spec.affinity.podAffinity
- 描述
- Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
- 类型
object
.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution
- 描述
- The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.
- 类型
array
.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[]
- 描述
- The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
- 类型
object- 必填
podAffinityTermweight
.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm
- 描述
- Required. A pod affinity term, associated with the corresponding weight.
- 类型
object- 必填
topologyKey
.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector
- 描述
- A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.
- 类型
object
.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchExpressions[]
- 描述
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchExpressions[].values
- 描述
- values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- 类型
array
.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchExpressions[].values[]
- 类型
string
.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchLabels
- 描述
- matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- 类型
object
.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.matchLabelKeys
- 描述
- MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with 'labelSelector' as 'key in (value)' to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set.
- 类型
array
.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.matchLabelKeys[]
- 类型
string
.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.mismatchLabelKeys
- 描述
- MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with 'labelSelector' as 'key notin (value)' to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
- 类型
array
.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.mismatchLabelKeys[]
- 类型
string
.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector
- 描述
- A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces.
- 类型
object
.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector.matchExpressions[]
- 描述
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector.matchExpressions[].values
- 描述
- values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- 类型
array
.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector.matchExpressions[].values[]
- 类型
string
.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector.matchLabels
- 描述
- matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- 类型
object
.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaces
- 描述
- namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
- 类型
array
.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaces[]
- 类型
string
.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution
- 描述
- If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.
- 类型
array
.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[]
- 描述
- Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running
- 类型
object- 必填
topologyKey
.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector
- 描述
- A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.
- 类型
object
.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchExpressions[]
- 描述
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchExpressions[].values
- 描述
- values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- 类型
array
.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchExpressions[].values[]
- 类型
string
.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchLabels
- 描述
- matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- 类型
object
.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].matchLabelKeys
- 描述
- MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with 'labelSelector' as 'key in (value)' to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set.
- 类型
array
.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].matchLabelKeys[]
- 类型
string
.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].mismatchLabelKeys
- 描述
- MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with 'labelSelector' as 'key notin (value)' to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
- 类型
array
.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].mismatchLabelKeys[]
- 类型
string
.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector
- 描述
- A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces.
- 类型
object
.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector.matchExpressions[]
- 描述
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector.matchExpressions[].values
- 描述
- values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- 类型
array
.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector.matchExpressions[].values[]
- 类型
string
.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector.matchLabels
- 描述
- matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- 类型
object
.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaces
- 描述
- namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
- 类型
array
.spec.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaces[]
- 类型
string
.spec.affinity.podAntiAffinity
- 描述
- Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
- 类型
object
.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution
- 描述
- The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.
- 类型
array
.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[]
- 描述
- The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
- 类型
object- 必填
podAffinityTermweight
.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm
- 描述
- Required. A pod affinity term, associated with the corresponding weight.
- 类型
object- 必填
topologyKey
.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector
- 描述
- A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.
- 类型
object
.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchExpressions[]
- 描述
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchExpressions[].values
- 描述
- values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- 类型
array
.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchExpressions[].values[]
- 类型
string
.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchLabels
- 描述
- matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- 类型
object
.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.matchLabelKeys
- 描述
- MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with 'labelSelector' as 'key in (value)' to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set.
- 类型
array
.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.matchLabelKeys[]
- 类型
string
.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.mismatchLabelKeys
- 描述
- MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with 'labelSelector' as 'key notin (value)' to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
- 类型
array
.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.mismatchLabelKeys[]
- 类型
string
.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector
- 描述
- A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces.
- 类型
object
.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector.matchExpressions[]
- 描述
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector.matchExpressions[].values
- 描述
- values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- 类型
array
.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector.matchExpressions[].values[]
- 类型
string
.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector.matchLabels
- 描述
- matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- 类型
object
.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaces
- 描述
- namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
- 类型
array
.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaces[]
- 类型
string
.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution
- 描述
- If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.
- 类型
array
.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[]
- 描述
- Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running
- 类型
object- 必填
topologyKey
.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector
- 描述
- A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.
- 类型
object
.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchExpressions[]
- 描述
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchExpressions[].values
- 描述
- values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- 类型
array
.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchExpressions[].values[]
- 类型
string
.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchLabels
- 描述
- matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- 类型
object
.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].matchLabelKeys
- 描述
- MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with 'labelSelector' as 'key in (value)' to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set.
- 类型
array
.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].matchLabelKeys[]
- 类型
string
.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].mismatchLabelKeys
- 描述
- MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with 'labelSelector' as 'key notin (value)' to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
- 类型
array
.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].mismatchLabelKeys[]
- 类型
string
.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector
- 描述
- A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces.
- 类型
object
.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector.matchExpressions[]
- 描述
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector.matchExpressions[].values
- 描述
- values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- 类型
array
.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector.matchExpressions[].values[]
- 类型
string
.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector.matchLabels
- 描述
- matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- 类型
object
.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaces
- 描述
- namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
- 类型
array
.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaces[]
- 类型
string
.spec.dnsConfig
- 描述
- Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.
- 类型
object
.spec.dnsConfig.nameservers
- 描述
- A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
- 类型
array
.spec.dnsConfig.nameservers[]
- 类型
string
.spec.dnsConfig.options
- 描述
- A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.
- 类型
array
.spec.dnsConfig.options[]
- 描述
- PodDNSConfigOption defines DNS resolver options of a pod.
- 类型
object
.spec.dnsConfig.searches
- 描述
- A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.
- 类型
array
.spec.dnsConfig.searches[]
- 类型
string
.spec.domain
- 描述
- Specification of the desired behavior of the VirtualMachineInstance on the host.
- 类型
object- 必填
devices
.spec.domain.chassis
- 描述
- Chassis specifies the chassis info passed to the domain.
- 类型
object
.spec.domain.clock
- 描述
- Clock sets the clock and timers of the vmi.
- 类型
object
.spec.domain.clock.timer
- 描述
- Timer specifies whih timers are attached to the vmi.
- 类型
object
.spec.domain.clock.timer.hpet
- 描述
- HPET (High Precision Event Timer) - multiple timers with periodic interrupts.
- 类型
object
.spec.domain.clock.timer.hyperv
- 描述
- Hyperv (Hypervclock) - lets guests read the host’s wall clock time (paravirtualized). For windows guests.
- 类型
object
.spec.domain.clock.timer.kvm
- 描述
- KVM (KVM clock) - lets guests read the host’s wall clock time (paravirtualized). For linux guests.
- 类型
object
.spec.domain.clock.timer.pit
- 描述
- PIT (Programmable Interval Timer) - a timer with periodic interrupts.
- 类型
object
.spec.domain.clock.timer.rtc
- 描述
- RTC (Real Time Clock) - a continuously running timer with periodic interrupts.
- 类型
object
.spec.domain.clock.utc
- 描述
- UTC sets the guest clock to UTC on each boot. If an offset is specified, guest changes to the clock will be kept during reboots and are not reset.
- 类型
object
.spec.domain.cpu
- 描述
- CPU allow specified the detailed CPU topology inside the vmi.
- 类型
object
.spec.domain.cpu.features
- 描述
- Features specifies the CPU features list inside the VMI.
- 类型
array
.spec.domain.cpu.features[]
- 描述
- CPUFeature allows specifying a CPU feature.
- 类型
object- 必填
name
.spec.domain.cpu.numa
- 描述
- NUMA allows specifying settings for the guest NUMA topology
- 类型
object
.spec.domain.cpu.numa.guestMappingPassthrough
- 描述
- GuestMappingPassthrough will create an efficient guest topology based on host CPUs exclusively assigned to a pod. The created topology ensures that memory and CPUs on the virtual numa nodes never cross boundaries of host numa nodes.
- 类型
object
.spec.domain.cpu.realtime
- 描述
- Realtime instructs the virt-launcher to tune the VMI for lower latency, optional for real time workloads
- 类型
object
.spec.domain.devices
- 描述
- Devices allows adding disks, network interfaces, and others
- 类型
object
.spec.domain.devices.clientPassthrough
- 描述
- To configure and access client devices such as redirecting USB
- 类型
object
.spec.domain.devices.disks
- 描述
- Disks describes disks, cdroms and luns which are connected to the vmi.
- 类型
array
.spec.domain.devices.disks[]
- 类型
object- 必填
name
.spec.domain.devices.disks[].blockSize
- 描述
- If specified, the virtual disk will be presented with the given block sizes.
- 类型
object
.spec.domain.devices.disks[].blockSize.custom
- 描述
- CustomBlockSize represents the desired logical and physical block size for a VM disk.
- 类型
object
.spec.domain.devices.disks[].blockSize.matchVolume
- 描述
- Represents if a feature is enabled or disabled.
- 类型
object
.spec.domain.devices.disks[].cdrom
- 描述
- Attach a volume as a cdrom to the vmi.
- 类型
object
.spec.domain.devices.disks[].disk
- 描述
- Attach a volume as a disk to the vmi.
- 类型
object
.spec.domain.devices.disks[].lun
- 描述
- Attach a volume as a LUN to the vmi.
- 类型
object
.spec.domain.devices.downwardMetrics
- 描述
- DownwardMetrics creates a virtio serials for exposing the downward metrics to the vmi.
- 类型
object
.spec.domain.devices.filesystems
- 描述
- Filesystems describes filesystem which is connected to the vmi.
- 类型
array
.spec.domain.devices.filesystems[]
- 类型
object- 必填
namevirtiofs
.spec.domain.devices.filesystems[].virtiofs
- 描述
- Virtiofs is supported
- 类型
object
.spec.domain.devices.gpus
- 描述
- Whether to attach a GPU device to the vmi.
- 类型
array
.spec.domain.devices.gpus[]
- 类型
object- 必填
name
.spec.domain.devices.gpus[].virtualGPUOptions
- 类型
object
.spec.domain.devices.gpus[].virtualGPUOptions.display
- 类型
object
.spec.domain.devices.gpus[].virtualGPUOptions.display.ramFB
- 描述
- Enables a boot framebuffer, until the guest OS loads a real GPU driver Defaults to true.
- 类型
object
.spec.domain.devices.hostDevices
- 描述
- Whether to attach a host device to the vmi.
- 类型
array
.spec.domain.devices.hostDevices[]
- 类型
object- 必填
name
.spec.domain.devices.inputs
- 描述
- Inputs describe input devices
- 类型
array
.spec.domain.devices.inputs[]
- 类型
object- 必填
nametype
.spec.domain.devices.interfaces
- 描述
- Interfaces describe network interfaces which are added to the vmi.
- 类型
array
.spec.domain.devices.interfaces[]
- 类型
object- 必填
name
.spec.domain.devices.interfaces[].binding
- 描述
- Binding specifies the binding plugin that will be used to connect the interface to the guest. It provides an alternative to InterfaceBindingMethod. version: 1alphav1
- 类型
object- 必填
name
.spec.domain.devices.interfaces[].bridge
- 描述
- InterfaceBridge connects to a given network via a linux bridge.
- 类型
object
.spec.domain.devices.interfaces[].dhcpOptions
- 描述
- If specified the network interface will pass additional DHCP options to the VMI
- 类型
object
.spec.domain.devices.interfaces[].dhcpOptions.ntpServers
- 描述
- If specified will pass the configured NTP server to the VM via DHCP option 042.
- 类型
array
.spec.domain.devices.interfaces[].dhcpOptions.ntpServers[]
- 类型
string
.spec.domain.devices.interfaces[].dhcpOptions.privateOptions
- 描述
- If specified will pass extra DHCP options for private use, range: 224-254
- 类型
array
.spec.domain.devices.interfaces[].dhcpOptions.privateOptions[]
- 描述
- DHCPExtraOptions defines Extra DHCP options for a VM.
- 类型
object- 必填
optionvalue
.spec.domain.devices.interfaces[].macvtap
- 描述
- DeprecatedMacvtap is an alias to the deprecated Macvtap interface, please refer to Kubevirt user guide for alternatives. Deprecated: Removed in v1.3
- 类型
object
.spec.domain.devices.interfaces[].masquerade
- 描述
- InterfaceMasquerade connects to a given network using netfilter rules to nat the traffic.
- 类型
object
.spec.domain.devices.interfaces[].passt
- 描述
- DeprecatedPasst is an alias to the deprecated Passt interface, please refer to Kubevirt user guide for alternatives. Deprecated: Removed in v1.3
- 类型
object
.spec.domain.devices.interfaces[].ports
- 描述
- List of ports to be forwarded to the virtual machine.
- 类型
array
.spec.domain.devices.interfaces[].ports[]
- 描述
- Port represents a port to expose from the virtual machine. Default protocol TCP. The port field is mandatory
- 类型
object- 必填
port
.spec.domain.devices.interfaces[].slirp
- 描述
- DeprecatedSlirp is an alias to the deprecated Slirp interface Deprecated: Removed in v1.3
- 类型
object
.spec.domain.devices.interfaces[].sriov
- 描述
- InterfaceSRIOV connects to a given network by passing-through an SR-IOV PCI device via vfio.
- 类型
object
.spec.domain.devices.panicDevices
- 描述
- PanicDevices provides additional crash information when a guest crashes.
- 类型
array
.spec.domain.devices.panicDevices[]
- 类型
object
.spec.domain.devices.rng
- 描述
- Whether to have random number generator from host
- 类型
object
.spec.domain.devices.sound
- 描述
- Whether to emulate a sound device.
- 类型
object- 必填
name
.spec.domain.devices.tpm
- 描述
- Whether to emulate a TPM device.
- 类型
object
.spec.domain.devices.video
- 描述
- Video describes the video device configuration for the vmi.
- 类型
object
.spec.domain.devices.watchdog
- 描述
- Watchdog describes a watchdog device which can be added to the vmi.
- 类型
object- 必填
name
.spec.domain.devices.watchdog.diag288
- 描述
- diag288 watchdog device (specific to s390x architecture).
- 类型
object
.spec.domain.devices.watchdog.i6300esb
- 描述
- i6300esb watchdog device.
- 类型
object
.spec.domain.features
- 描述
- Features like acpi, apic, hyperv, smm.
- 类型
object
.spec.domain.features.acpi
- 描述
- ACPI enables/disables ACPI inside the guest. Defaults to enabled.
- 类型
object
.spec.domain.features.apic
- 描述
- Defaults to the machine type setting.
- 类型
object
.spec.domain.features.hyperv
- 描述
- Defaults to the machine type setting.
- 类型
object
.spec.domain.features.hyperv.evmcs
- 描述
- EVMCS Speeds up L2 vmexits, but disables other virtualization features. Requires vapic. Defaults to the machine type setting.
- 类型
object
.spec.domain.features.hyperv.frequencies
- 描述
- Frequencies improves the TSC clock source handling for Hyper-V on KVM. Defaults to the machine type setting.
- 类型
object
.spec.domain.features.hyperv.ipi
- 描述
- IPI improves performances in overcommited environments. Requires vpindex. Defaults to the machine type setting.
- 类型
object
.spec.domain.features.hyperv.reenlightenment
- 描述
- Reenlightenment enables the notifications on TSC frequency changes. Defaults to the machine type setting.
- 类型
object
.spec.domain.features.hyperv.relaxed
- 描述
- Relaxed instructs the guest OS to disable watchdog timeouts. Defaults to the machine type setting.
- 类型
object
.spec.domain.features.hyperv.reset
- 描述
- Reset enables Hyperv reboot/reset for the vmi. Requires synic. Defaults to the machine type setting.
- 类型
object
.spec.domain.features.hyperv.runtime
- 描述
- Runtime improves the time accounting to improve scheduling in the guest. Defaults to the machine type setting.
- 类型
object
.spec.domain.features.hyperv.spinlocks
- 描述
- Spinlocks allows to configure the spinlock retry attempts.
- 类型
object
.spec.domain.features.hyperv.synic
- 描述
- SyNIC enables the Synthetic Interrupt Controller. Defaults to the machine type setting.
- 类型
object
.spec.domain.features.hyperv.synictimer
- 描述
- SyNICTimer enables Synthetic Interrupt Controller Timers, reducing CPU load. Defaults to the machine type setting.
- 类型
object
.spec.domain.features.hyperv.synictimer.direct
- 描述
- Represents if a feature is enabled or disabled.
- 类型
object
.spec.domain.features.hyperv.tlbflush
- 描述
- TLBFlush improves performances in overcommited environments. Requires vpindex. Defaults to the machine type setting.
- 类型
object
.spec.domain.features.hyperv.vapic
- 描述
- VAPIC improves the paravirtualized handling of interrupts. Defaults to the machine type setting.
- 类型
object
.spec.domain.features.hyperv.vendorid
- 描述
- VendorID allows setting the hypervisor vendor id. Defaults to the machine type setting.
- 类型
object
.spec.domain.features.hyperv.vpindex
- 描述
- VPIndex enables the Virtual Processor Index to help windows identifying virtual processors. Defaults to the machine type setting.
- 类型
object
.spec.domain.features.hypervPassthrough
- 描述
- This enables all supported hyperv flags automatically. Bear in mind that if this enabled hyperV features cannot be enabled explicitly. In addition, a Virtual Machine using it will be non-migratable.
- 类型
object
.spec.domain.features.kvm
- 描述
- Configure how KVM presence is exposed to the guest.
- 类型
object
.spec.domain.features.pvspinlock
- 描述
- Notify the guest that the host supports paravirtual spinlocks. For older kernels this feature should be explicitly disabled.
- 类型
object
.spec.domain.features.smm
- 描述
- SMM enables/disables System Management Mode. TSEG not yet implemented.
- 类型
object
.spec.domain.firmware
- 描述
- Firmware.
- 类型
object
.spec.domain.firmware.acpi
- 描述
- Information that can be set in the ACPI table
- 类型
object
.spec.domain.firmware.bootloader
- 描述
- Settings to control the bootloader that is used.
- 类型
object
.spec.domain.firmware.bootloader.bios
- 描述
- If set (default), BIOS will be used.
- 类型
object
.spec.domain.firmware.bootloader.efi
- 描述
- If set, EFI will be used instead of BIOS.
- 类型
object
.spec.domain.firmware.kernelBoot
- 描述
- Settings to set the kernel for booting.
- 类型
object
.spec.domain.firmware.kernelBoot.container
- 描述
- Container defines the container that containes kernel artifacts
- 类型
object- 必填
image
.spec.domain.ioThreads
- 描述
- IOThreads specifies the IOThreads options.
- 类型
object
.spec.domain.launchSecurity
- 描述
- Launch Security setting of the vmi.
- 类型
object
.spec.domain.launchSecurity.sev
- 描述
- AMD Secure Encrypted Virtualization (SEV).
- 类型
object
.spec.domain.launchSecurity.sev.attestation
- 描述
- If specified, run the attestation process for a vmi.
- 类型
object
.spec.domain.launchSecurity.sev.policy
- 描述
- Guest policy flags as defined in AMD SEV API specification. Note: due to security reasons it is not allowed to enable guest debugging. Therefore NoDebug flag is not exposed to users and is always true.
- 类型
object
.spec.domain.launchSecurity.snp
- 描述
- AMD SEV-SNP flags defined by the SEV-SNP specifications.
- 类型
object
.spec.domain.launchSecurity.tdx
- 描述
- Intel Trust Domain Extensions (TDX).
- 类型
object
.spec.domain.machine
- 描述
- Machine type.
- 类型
object
.spec.domain.memory
- 描述
- Memory allow specifying the VMI memory features.
- 类型
object
.spec.domain.memory.hugepages
- 描述
- Hugepages allow to use hugepages for the VirtualMachineInstance instead of regular memory.
- 类型
object
.spec.domain.resources
- 描述
- Resources describes the Compute Resources required by this vmi.
- 类型
object
.spec.domain.resources.limits
- 描述
- Limits describes the maximum amount of compute resources allowed. Valid resource keys are "memory" and "cpu".
- 类型
object
.spec.domain.resources.requests
- 描述
- Requests is a description of the initial vmi resources. Valid resource keys are "memory" and "cpu".
- 类型
object
.spec.livenessProbe
- 描述
- Periodic probe of VirtualMachineInstance liveness. VirtualmachineInstances will be stopped if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- 类型
object
.spec.livenessProbe.exec
- 描述
- One and only one of the following should be specified. Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. If the guest agent is not available, this probe will fail.
- 类型
object
.spec.livenessProbe.exec.command
- 描述
- Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
- 类型
array
.spec.livenessProbe.exec.command[]
- 类型
string
.spec.livenessProbe.guestAgentPing
- 描述
- GuestAgentPing contacts the qemu-guest-agent for availability checks.
- 类型
object
.spec.livenessProbe.httpGet
- 描述
- HTTPGet specifies the http request to perform.
- 类型
object- 必填
port
.spec.livenessProbe.httpGet.httpHeaders
- 描述
- Custom headers to set in the request. HTTP allows repeated headers.
- 类型
array
.spec.livenessProbe.httpGet.httpHeaders[]
- 描述
- HTTPHeader describes a custom header to be used in HTTP probes
- 类型
object- 必填
namevalue
.spec.livenessProbe.tcpSocket
- 描述
- TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported
- 类型
object- 必填
port
.spec.networks
- 描述
- List of networks that can be attached to a vm's virtual interface.
- 类型
array
.spec.networks[]
- 描述
- Network represents a network type and a resource that should be connected to the vm.
- 类型
object- 必填
name
.spec.networks[].multus
- 描述
- Represents the multus cni network.
- 类型
object- 必填
networkName
.spec.networks[].pod
- 描述
- Represents the stock pod network interface.
- 类型
object
.spec.nodeSelector
- 描述
- NodeSelector is a selector which must be true for the vmi to fit on a node. Selector which must match a node's labels for the vmi to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
- 类型
object
.spec.readinessProbe
- 描述
- Periodic probe of VirtualMachineInstance service readiness. VirtualmachineInstances will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- 类型
object
.spec.readinessProbe.exec
- 描述
- One and only one of the following should be specified. Exec specifies the action to take, it will be executed on the guest through the qemu-guest-agent. If the guest agent is not available, this probe will fail.
- 类型
object
.spec.readinessProbe.exec.command
- 描述
- Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
- 类型
array
.spec.readinessProbe.exec.command[]
- 类型
string
.spec.readinessProbe.guestAgentPing
- 描述
- GuestAgentPing contacts the qemu-guest-agent for availability checks.
- 类型
object
.spec.readinessProbe.httpGet
- 描述
- HTTPGet specifies the http request to perform.
- 类型
object- 必填
port
.spec.readinessProbe.httpGet.httpHeaders
- 描述
- Custom headers to set in the request. HTTP allows repeated headers.
- 类型
array
.spec.readinessProbe.httpGet.httpHeaders[]
- 描述
- HTTPHeader describes a custom header to be used in HTTP probes
- 类型
object- 必填
namevalue
.spec.readinessProbe.tcpSocket
- 描述
- TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported
- 类型
object- 必填
port
.spec.resourceClaims
- 描述
- ResourceClaims define which ResourceClaims must be allocated and reserved before the VMI, hence virt-launcher pod is allowed to start. The resources will be made available to the domain which consumes them by name. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate in kubernetes https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/ This field should only be configured if one of the feature-gates GPUsWithDRA or HostDevicesWithDRA is enabled. This feature is in alpha.
- 类型
array
.spec.resourceClaims[]
- 描述
- PodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.
- 类型
object- 必填
name
.spec.tolerations
- 描述
- If toleration is specified, obey all the toleration rules.
- 类型
array
.spec.tolerations[]
- 描述
- The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
- 类型
object
.spec.topologySpreadConstraints
- 描述
- TopologySpreadConstraints describes how a group of VMIs will be spread across a given topology domains. K8s scheduler will schedule VMI pods in a way which abides by the constraints.
- 类型
array
.spec.topologySpreadConstraints[]
- 描述
- TopologySpreadConstraint specifies how to spread matching pods among the given topology.
- 类型
object- 必填
maxSkewtopologyKeywhenUnsatisfiable
.spec.topologySpreadConstraints[].labelSelector
- 描述
- LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain.
- 类型
object
.spec.topologySpreadConstraints[].labelSelector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.spec.topologySpreadConstraints[].labelSelector.matchExpressions[]
- 描述
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.spec.topologySpreadConstraints[].labelSelector.matchExpressions[].values
- 描述
- values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- 类型
array
.spec.topologySpreadConstraints[].labelSelector.matchExpressions[].values[]
- 类型
string
.spec.topologySpreadConstraints[].labelSelector.matchLabels
- 描述
- matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- 类型
object
.spec.topologySpreadConstraints[].matchLabelKeys
- 描述
- MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector. This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).
- 类型
array
.spec.topologySpreadConstraints[].matchLabelKeys[]
- 类型
string
.spec.volumes
- 描述
- List of volumes that can be mounted by disks belonging to the vmi.
- 类型
array
.spec.volumes[]
- 描述
- Volume represents a named volume in a vmi.
- 类型
object- 必填
name
.spec.volumes[].cloudInitConfigDrive
- 描述
- CloudInitConfigDrive represents a cloud-init Config Drive user-data source. The Config Drive data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. More info: https://cloudinit.readthedocs.io/en/latest/topics/datasources/configdrive.html
- 类型
object
.spec.volumes[].cloudInitConfigDrive.networkDataSecretRef
- 描述
- NetworkDataSecretRef references a k8s secret that contains config drive networkdata.
- 类型
object
.spec.volumes[].cloudInitConfigDrive.secretRef
- 描述
- UserDataSecretRef references a k8s secret that contains config drive userdata.
- 类型
object
.spec.volumes[].cloudInitNoCloud
- 描述
- CloudInitNoCloud represents a cloud-init NoCloud user-data source. The NoCloud data will be added as a disk to the vmi. A proper cloud-init installation is required inside the guest. More info: http://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html
- 类型
object
.spec.volumes[].cloudInitNoCloud.networkDataSecretRef
- 描述
- NetworkDataSecretRef references a k8s secret that contains NoCloud networkdata.
- 类型
object
.spec.volumes[].cloudInitNoCloud.secretRef
- 描述
- UserDataSecretRef references a k8s secret that contains NoCloud userdata.
- 类型
object
.spec.volumes[].configMap
- 描述
- ConfigMapSource represents a reference to a ConfigMap in the same namespace. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/
- 类型
object
.spec.volumes[].containerDisk
- 描述
- ContainerDisk references a docker image, embedding a qcow or raw disk. More info: https://kubevirt.gitbooks.io/user-guide/registry-disk.html
- 类型
object- 必填
image
.spec.volumes[].dataVolume
- 描述
- DataVolume represents the dynamic creation a PVC for this volume as well as the process of populating that PVC with a disk image.
- 类型
object- 必填
name
.spec.volumes[].downwardAPI
- 描述
- DownwardAPI represents downward API about the pod that should populate this volume
- 类型
object
.spec.volumes[].downwardAPI.fields
- 描述
- Fields is a list of downward API volume file
- 类型
array
.spec.volumes[].downwardAPI.fields[]
- 描述
- DownwardAPIVolumeFile represents information to create the file containing the pod field
- 类型
object- 必填
path
.spec.volumes[].downwardAPI.fields[].fieldRef
- 描述
- Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.
- 类型
object- 必填
fieldPath
.spec.volumes[].downwardAPI.fields[].resourceFieldRef
- 描述
- Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
- 类型
object- 必填
resource
.spec.volumes[].downwardMetrics
- 描述
- DownwardMetrics adds a very small disk to VMIs which contains a limited view of host and guest metrics. The disk content is compatible with vhostmd (https://github.com/vhostmd/vhostmd) and vm-dump-metrics.
- 类型
object
.spec.volumes[].emptyDisk
- 描述
- EmptyDisk represents a temporary disk which shares the vmis lifecycle. More info: https://kubevirt.gitbooks.io/user-guide/disks-and-volumes.html
- 类型
object- 必填
capacity
.spec.volumes[].ephemeral
- 描述
- Ephemeral is a special volume source that "wraps" specified source and provides copy-on-write image on top of it.
- 类型
object
.spec.volumes[].ephemeral.persistentVolumeClaim
- 描述
- PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Directly attached to the vmi via qemu. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- 类型
object- 必填
claimName
.spec.volumes[].hostDisk
- 描述
- HostDisk represents a disk created on the cluster level
- 类型
object- 必填
pathtype
.spec.volumes[].memoryDump
- 描述
- MemoryDump is attached to the virt launcher and is populated with a memory dump of the vmi
- 类型
object- 必填
claimName
.spec.volumes[].persistentVolumeClaim
- 描述
- PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Directly attached to the vmi via qemu. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- 类型
object- 必填
claimName
.spec.volumes[].secret
- 描述
- SecretVolumeSource represents a reference to a secret data in the same namespace. More info: https://kubernetes.io/docs/concepts/configuration/secret/
- 类型
object
.spec.volumes[].serviceAccount
- 描述
- ServiceAccountVolumeSource represents a reference to a service account. There can only be one volume of this type! More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
- 类型
object
.spec.volumes[].sysprep
- 描述
- Represents a Sysprep volume source.
- 类型
object
.spec.volumes[].sysprep.configMap
- 描述
- ConfigMap references a ConfigMap that contains Sysprep answer file named autounattend.xml that should be attached as disk of CDROM type.
- 类型
object
.spec.volumes[].sysprep.secret
- 描述
- Secret references a k8s Secret that contains Sysprep answer file named autounattend.xml that should be attached as disk of CDROM type.
- 类型
object
.status
- 描述
- Status is the high level overview of how the VirtualMachineInstance is doing. It contains information available to controllers and users.
- 类型
object
.status.activePods
- 描述
- ActivePods is a mapping of pod UID to node name. It is possible for multiple pods to be running for a single VMI during migration.
- 类型
object
.status.changedBlockTracking
- 描述
- ChangedBlockTracking represents the status of the changedBlockTracking
- 类型
object- 必填
state
.status.conditions
- 描述
- Conditions are specific points in VirtualMachineInstance's pod runtime.
- 类型
array
.status.conditions[]
- 类型
object- 必填
statustype
.status.currentCPUTopology
- 描述
- CurrentCPUTopology specifies the current CPU topology used by the VM workload. Current topology may differ from the desired topology in the spec while CPU hotplug takes place.
- 类型
object
.status.deviceStatus
- 描述
- DeviceStatus reflects the state of devices requested in spec.domain.devices. This is an optional field available only when DRA feature gate is enabled This field will only be populated if one of the feature-gates GPUsWithDRA or HostDevicesWithDRA is enabled. This feature is in alpha.
- 类型
object
.status.deviceStatus.gpuStatuses
- 描述
- GPUStatuses reflects the state of GPUs requested in spec.domain.devices.gpus
- 类型
array
.status.deviceStatus.gpuStatuses[]
- 类型
object- 必填
name
.status.deviceStatus.gpuStatuses[].deviceResourceClaimStatus
- 描述
- DeviceResourceClaimStatus reflects the DRA related information for the device
- 类型
object
.status.deviceStatus.gpuStatuses[].deviceResourceClaimStatus.attributes
- 描述
- Attributes are properties of the device that could be used by kubevirt and other copmonents to learn more about the device, like pciAddress or mdevUUID
- 类型
object
.status.deviceStatus.hostDeviceStatuses
- 描述
- HostDeviceStatuses reflects the state of GPUs requested in spec.domain.devices.hostDevices DRA
- 类型
array
.status.deviceStatus.hostDeviceStatuses[]
- 类型
object- 必填
name
.status.deviceStatus.hostDeviceStatuses[].deviceResourceClaimStatus
- 描述
- DeviceResourceClaimStatus reflects the DRA related information for the device
- 类型
object
.status.deviceStatus.hostDeviceStatuses[].deviceResourceClaimStatus.attributes
- 描述
- Attributes are properties of the device that could be used by kubevirt and other copmonents to learn more about the device, like pciAddress or mdevUUID
- 类型
object
.status.guestOSInfo
- 描述
- Guest OS Information
- 类型
object
.status.interfaces
- 描述
- Interfaces represent the details of available network interfaces.
- 类型
array
.status.interfaces[]
- 类型
object
.status.interfaces[].ipAddresses
- 描述
- List of all IP addresses of a Virtual Machine interface
- 类型
array
.status.interfaces[].ipAddresses[]
- 类型
string
.status.kernelBootStatus
- 描述
- KernelBootStatus contains info about the kernelBootContainer
- 类型
object
.status.kernelBootStatus.initrdInfo
- 描述
- InitrdInfo show info about the initrd file
- 类型
object
.status.kernelBootStatus.kernelInfo
- 描述
- KernelInfo show info about the kernel image
- 类型
object
.status.machine
- 描述
- Machine shows the final resulting qemu machine type. This can be different than the machine type selected in the spec, due to qemus machine type alias mechanism.
- 类型
object
.status.memory
- 描述
- Memory shows various informations about the VirtualMachine memory.
- 类型
object
.status.migratedVolumes
- 描述
- MigratedVolumes lists the source and destination volumes during the volume migration
- 类型
array
.status.migratedVolumes[]
- 描述
- StorageMigratedVolumeInfo tracks the information about the source and destination volumes during the volume migration
- 类型
object- 必填
volumeName
.status.migratedVolumes[].destinationPVCInfo
- 描述
- DestinationPVCInfo contains the information about the destination PVC
- 类型
object
.status.migratedVolumes[].destinationPVCInfo.accessModes
- 描述
- AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
- 类型
array
.status.migratedVolumes[].destinationPVCInfo.accessModes[]
- 类型
string
.status.migratedVolumes[].destinationPVCInfo.capacity
- 描述
- Capacity represents the capacity set on the corresponding PVC status
- 类型
object
.status.migratedVolumes[].destinationPVCInfo.requests
- 描述
- Requests represents the resources requested by the corresponding PVC spec
- 类型
object
.status.migratedVolumes[].sourcePVCInfo
- 描述
- SourcePVCInfo contains the information about the source PVC
- 类型
object
.status.migratedVolumes[].sourcePVCInfo.accessModes
- 描述
- AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
- 类型
array
.status.migratedVolumes[].sourcePVCInfo.accessModes[]
- 类型
string
.status.migratedVolumes[].sourcePVCInfo.capacity
- 描述
- Capacity represents the capacity set on the corresponding PVC status
- 类型
object
.status.migratedVolumes[].sourcePVCInfo.requests
- 描述
- Requests represents the resources requested by the corresponding PVC spec
- 类型
object
.status.migrationState
- 描述
- Represents the status of a live migration
- 类型
object
.status.migrationState.migrationConfiguration
- 描述
- Migration configurations to apply
- 类型
object
.status.migrationState.sourceState
- 描述
- SourceState contains migration state managed by the source virt handler
- 类型
object
.status.migrationState.sourceState.nodeSelectors
- 描述
- Node selectors needed by the target to start the receiving pod.
- 类型
object
.status.migrationState.targetCPUSet
- 描述
- If the VMI requires dedicated CPUs, this field will hold the dedicated CPU set on the target node
- 类型
array
.status.migrationState.targetCPUSet[]
- 类型
integer
.status.migrationState.targetDirectMigrationNodePorts
- 描述
- The list of ports opened for live migration on the destination node
- 类型
object
.status.migrationState.targetState
- 描述
- TargetState contains migration state managed by the target virt handler
- 类型
object
.status.migrationState.targetState.cpuSet
- 描述
- If the VMI requires dedicated CPUs, this field will hold the dedicated CPU set on the target node
- 类型
array
.status.migrationState.targetState.cpuSet[]
- 类型
integer
.status.migrationState.targetState.directMigrationNodePorts
- 描述
- The list of ports opened for live migration on the destination node
- 类型
object
.status.phaseTransitionTimestamps
- 描述
- PhaseTransitionTimestamp is the timestamp of when the last phase change occurred
- 类型
array
.status.phaseTransitionTimestamps[]
- 描述
- VirtualMachineInstancePhaseTransitionTimestamp gives a timestamp in relation to when a phase is set on a vmi
- 类型
object
.status.topologyHints
- 类型
object
.status.volumeStatus
- 描述
- VolumeStatus contains the statuses of all the volumes
- 类型
array
.status.volumeStatus[]
- 描述
- VolumeStatus represents information about the status of volumes attached to the VirtualMachineInstance.
- 类型
object- 必填
nametarget
.status.volumeStatus[].containerDiskVolume
- 描述
- ContainerDiskVolume shows info about the containerdisk, if the volume is a containerdisk
- 类型
object
.status.volumeStatus[].hotplugVolume
- 描述
- If the volume is hotplug, this will contain the hotplug status.
- 类型
object
.status.volumeStatus[].memoryDumpVolume
- 描述
- If the volume is memorydump volume, this will contain the memorydump info.
- 类型
object
.status.volumeStatus[].persistentVolumeClaimInfo
- 描述
- PersistentVolumeClaimInfo is information about the PVC that handler requires during start flow
- 类型
object
.status.volumeStatus[].persistentVolumeClaimInfo.accessModes
- 描述
- AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
- 类型
array
.status.volumeStatus[].persistentVolumeClaimInfo.accessModes[]
- 类型
string
.status.volumeStatus[].persistentVolumeClaimInfo.capacity
- 描述
- Capacity represents the capacity set on the corresponding PVC status
- 类型
object
.status.volumeStatus[].persistentVolumeClaimInfo.requests
- 描述
- Requests represents the resources requested by the corresponding PVC spec
- 类型
object
API 端点
可用的 API 端点如下:
/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancesDELETE: delete collection of VirtualMachineInstanceGET: list objects of kind VirtualMachineInstancePOST: create a new VirtualMachineInstance
/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}DELETE: delete the specified VirtualMachineInstanceGET: read the specified VirtualMachineInstancePATCH: partially update the specified VirtualMachineInstancePUT: replace the specified VirtualMachineInstance
/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances
- HTTP 方法
DELETE- 描述
- delete collection of VirtualMachineInstance
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind VirtualMachineInstance
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new VirtualMachineInstance
- 查询参数
- 请求体参数
- HTTP 响应
/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}
- HTTP 方法
DELETE- 描述
- delete the specified VirtualMachineInstance
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified VirtualMachineInstance
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified VirtualMachineInstance
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified VirtualMachineInstance
- 查询参数
- 请求体参数
- HTTP 响应