[supabase][0.0.15] olares-envoy-sidecar CrashLoopBackOff: gateway Envoy collides on base_id=0 (fix: --disable-hot-restart)
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 82/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- kubernetes
- Área
- infrastructure
Línea de trabajo
Lee supabase/templates/supabase-group.yaml alrededor de la línea 308 y revisa el comando de Envoy del contenedor gateway. Añade la opción de hot restart indicada, luego instala o actualiza Supabase e inspecciona los logs del pod y del sidecar. La tarea estará completa cuando los tres contenedores estén listos sin reinicios del sidecar ni el error de vinculación de base_id.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Go Template
- Estrellas
- 56
- Forks
- 44
- Merge medio
- 10 h 39 min
- PR fusionados (30 d)
- 211
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de beclab/apps
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
[Update App] LeantimeAbiertoawaiting triage
Dificultad 3/5 1-2 días Aptitud para principiantes 51/100
beclab/apps#4062 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 15/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
-
[Add App] NodAbiertoawaiting triage
Dificultad 4/5 3-5 días Aptitud para principiantes 46/100
beclab/apps#3961 · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de beclab/apps
Issues similares
-
Emulator tests fail on mainAbiertoarea: ci
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
GlassworksHQ/glassworks#1548 ·
Los mantenedores suelen responder en 1 día
-
agent/quality testing
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
cncf/techdocs#463 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Data refresh is failingAbiertodata-pipeline
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
tagbot-manual
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
SciML/MonteCarloIntegration.jl#49 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
seabbs/bdbv-hub-modelling#1500 ·
Los mantenedores suelen responder en 1 día