Tags: PSPDFKit/helm-charts
Tags
Add Envoy sidecar for consistent hashing algorithm (#108) This pull request introduces version 7.2.0 of the Document Engine Helm chart. The main change is the addition of Envoy as an optional sidecar container, enabling consistent hashing for improved load distribution. The documentation and configuration files have been updated to reflect this new feature, and a minimal test configuration for the Envoy sidecar has been added. **New Feature: Envoy Sidecar for Consistent Hashing** - Added support for deploying Envoy as an optional sidecar to enable consistent hashing by document ID, which helps with better load distribution. This includes new configuration options in `values.yaml` and documentation updates. [[1]](diffhunk://#diff-89bb6ce3e4fdf1f854e56aa0179a6406322e578b0fd39969019481e79430b2ceL170-R193) [[2]](diffhunk://#diff-058d533bfc711140ae63152cc11aaf48bcb4d7d20dca64bfd8a157bf2d605d1bR425-R452) [[3]](diffhunk://#diff-058d533bfc711140ae63152cc11aaf48bcb4d7d20dca64bfd8a157bf2d605d1bL484-R533) **Documentation and Versioning Updates** - Updated the version to 7.2.0 in `Chart.yaml` and `README.md` to reflect the new release. [[1]](diffhunk://#diff-58460ff3a5cd0697e7a245efcb688afe5bc5936a764a6d3b2fe92230310a013fL7-R7) [[2]](diffhunk://#diff-058d533bfc711140ae63152cc11aaf48bcb4d7d20dca64bfd8a157bf2d605d1bL3-R3) - Expanded the changelog with an entry for 7.2.0 describing the Envoy sidecar addition. [[1]](diffhunk://#diff-89bb6ce3e4fdf1f854e56aa0179a6406322e578b0fd39969019481e79430b2ceR4-R5) [[2]](diffhunk://#diff-89bb6ce3e4fdf1f854e56aa0179a6406322e578b0fd39969019481e79430b2ceL170-R193) - Adjusted documentation tables and anchor links in `README.md` to include new Envoy sidecar options and account for shifted line numbers due to the new configuration. [[1]](diffhunk://#diff-058d533bfc711140ae63152cc11aaf48bcb4d7d20dca64bfd8a157bf2d605d1bR425-R452) [[2]](diffhunk://#diff-058d533bfc711140ae63152cc11aaf48bcb4d7d20dca64bfd8a157bf2d605d1bL484-R533) [[3]](diffhunk://#diff-058d533bfc711140ae63152cc11aaf48bcb4d7d20dca64bfd8a157bf2d605d1bL529-R543) [[4]](diffhunk://#diff-89bb6ce3e4fdf1f854e56aa0179a6406322e578b0fd39969019481e79430b2ceL17-R62) [[5]](diffhunk://#diff-89bb6ce3e4fdf1f854e56aa0179a6406322e578b0fd39969019481e79430b2ceL74-R76) [[6]](diffhunk://#diff-89bb6ce3e4fdf1f854e56aa0179a6406322e578b0fd39969019481e79430b2ceL89-R91) [[7]](diffhunk://#diff-89bb6ce3e4fdf1f854e56aa0179a6406322e578b0fd39969019481e79430b2ceL107-R109) [[8]](diffhunk://#diff-89bb6ce3e4fdf1f854e56aa0179a6406322e578b0fd39969019481e79430b2ceL117-R122) [[9]](diffhunk://#diff-89bb6ce3e4fdf1f854e56aa0179a6406322e578b0fd39969019481e79430b2ceL139-R161) **Testing and CI** - Added a minimal test configuration file (`ci/05-envoy-sidecar-values.yaml`) to validate the Envoy sidecar and consistent hashing setup, including multiple replicas and headless service for pod discovery. - Updated CI documentation to describe the new Envoy sidecar test scenario. --------- Co-authored-by: Ingvarr Zhmakin <[email protected]>
Document Engine: fix Redis TTL setting, S3 and Redis secrets definiti… …on (#92) Co-authored-by: Ingvarr Zhmakin <[email protected]>
Document Engine: Update Grafana dashboard (#100) ## Summary Enhanced the Document Engine dashboard from 30 to 63 panels, adding comprehensive observability across all system components. ## Changes - **Added 8 new sections**: PostgreSQL, Redis Cache, Memory Cache, HTTP/2 Streaming, Remote Documents, Document Conversion, Digital Signatures, Queue Drops & Errors - **Split Erlang VM memory**: Separate panels for Process, Binary, ETS, and Atom memory - **Added emojis**: All 14 sections now have emoji prefixes for better navigation - **Optimized queries**: Replaced `delta()` with `increase()` for counters, removed redundant filters - **Removed unused variable**: Cleaned up `erlang_memory_detail_metrics` variable - **Better organization**: Logical grouping of related metrics ## New Metrics Covered - PostgreSQL: query duration, connection pool, decode time - Redis: cache hits/misses, operations, errors (when enabled) - Memory cache: hit/miss rates and ratios - HTTP/2: worker checkout time, render tile duration, process creation - Remote documents: TTFB and download time - Document conversion: conversion duration and rate - Digital signatures: signing, certificates, timestamps (when enabled) - Queue management: dropped requests and fallback hits --------- Co-authored-by: Ingvarr Zhmakin <[email protected]>
PreviousNext