mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-26 01:31:26 -05:00
[node operator] PendingNode: check if node was deleted every 30 seconds after regular deadline expires
Signed-off-by: Malte Poll <mp@edgeless.systems>
This commit is contained in:
parent
0b0a3454fa
commit
b0d93b96dc
@ -128,6 +128,7 @@ func (r *PendingNodeReconciler) Reconcile(ctx context.Context, req ctrl.Request)
|
|||||||
case updatev1alpha1.NodeGoalLeave:
|
case updatev1alpha1.NodeGoalLeave:
|
||||||
logr.Info("Node was not terminated on time", "pendingNodeGoal", pendingNode.Spec.Goal, "cspNodeState", nodeState)
|
logr.Info("Node was not terminated on time", "pendingNodeGoal", pendingNode.Spec.Goal, "cspNodeState", nodeState)
|
||||||
// TODO: decide if other actions should be taken here (e.g. send another request to delete node)
|
// TODO: decide if other actions should be taken here (e.g. send another request to delete node)
|
||||||
|
return ctrl.Result{RequeueAfter: defaultCheckInterval}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
return ctrl.Result{}, nil
|
return ctrl.Result{}, nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user