diff --git a/charts/aisix-cp/Chart.yaml b/charts/aisix-cp/Chart.yaml index d259f41..f899bb8 100644 --- a/charts/aisix-cp/Chart.yaml +++ b/charts/aisix-cp/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: aisix-cp description: Helm chart for AISIX control plane (cp-api, dp-manager, dashboard) type: application -version: 0.8.2 -appVersion: "0.8.2" +version: 0.9.0 +appVersion: "0.9.0" maintainers: - name: API7 diff --git a/charts/aisix-cp/README.md b/charts/aisix-cp/README.md index f417d15..e14b92d 100644 --- a/charts/aisix-cp/README.md +++ b/charts/aisix-cp/README.md @@ -1,6 +1,6 @@ # aisix-cp -![Version: 0.8.2](https://img.shields.io/badge/Version-0.8.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.8.2](https://img.shields.io/badge/AppVersion-0.8.2-informational?style=flat-square) +![Version: 0.9.0](https://img.shields.io/badge/Version-0.9.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.9.0](https://img.shields.io/badge/AppVersion-0.9.0-informational?style=flat-square) Helm chart for AISIX control plane (cp-api, dp-manager, dashboard) diff --git a/charts/aisix-cp/templates/api-deployment.yaml b/charts/aisix-cp/templates/api-deployment.yaml index 2da0c9a..c187032 100644 --- a/charts/aisix-cp/templates/api-deployment.yaml +++ b/charts/aisix-cp/templates/api-deployment.yaml @@ -96,12 +96,25 @@ spec: # can outlast the liveness budget below and kill the pod # MID-MIGRATION. The startupProbe suspends liveness and # readiness until the server is actually up. + # + # 30 minutes, because a migration that REWRITES a table is + # bounded by table size, not by a fixed bootstrap cost. The + # 0.9.0 widening of dpmgr_usage_events.request_id (uuid -> + # text) measured 6m21s on 10M rows — roughly what 30 days of + # retention holds at a sustained 4 req/s — and it scales + # linearly from there. The previous 5-minute budget would have + # turned that upgrade into the exact crash loop this probe + # exists to prevent. + # + # The cost is that a genuinely wedged cp-api goes unrestarted + # for up to 30 minutes on FIRST start only; once the probe + # succeeds, the liveness budget below takes over unchanged. startupProbe: httpGet: path: /healthz port: http periodSeconds: 5 - failureThreshold: 60 + failureThreshold: 360 livenessProbe: httpGet: path: /healthz diff --git a/charts/aisix/Chart.yaml b/charts/aisix/Chart.yaml index 984162f..009d1e5 100644 --- a/charts/aisix/Chart.yaml +++ b/charts/aisix/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: aisix description: Helm chart for the AISIX AI gateway data plane type: application -version: 0.8.2 -appVersion: "0.8.2" +version: 0.9.0 +appVersion: "0.9.0" keywords: - ai-gateway diff --git a/charts/aisix/README.md b/charts/aisix/README.md index 66fe165..53b78fa 100644 --- a/charts/aisix/README.md +++ b/charts/aisix/README.md @@ -1,6 +1,6 @@ # aisix -![Version: 0.8.2](https://img.shields.io/badge/Version-0.8.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.8.2](https://img.shields.io/badge/AppVersion-0.8.2-informational?style=flat-square) +![Version: 0.9.0](https://img.shields.io/badge/Version-0.9.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.9.0](https://img.shields.io/badge/AppVersion-0.9.0-informational?style=flat-square) Helm chart for the AISIX AI gateway data plane