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 deployment is indeed successful, despite the error message.
Seems that the detection of the deployed pod failed, so serverless-kubeless keeps printing the error message and creating new pods.
With kubectl get pod I can see there is one function pod in Running status and several in Terminating status.
Hi @ccll,
That error is triggered when the are no pods with the label function=<function_name> or when the creation timestamp is older than the moment in which the creation request is made (in order to avoid detecting old deployments as new). Sometimes the clock between the cluster and the client gets misconfigured.
Can you check if when you deploy a new pod it gets created with an AGE greater than 0 seconds?
Also, in your screenshot there are several pods (Running and Terminating), are all those pods related to the same function? (only one should be there)
@andresmgot Yes, the clock is exactly the problem!
My client clock is several seconds ahead of the cluster, after re-sync the clock the issue disappears.
And it also turns out the multiple pods of the same function is caused by kubeless, the same behavior is observed when deploying the function with the kubeless CLI.
The deployment is indeed successful, despite the error message.
Seems that the detection of the deployed pod failed, so serverless-kubeless keeps printing the error message and creating new pods.
With
kubectl get pod
I can see there is one function pod inRunning
status and several inTerminating
status.My environment:
The text was updated successfully, but these errors were encountered: