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
K0smotron 1.0.2
Managed cluster with k0s as a bootstrap provider and aws as an infrastructure provider using cluster API (simple setup for testing: 1 control plane, 1 worker)
Issue definition
Sometimes the k0smotron controller may hang for some time (usually after some error) and does not reconcile the resources while it should.
For example, the k0smotron controller failed to reconcile the dynamic config at 07:49 and the next log message appeared only at 07:59 (10 minutes standstill). At the same time, the dynamic config became ready almost immediately after the first failure.
This makes the cluster deployment take more time than it should and the k0smotron controller should retry earlier.
See logs:
2024-07-18T07:49:42Z ERROR Failed to reconcile dynamic config {"controller": "k0scontrollerconfig", "controllerGroup": "bootstrap.cluster.x-k8s.io", "controllerKind": "K0sControllerConfig", "K0sControllerConfig": {"name":"ekaz-dev-cp-0","namespace":"hmc-system"}, "namespace": "hmc-system", "name": "ekaz-dev-cp-0", "reconcileID": "e65fee16-0c4c-402b-967f-e62238688930", "K0sControllerConfig": {"name":"ekaz-dev-cp-0","namespace":"hmc-system"}, "kind": "Machine", "version": "17838", "name": "ekaz-dev-cp-0", "error": "failed to reconcile dynamic config, kubeconfig may not be available yet: failed to patch k0s config: failed to get API group resources: unable to retrieve the complete list of server APIs: k0s.k0sproject.io/v1beta1: client rate limiter Wait returned an error: context deadline exceeded - error from a previous attempt: EOF"}
github.com/k0sproject/k0smotron/internal/controller/bootstrap.(*ControlPlaneController).Reconcile
/workspace/internal/controller/bootstrap/controlplane_bootstrap_controller.go:165
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:119
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:316
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227
2024-07-18T07:59:37Z INFO Reconciling K0sConfig {"controller": "k0sworkerconfig", "controllerGroup": "bootstrap.cluster.x-k8s.io", "controllerKind": "K0sWorkerConfig", "K0sWorkerConfig": {"name":"ekaz-dev-md-77z9b-6rpc2","namespace":"hmc-system"}, "namespace": "hmc-system", "name": "ekaz-dev-md-77z9b-6rpc2", "reconcileID": "3db68c05-836d-4dd2-b678-e0a4da4d4351", "k0sconfig": {"name":"ekaz-dev-md-77z9b-6rpc2","namespace":"hmc-system"}}
The text was updated successfully, but these errors were encountered:
discussed in the internal k0smotron office hours:
this possible might be resolved with newer versions of k0smotron, let's test again and provide feedback
Environment
K0smotron
1.0.2
Managed cluster with k0s as a bootstrap provider and aws as an infrastructure provider using cluster API (simple setup for testing: 1 control plane, 1 worker)
Issue definition
Sometimes the k0smotron controller may hang for some time (usually after some error) and does not reconcile the resources while it should.
For example, the k0smotron controller failed to reconcile the dynamic config at
07:49
and the next log message appeared only at07:59
(10 minutes standstill). At the same time, the dynamic config became ready almost immediately after the first failure.This makes the cluster deployment take more time than it should and the k0smotron controller should retry earlier.
See logs:
The text was updated successfully, but these errors were encountered: