From 10b2ad9139b3c89f02b30cd203c4149fbe4331d1 Mon Sep 17 00:00:00 2001 From: zhanghao Date: Wed, 28 Oct 2026 17:38:40 +0800 Subject: [PATCH] openresty 0.1.28 and autoconfig 0.4.3: start on 64 KiB-page arm64 hosts On arm64 hosts with 64 KiB pages, openresty 0.1.27 exited at startup with "ngx_slab_alloc() failed: no memory": several shared dicts were too small for the slab pool at that page size. openresty 0.1.28 sizes them all at 1m or more, and autoconfig 0.4.3 does the same for the per-route dicts it renders. Move the openresty chart (and its hagate and reload sidecars) and the autoconfig chart to those releases. --- charts/autoconfig/Chart.yaml | 4 ++-- charts/openresty/Chart.yaml | 10 +++++----- charts/openresty/values.yaml | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/charts/autoconfig/Chart.yaml b/charts/autoconfig/Chart.yaml index e264f7f..4b753e6 100644 --- a/charts/autoconfig/Chart.yaml +++ b/charts/autoconfig/Chart.yaml @@ -2,10 +2,10 @@ apiVersion: v2 name: autoconfig description: k8s 后端发现 → 自动同步 openresty peers / cache-aware-router workers(ModelRoute controller) type: application -version: 0.4.2 +version: 0.4.3 # 镜像版本(values 的 image.tag 留空时回落到它)。 # 与 chart version 同号是 autoconfig 一贯的做法,搬进本仓后保持不变。 -appVersion: "0.4.2" +appVersion: "0.4.3" keywords: [routing, openresty, cache-aware-router, service-discovery, operator] home: https://github.com/modelsphere/autoconfig sources: diff --git a/charts/openresty/Chart.yaml b/charts/openresty/Chart.yaml index 5432986..dd842f3 100644 --- a/charts/openresty/Chart.yaml +++ b/charts/openresty/Chart.yaml @@ -9,12 +9,12 @@ type: application # The chart version tracks appVersion for this chart, so the chart and the image # it ships share one number. Not a rule for every chart here: cart carries a # chart version of its own, independent of the app it ships. -version: 0.1.27 +version: 0.1.28 # The router image tag: values.image.tag is empty by default and falls back to # this, so a release moves both together. # -# 0.1.27 is the first release published for linux/arm64 as well as amd64 -# (4pdosc/llm-openresty:0.1.27, an openresty/v0.1.27 tag upstream); earlier -# images are amd64 only. -appVersion: "0.1.27" +# 0.1.28 (openresty/v0.1.28 upstream) sizes every shared dict to start on arm64 +# hosts with 64 KiB pages; 0.1.27, the first multi-arch release, exits there with +# "ngx_slab_alloc() failed: no memory". Earlier images are amd64 only. +appVersion: "0.1.28" keywords: [openresty, routing, session-affinity, autoconfig] diff --git a/charts/openresty/values.yaml b/charts/openresty/values.yaml index 74faf34..8b9d51c 100644 --- a/charts/openresty/values.yaml +++ b/charts/openresty/values.yaml @@ -18,7 +18,7 @@ ha: enabled: true # Built from the autoconfig project, not from this router, so its version # tracks autoconfig's releases rather than this chart's appVersion. - image: 4pdosc/autoconfig-hagate:0.4.2 + image: 4pdosc/autoconfig-hagate:0.4.3 port: 8081 # Watches the fixed admin port rather than a route port, which comes and goes # with configuration: nginx answering on 8090 is what "really alive" means. @@ -70,7 +70,7 @@ initialRoutes: {} # session_route_.conf entries as filename: con # autoconfig 0.3.46. reload: enabled: true - image: 4pdosc/autoconfig-reload:0.4.2 + image: 4pdosc/autoconfig-reload:0.4.3 process: "nginx: master" service: