[supabase][0.0.15] olares-envoy-sidecar CrashLoopBackOff: gateway Envoy collides on base_id=0 (fix: --disable-hot-restart)
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 82/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- kubernetes
調査の方向性
308行目付近の supabase/templates/supabase-group.yaml を読み、gatewayコンテナのEnvoyコマンドを確認してください。報告されたhot restartオプションを追加し、その後Supabaseをインストールまたは更新して、podとsidecarのログを確認してください。sidecarの再起動やbase_idのバインドエラーが発生せず、3つすべてのコンテナがReadyになれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Summary
Supabase 0.0.15 never becomes ready on Olares. The olares-envoy-sidecar container in the supabase pod goes into CrashLoopBackOff immediately, and the studio and gateway containers then fail their startup probes. Olares eventually marks the app as stopped.
Root cause
The supabase pod runs two Envoy processes:
| Container | Image | Command |
|---|---|---|
gateway (from this chart) |
envoyproxy/envoy:v1.39.1 |
envoy -c /config/envoy.yaml --concurrency 2 |
olares-envoy-sidecar (injected by Olares) |
beclab/envoy:v1.25.11.1 |
envoy -c /config/envoy.yaml --service-cluster default. ... |
Neither sets --base-id, so both use the default base_id=0. Envoy's hot-restart support binds an abstract Unix domain socket named after the base id. Containers in a pod share a network namespace, so both processes try to bind the same socket. gateway starts first and gets it, and the sidecar exits with code 1:
unable to bind domain socket with base_id=0, id=0, errno=98 (see --base-id option)
With the sidecar down, the startup probes for studio (:3000/api/platform/profile) and gateway (:8000) get connection refused, even though both processes are running. Studio logs Ready, and gateway logs lds: add/update listener 'supabase' / starting workers.
Fix
In supabase/templates/supabase-group.yaml (line 308 on main), disable hot restart on the gateway's Envoy. It isn't needed in a container:
- exec envoy -c /config/envoy.yaml --concurrency 2'
+ exec envoy -c /config/envoy.yaml --concurrency 2 --disable-hot-restart'
(--base-id 1 would also work.)
I tested this by patching the running Deployment. After the rollout the pod was 3/3 Running with 0 restarts, the sidecar logged starting workers with no bind error, and all three containers passed their probes.
Steps to reproduce
- Install Supabase 0.0.15 from the Olares Market.
kubectl -n supabase-<user> get podsshows the pod at0/3, witholares-envoy-sidecarin CrashLoopBackOff.kubectl -n supabase-<user> logs <pod> -c olares-envoy-sidecarshows thebase_id=0 ... errno=98error.
Environment
- Chart:
supabase0.0.15 (app version 0.8.3), installed from Market - Images:
supabase/studio:2026.10.12-sha-3699278,envoyproxy/envoy:v1.39.1, sidecarbeclab/envoy:v1.25.11.1 - Arch: amd64
Also noticed (minor)
Applying a change to the Deployment prints:
spec.template.spec.containers[1].ports[0]: duplicate port name "service" with spec.template.spec.containers[0].ports[0]
studio and gateway both name their port service, so anything that selects the port by name resolves to studio's. It's harmless right now, but it's worth giving them distinct names.
- 主要言語
- Go Template
- スター
- 56
- フォーク
- 44
- 平均マージ
- 10時間 39分
- マージ済み PR(30日)
- 211
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
beclab/apps のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
awaiting triage
難易度 3/5 1〜2日 初心者へのやさしさ 51/100
beclab/apps#4062 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 15/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
-
[Add App] Nodオープンawaiting triage
難易度 4/5 3〜5日 初心者へのやさしさ 46/100
beclab/apps#3961 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
area: ci
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
GlassworksHQ/glassworks#1548 ·
メンテナーはふだん 1 日以内に返信
-
agent/quality testing
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
cncf/techdocs#463 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
data-pipeline
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
tagbot-manual
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
SciML/MonteCarloIntegration.jl#49 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
seabbs/bdbv-hub-modelling#1500 ·
メンテナーはふだん 1 日以内に返信