## @section Common parameters ## @param external {bool} Enable external access from outside the cluster external: false ## @param externalMethod {string enum:"PortList,WholeIP"} Specify method to pass through the traffic to the virtual machine. Allowed values: `WholeIP` and `PortList` externalMethod: PortList ## @param externalPorts {[]int} Ports to forward from outside the cluster externalPorts: - 22 ## @param running {bool} Determines if the virtual machine should be running running: true ## @param instanceType {string} Virtual Machine instance type instanceType: "u1.medium" ## @param instanceProfile {string} Virtual Machine preferences profile instanceProfile: ubuntu ## @param disks {[]disk} List of disks to attach ## @field disk.name {string} Disk name ## @field disk.bus {*string} Disk bus type, such as "sata" ## Example: ## disks: ## - name: example-system ## - name: example-data ## bus: sata disks: [] ## @param gpus {[]gpu} List of GPUs to attach (WARN: NVIDIA driver requires at least 4 GiB of RAM) ## @field gpu.name {string} Name of GPU, such as "nvidia.com/AD102GL_L40S" ## Example: ## gpus: ## - name: nvidia.com/GA102GL_A10 gpus: [] ## @param resources {*resources} Resources ## @field resources.cpu {*quantity} The number of CPU cores allocated to the virtual machine ## @field resources.memory {*quantity} The amount of memory allocated to the virtual machine ## @field resources.sockets {*quantity} The number of CPU sockets allocated to the virtual machine (used to define vCPU topology) ## Example ## resources: ## cpu: "4" ## sockets: "1" ## memory: "8Gi" resources: {} ## @param sshKeys {[]string} List of SSH public keys for authentication. Can be a single key or a list of keys. ## Example: ## sshKeys: ## - ssh-rsa ... ## - ssh-ed25519 ... ## sshKeys: [] ## @param cloudInit {string} Cloud-init user data config. See cloud-init documentation for more details: [format](https://cloudinit.readthedocs.io/en/latest/explanation/format.html), [examples](https://cloudinit.readthedocs.io/en/latest/reference/examples.html). ## - https://cloudinit.readthedocs.io/en/latest/explanation/format.html ## - https://cloudinit.readthedocs.io/en/latest/reference/examples.html ## Example: ## cloudInit: | ## #cloud-config ## password: ubuntu ## chpasswd: { expire: False } ## cloudInit: "" ## @param cloudInitSeed {string} A seed string to generate an SMBIOS UUID for the VM. cloudInitSeed: "" ## Change it to any new value to force a full cloud-init reconfiguration. Change it when you want to apply ## to an existing VM settings that are usually written only once, like new SSH keys or new network configuration. ## An empty value does nothing (and the existing UUID is not reverted). Please note that changing this value ## does not trigger a VM restart. You must perform the restart separately. ## Example: ## cloudInitSeed: "upd1"