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
Describe the bug
When using k8s cluster provider the registration of the member times out due to a context deadline being set to 0. Seems like it cause by the monitor actor using ReceiveTimeout to get the timeout. ReceiveTimeout is never set for the actor.
Setup a pod with the correct roles to access kubernetes APIs
Use k8s provider when configuring the cluster
Logs are flooded with 10:42:55 ERROR [CLUSTER] [KUBERNETES] Failed to register service to k8s, will retry error="unable to get own pod information for example-54f696bc49-r9npg: context deadline exceeded
I added some debug logs and its indeed caused by the linked line.
Expected behavior
Member is registered correctly.
The text was updated successfully, but these errors were encountered:
* Used slice of anoymous structs as payload while sending patch
operation to k8s cluster
* Fixed watch mechanism to do not cancel the operation immediately
* Made sure an outtime is set while registering members on k8s
Describe the bug
When using k8s cluster provider the registration of the member times out due to a context deadline being set to 0. Seems like it cause by the monitor actor using ReceiveTimeout to get the timeout. ReceiveTimeout is never set for the actor.
https://github.com/asynkron/protoactor-go/blob/dev/cluster/clusterproviders/k8s/k8s_cluster_monitor.go#L21
To Reproduce
10:42:55 ERROR [CLUSTER] [KUBERNETES] Failed to register service to k8s, will retry error="unable to get own pod information for example-54f696bc49-r9npg: context deadline exceeded
I added some debug logs and its indeed caused by the linked line.
Expected behavior
Member is registered correctly.
The text was updated successfully, but these errors were encountered: