-
-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When a requeue is returned from the controller, the item is placed on the queue with a 1 minute interval regardless of what the code sends in
To Reproduce
In your ReconcileAsync
method simple return return ResourceControllerResult.RequeueEvent(TimeSpan.FromMinutes(15));
Expected behavior
dbug: KubeOps.Operator.Kubernetes.ResourceWatcher[0]
The server closed the connection. Trying to reconnect.
dbug: KubeOps.Operator.Controller.ManagedResourceController[0]
Execute/Reconcile event "Reconcile" on resource "ClusterEntity/auto-sample-await".
dbug: ClusterController[0]
Entered reconcile - state Verified - 4/25/2022 3:31:03 PM
info: KubeOps.Operator.Controller.ManagedResourceController[0]
Event type "Reconcile" on resource "ClusterEntity/auto-sample-await" successfully reconciled. Requeue requested with delay "00:15:00".
dbug: KubeOps.Operator.Kubernetes.ResourceWatcher[0]
The server closed the connection. Trying to reconnect.
dbug: KubeOps.Operator.Controller.ManagedResourceController[0]
Execute/Reconcile event "Reconcile" on resource "ClusterEntity/auto-sample-await".
dbug: ClusterController[0]
Entered reconcile - state Verified - 4/25/2022 3:32:03 PM <<== This shouldnt be every min, but should be every 15 mins
Additional context
This line seems to have something to do with the issue :
dbug: KubeOps.Operator.Kubernetes.ResourceWatcher[0] The server closed the connection. Trying to reconnect.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working