Closed wujun4code closed 4 months ago
Please follow steps to the very end of the document: https://www.talos.dev/v1.7/talos-guides/install/virtualized-platforms/hyper-v/#bootstrap-cluster
@smira Thanks. I did all the steps, but got this ->
and control plane is stuck at this state ->
and workers failed to bootstrap either
The Hyper-V documentation is missing some steps, specifically this: https://www.talos.dev/v1.7/introduction/getting-started/#default-talosconfig-configuration-file
(I would recommend to read the whole getting started guide).
@smira Thanks so much, I fixed it.
New-TalosVM -VMNamePrefix talos-cp -CPUCount 2 -StartupMemory 4GB -SwitchName wired-external -TalosISOPath C:\Users\Jun\Downloads\metal-amd64.iso -NumberOfVMs 1 -VMDestinationBasePath 'D:\VHD\Talos'
New-TalosVM -VMNamePrefix talos-worker -CPUCount 4 -StartupMemory 8GB -SwitchName wired-external -TalosISOPath C:\Users\Jun\Downloads\metal-amd64.iso -NumberOfVMs 2 -VMDestinationBasePath 'D:\VHD\Talos' -StorageVHDSize 50GB
$CONTROL_PLANE_IP='192.168.6.145'
talosctl gen config talos-cluster https://$($CONTROL_PLANE_IP):6443 --output-dir .
talosctl apply-config --insecure --nodes $CONTROL_PLANE_IP --file .\controlplane.yaml
talosctl apply-config --insecure --nodes 192.168.6.142 --file .\worker.yaml
talosctl apply-config --insecure --nodes 192.168.6.143 --file .\worker.yaml
talosctl bootstrap --nodes $CONTROL_PLANE_IP --endpoints $CONTROL_PLANE_IP --talosconfig=./talosconfig
talosctl kubeconfig --nodes $CONTROL_PLANE_IP --endpoints $CONTROL_PLANE_IP --talosconfig=./talosconfig
Bug Report
Description
I followed all the steps from https://www.talos.dev/v1.7/talos-guides/install/virtualized-platforms/hyper-v/
Logs
Environment