-
BackgroundI am curious about implementing FaaS using workerd on K8s. Since workerd cannot be configured dynamically (means its config cannot be changed without restarting), I would like to use rollout restarting. It is needed for the strategy to know if workerd is ready or not. My current viewIn my testing, services on workerd start a bit later than workerd itself starts, so I put a dummy service for startup probe. If we can get a healthy response from the service, workerd is regarded as healthy. It almost works but there are problems of the overhead and it is not 100% accurate. Does anyone have other better idea? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If workerd is accepting connections on the port you configured, then it is ready.
What do you mean here? |
Beta Was this translation helpful? Give feedback.
If workerd is accepting connections on the port you configured, then it is ready.
What do you mean here?