diff --git a/k8s/apps/homarr/homarr-values.yaml b/k8s/apps/homarr/homarr-values.yaml index 5a260ca..f85d126 100644 --- a/k8s/apps/homarr/homarr-values.yaml +++ b/k8s/apps/homarr/homarr-values.yaml @@ -40,6 +40,9 @@ env: AUTH_OIDC_AUTO_LOGIN: "false" # Link the OIDC identity to an existing homarr account with the same email. OAUTH_ALLOW_DANGEROUS_EMAIL_ACCOUNT_LINKING: "true" + # The analytics cron blocked the (single-threaded) Next.js event loop for ~16s + # per run ("callback took longer than expected"), compounding CPU pressure. + DISABLE_ANALYTICS: "true" BASE_URL: "https://homarr.riotpiao.com" NEXTAUTH_URL: "https://homarr.riotpiao.com" @@ -64,8 +67,12 @@ tolerations: resources: requests: - cpu: 100m - memory: 256Mi + cpu: 250m + memory: 384Mi limits: - cpu: 500m - memory: 512Mi + # Next.js 16 + bundled redis + the icon-updater (28k icons) saturated the old + # 500m limit; CPU throttling made Next.js abort with exit 134 (SIGABRT) and + # self-restart in a loop, so nginx saw no upstream and returned 502. Give it + # real CPU headroom. + cpu: "2" + memory: 1Gi