talos icon indicating copy to clipboard operation
talos copied to clipboard

Hyper-V Setup according to manual fails.

Open Martin-Forster opened this issue 2 years ago • 6 comments

Dear Sirs,

im trying , the 1st time in my life, to setup a kubernetes cluster, utilizing talos.

Im following the guide

This seems to work until: talosctl apply-config --insecure --nodes $CONTROL_PLANE_IP --file .\controlplane.yaml This command seems to be not successful.

When the machined restarts i end up , it looks like, a non working api on port 6443. I have multiple error messages which ends up like connect: connection refused.

Environment:

HYPER V 2016 talos-amd64.iso from release 1.22 utilizing a existing network with a active dhcp server.

Screenshot with some output

image

My ultimate goal is to to setup kubernetes cluster for ci/cd usage, and tests. I do not have any pervious expierence with kubernetes. My Idea was that stuff like k3os, or talos would give me a easy and trimmed down approach.

Martin-Forster avatar Sep 19 '22 12:09 Martin-Forster

It looks like you missed the 'Bootstrap' step probably: https://www.talos.dev/v1.2/talos-guides/install/virtualized-platforms/hyper-v/#bootstrap-cluster****

smira avatar Sep 19 '22 13:09 smira

that is accorrding to the document the last step. After

  • Pushing Config to the Nodes

i start to get errors,

the following commands then fail.

Martin-Forster avatar Sep 19 '22 14:09 Martin-Forster

The logs you provided probably mean that there was no bootstrap issued. If you had other errors running bootstrap, let's talk about them. But without bootstrap the cluster will never come up.

smira avatar Sep 19 '22 15:09 smira

So you suggest that the order of commands in the documentation https://www.talos.dev/v1.2/talos-guides/install/virtualized-platforms/hyper-v/#bootstrap-cluster

is wrong ?

Maybe i was not clear enough, at the mentionend state i start getting erros, the follow up command gives me errors as well. The commands later one, just return missing context, whatever that should mean

Martin-Forster avatar Sep 19 '22 15:09 Martin-Forster

Probably you should also read generic intro https://www.talos.dev/v1.2/introduction/getting-started/ to understand the common concepts.

The Hyper-V guide is missing some steps, probably you need to run talosctl config merge ./talosconfig to merge talosconfig generated for your cluster into default talosconfig search path.

smira avatar Sep 19 '22 15:09 smira

Thanks i will try

Martin-Forster avatar Sep 19 '22 16:09 Martin-Forster

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Jul 04 '24 01:07 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Jul 09 '24 01:07 github-actions[bot]