You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The logs are not showing anything relevant from my perspective.
Logs
SSH run which lead to the empty cluster:
INFO ==> Running phase: Connect to hosts
INFO [OpenSSH] 192.168.178.81: connected
INFO ==> Running phase: Detect host operating systems
INFO [OpenSSH] 192.168.178.81: is running Ubuntu 24.04.1 LTS
INFO ==> Running phase: Acquire exclusive host lock
INFO ==> Running phase: Prepare hosts
INFO ==> Running phase: Gather host facts
INFO [OpenSSH] 192.168.178.81: using myHost as hostname
INFO [OpenSSH] 192.168.178.81: discovered enp1s0f1 as private interface
INFO ==> Running phase: Validate hosts
INFO ==> Running phase: Gather k0s facts
INFO [OpenSSH] 192.168.178.81: found existing configuration
INFO [OpenSSH] 192.168.178.81: is running k0s single version v1.30.7+k0s.0
WARN [OpenSSH] 192.168.178.81: k0s will be upgraded
INFO ==> Running phase: Validate facts
INFO ==> Running phase: Download k0s on hosts
INFO [OpenSSH] 192.168.178.81: downloading k0s v1.31.3+k0s.0
INFO [OpenSSH] 192.168.178.81: validating configuration
INFO ==> Running phase: Configure k0s
INFO [OpenSSH] 192.168.178.81: installing new configuration
INFO ==> Running phase: Upgrade controllers
INFO [OpenSSH] 192.168.178.81: starting upgrade
INFO [OpenSSH] 192.168.178.81: waiting for the k0s service to start
INFO ==> Running phase: Release exclusive host lock
INFO ==> Running phase: Disconnect from hosts
INFO ==> Finished in 1m41s
INFO k0s cluster version v1.31.3+k0s.0 is now installed
INFO Tip: To access the cluster you can now fetch the admin kubeconfig using:
INFO k0sctl kubeconfig --config k0s/config.yaml
Localhost run which fixed the issue:
INFO ==> Running phase: Connect to hosts
INFO [local] localhost: connected
INFO ==> Running phase: Detect host operating systems
INFO [local] localhost: is running Ubuntu 24.04.1 LTS
INFO ==> Running phase: Acquire exclusive host lock
INFO ==> Running phase: Prepare hosts
INFO ==> Running phase: Gather host facts
INFO [local] localhost: using myHost as hostname
INFO [local] localhost: discovered enp1s0f1 as private interface
INFO [local] localhost: discovered 192.168.178.81 as private address
INFO ==> Running phase: Validate hosts
INFO ==> Running phase: Gather k0s facts
INFO [local] localhost: found existing configuration
INFO [local] localhost: is running k0s single version v1.31.3+k0s.0
INFO ==> Running phase: Validate facts
INFO [local] localhost: validating configuration
INFO ==> Running phase: Configure k0s
INFO [local] localhost: installing new configuration
INFO [local] localhost: restarting k0s service
INFO [local] localhost: waiting for k0s service to start
INFO ==> Running phase: Release exclusive host lock
INFO ==> Running phase: Disconnect from hosts
INFO ==> Finished in 7s
INFO k0s cluster version v1.31.3+k0s.0 is now installed
INFO Tip: To access the cluster you can now fetch the admin kubeconfig using:
INFO k0sctl kubeconfig --config k0s/config.yaml
The text was updated successfully, but these errors were encountered:
I have encountered some unexpected behavior while upgrading my single node K0s cluster from
v1.30.7+k0s.0
-->v1.31.3+k0s.0
using k0sctl (v0.21.0
).Steps to reproduce:
localhost
connection typessh
oropenSSH
.localhost
config from the serverI would be interested in supplying a patch or doc.
As this is reproducible on my side, I can also provide further logs if necessary.
Thanks!
Config diff when overwriting a localhost setup cluster with
openSSH
:So my current assumption is that the installation flips between
kine
andetcd
.Used configs
"Original" config run from `myHost`:changed config run from my workstation:
The logs are not showing anything relevant from my perspective.
Logs
SSH run which lead to the empty cluster:
Localhost run which fixed the issue:
The text was updated successfully, but these errors were encountered: