Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 4.39 KB

V1VirtualMachineInstanceSpec.md

File metadata and controls

28 lines (24 loc) · 4.39 KB

V1VirtualMachineInstanceSpec

Properties

Name Type Description Notes
access_credentials list[V1AccessCredential] Specifies a set of public keys to inject into the vm guest [optional]
affinity K8sIoApiCoreV1Affinity If affinity is specifies, obey all the affinity rules [optional]
dns_config K8sIoApiCoreV1PodDNSConfig Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. [optional]
dns_policy str Set DNS policy for the pod. Defaults to "ClusterFirst". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. [optional]
domain V1DomainSpec Specification of the desired behavior of the VirtualMachineInstance on the host.
eviction_strategy str EvictionStrategy can be set to "LiveMigrate" if the VirtualMachineInstance should be migrated instead of shut-off in case of a node drain. [optional]
hostname str Specifies the hostname of the vmi If not specified, the hostname will be set to the name of the vmi, if dhcp or cloud-init is configured properly. [optional]
liveness_probe V1Probe 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 [optional]
networks list[V1Network] List of networks that can be attached to a vm's virtual interface. [optional]
node_selector dict(str, str) 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/ [optional]
priority_class_name str If specified, indicates the pod's priority. If not specified, the pod priority will be default or zero if there is no default. [optional]
readiness_probe V1Probe 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 [optional]
scheduler_name str If specified, the VMI will be dispatched by specified scheduler. If not specified, the VMI will be dispatched by default scheduler. [optional]
start_strategy str StartStrategy can be set to "Paused" if Virtual Machine should be started in paused state. [optional]
subdomain str If specified, the fully qualified vmi hostname will be &quot;<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>&quot;. If not specified, the vmi will not have a domainname at all. The DNS entry will resolve to the vmi, no matter if the vmi itself can pick up a hostname. [optional]
termination_grace_period_seconds int Grace period observed after signalling a VirtualMachineInstance to stop after which the VirtualMachineInstance is force terminated. [optional]
tolerations list[K8sIoApiCoreV1Toleration] If toleration is specified, obey all the toleration rules. [optional]
topology_spread_constraints list[K8sIoApiCoreV1TopologySpreadConstraint] 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. [optional]
volumes list[V1Volume] List of volumes that can be mounted by disks belonging to the vmi. [optional]

[Back to Model list] [Back to API list] [Back to README]