Creating a Talos Kubernetes cluster using Hyper-V.
metal-amd64.iso
from the GitHub releases page.New-TalosVM
folder in one of your PS Module Path folders ($env:PSModulePath -split ';'
) and save the New-TalosVM.psm1 there.VMNamePrefix
argument for the VM name prefix, not the full hostname.
This command will find any existing VM with that prefix and increment the highest suffix found.
For example, if talos-cp01
and talos-cp02
exist, it will create VMs starting from talos-cp03
, depending on the NumberOfVMs
argument.
Note: Ensure the LAB
adapter exists in Hyper-V and is set to external.
Create a single control plane node with the following command:
talos-cp01
VM and power it on.
talos-worker01
and talos-worker02
VMs, each with an additional 50GB VHD for storage (which can be used for Mayastor).
kubeconfig
file, which you can use to connect to the cluster.