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
During a reinstall triggered by changes to installFlags, k0sctl 0.19.0 timed out while waiting for scheduling events and exited with an error:
failed to observe scheduling events after api start-up, you can ignore this check by using --force: context deadline exceeded\ndidn't find any 'Scheduled' kube-system events after ...
It seems that the reinstall phase includes k0sctl trying to look for fresh scheduling-related events in the kube-system namespace:
log.Debugf("%s: found a 'Scheduled' event occuring after %s", h, since)
returnnil
}
returnfmt.Errorf("didn't find any 'Scheduled' kube-system events after %s", since)
}
}
This particular cluster has an almost empty kube-system namespace: there are just four CoreDNS pods in it. Nothing really happens there and it can take a while for new scheduling events to show up.
The text was updated successfully, but these errors were encountered:
Looks like k0sctl has to stop waiting for scheduling events in the case of changed installFlags since changing those do not necessarily even trigger any scheduling events.
kke
linked a pull request
Nov 18, 2024
that will
close
this issue
During a reinstall triggered by changes to
installFlags
, k0sctl 0.19.0 timed out while waiting for scheduling events and exited with an error:It seems that the reinstall phase includes k0sctl trying to look for fresh scheduling-related events in the
kube-system
namespace:k0sctl/phase/reinstall.go
Lines 120 to 126 in 9246ddc
k0sctl/pkg/node/statusfunc.go
Lines 103 to 125 in 9246ddc
This particular cluster has an almost empty
kube-system
namespace: there are just four CoreDNS pods in it. Nothing really happens there and it can take a while for new scheduling events to show up.The text was updated successfully, but these errors were encountered: