Hi everyone,
I am new; I generated SSH keys, copied them over, checked that they worked, enabled passwordless sudo on the user, then copied & pasted (other than the usernames, IP address and SSH port changes) the script from the Quickstart guide.
Here’s the output
⣿⣿⡇⠀⠀⢀⣴⣾⣿⠟⠁⢸⣿⣿⣿⣿⣿⣿⣿⡿⠛⠁⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀█████████ █████████ ███
⠀⣿⣿⡇⣠⣶⣿⡿⠋⠀⠀⠀⢸⣿⡇⠀⠀⠀⣠⠀⠀⢀⣠⡆⢸⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀███ ███ ███
⠀⣿⣿⣿⣿⣟⠋⠀⠀⠀⠀⠀⢸⣿⡇⠀⢰⣾⣿⠀⠀⣿⣿⡇⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀███ ███ ███
⠀⣿⣿⡏⠻⣿⣷⣤⡀⠀⠀⠀⠸⠛⠁⠀⠸⠋⠁⠀⠀⣿⣿⡇⠈⠉⠉⠉⠉⠉⠉⠉⠉⢹⣿⣿⠀███ ███ ███
⠀⣿⣿⡇⠀⠀⠙⢿⣿⣦⣀⠀⠀⠀⣠⣶⣶⣶⣶⣶⣶⣿⣿⡇⢰⣶⣶⣶⣶⣶⣶⣶⣶⣾⣿⣿⠀█████████ ███ ██████████
k0sctl v0.15.5 Copyright 2023, k0sctl authors.
Anonymized telemetry of usage will be sent to the authors.
By continuing to use k0sctl you agree to these terms:
INFO ==> Running phase: Connect to hosts
INFO [ssh] 154.53.59.199:53572: connected
INFO [ssh] 66.94.112.149:53572: connected
INFO ==> Running phase: Detect host operating systems
INFO [ssh] 66.94.112.149:53572: is running Ubuntu 22.04.3 LTS
INFO [ssh] 154.53.59.199:53572: is running Ubuntu 22.04.3 LTS
INFO ==> Running phase: Acquire exclusive host lock
INFO ==> Running phase: Prepare hosts
INFO ==> Running phase: Gather host facts
INFO [ssh] 154.53.59.199:53572: using node1 as hostname
INFO [ssh] 66.94.112.149:53572: using node2 as hostname
INFO [ssh] 154.53.59.199:53572: discovered eth0 as private interface
INFO [ssh] 66.94.112.149:53572: discovered eth0 as private interface
INFO ==> Running phase: Validate hosts
INFO ==> Running phase: Gather k0s facts
INFO ==> Running phase: Validate facts
INFO ==> Running phase: Configure k0s
WARN [ssh] 154.53.59.199:53572: generating default configuration
INFO [ssh] 154.53.59.199:53572: validating configuration
INFO [ssh] 154.53.59.199:53572: configuration was changed
INFO ==> Running phase: Initialize the k0s cluster
INFO [ssh] 154.53.59.199:53572: installing k0s controller
INFO [ssh] 154.53.59.199:53572: waiting for the k0s service to start
INFO [ssh] 154.53.59.199:53572: waiting for kubernetes api to respond
INFO ==> Running phase: Install workers
INFO [ssh] 66.94.112.149:53572: validating api connection to https://154.53.59.199:6443
And then it just gets stuck…
WHat’s more is the same thing happens if I add 10 nodes. It always get stuck on one node (and it’s never the same node IP). Logging in to the node that gets stuck reveals nothing interesting (top/ps aux show no processes are stuck), checking the controller systemctl status, reveals its active).
I am not doing anything fancy.here. Just a basic setup.
Can anyone provide any guidance? I really want to avoid having to setup a full fledged k8s via kubeadm. The motivation behind k0s is interesting, but it’s not proving to be “FRICTIONLESS”…
Thanks.