Jina 3.13.2 Hotfix

Jina is a MLOps framework that empowers anyone to build cross-modal and multi-modal applications on the cloud.

New release 3.13.2 promotional graphic with magnifying glass over a yellow bubble on a circuit board

Jina is a MLOps framework that empowers anyone to build cross-modal and multi-modal applications on the cloud. It uplifts a PoC into a production-ready service. Jina handles the infrastructure complexity, making advanced solution engineering and cloud-native technologies accessible to every developer.

Release ๐Ÿ’ซ Patch v3.13.2 ยท jina-ai/jina
Release Note (3.13.2)This release contains 1 bug fix.๐Ÿž Bug Fixesfix: respect timeout_ready when generating startup probe (#5560)As Kubernetes Startup Probes were added to all deployments in rel...

Release Note (3.13.2)

This release contains 1 bug fix.

๐Ÿž Bug Fixes

Respect timeout_ready when generating startup probe (#5560)

As Kubernetes Startup Probes were added to all deployments in release v3.13.0, we added default values for all probe configurations. However, if those default configurations were not enough to wait for an Executor that takes time to load and become ready, the Executor deployment would become subject to the configured restart policy. Therefore, Executors that are slow to load would keep restarting forever.

In this patch, this behavior is fixed by making sure that Startup Probe configurations respect the timeout_ready argument of Executors.
Startup Probes are configured like so:

  • periodSeconds always set to 5 seconds
  • timeoutSeconds always set to 10 seconds
  • failureThreshold varies according to timeout_ready. The formula used is failureThreshold = timeout_ready / 5 and in all cases, it will be at least 3. If timeout_ready is -1 (in Jina it means waiting forever for the Executor to
    become ready), since waiting forever is not supported in Kubernetes, the value for failureThreshold will be 120 attempts.

๐Ÿค˜ Contributors

We would like to thank all contributors to this release: