NoProxy in some self host environments
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Documentación
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- helm, kubernetes
- Área
- devops, documentation, infrastructure
Línea de trabajo
El issue identifica los pods gitserver-0 y repo-updater y los valores NO_PROXY requeridos localhost, sourcegraph-frontend-internal y gitserver-0.gitserver. Encuentra la entrada relevante de la documentación de Helm para la configuración del proxy de los pods, documenta estos ajustes y el contexto del fallo, y verifica que las indicaciones cubran ambos pods.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I've recently deployed SourceGraph with the Code Host GitHub. The environment where it was delpoyed uses injected proxies for the internal applications to reach the internet; this includes http, https and no_proxy. I had quite some issues for a while, having to track the traffic to see what went wrong.
Specifically, there was a problem in the repo-updater pod that caused other pods to fail as well; the error message found in the logs being: [...] error="invalid character '<' looking for beginning of value". Furthermore, the gitserver-0 pod failed once the repo-updater had been fixed.
Solution:
The problem in my case was that the proxy was routing internal traffic using the cluster internal DNS to the internet, which of course returned errors. In this specific case, an error page that returned HTML content, which caused the go code to fail.
When setting proxies for the pods, the gitserver-0 and repo-updater pods require a no_proxy/NO_PROXY envvar with the following values: localhost,sourcegraph-frontend-internal,gitserver-0.gitserver. This is assuming that your http/https proxies forward all other traffic elsewhere.
Given that this has caused quite a headache while fixing,this might be worth adding somewhere in your documentation, hopefully helping out other PoCs.
not sure if it's a similar issue, but at least the error message and the use of a proxy was identical in https://github.com/sourcegraph/sourcegraph/issues/2360
- Lenguaje dominante
- Go Template
- Estrellas
- 19
- Forks
- 24
- Merge medio
- 1 d 4 h
- PR fusionados (30 d)
- 13
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
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 sourcegraph/deploy-sourcegraph-helm
-
Dificultad 3/5 1-2 días Aptitud para principiantes 38/100
sourcegraph/deploy-sourcegraph-helm#612 · 3 comentarios ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 38/100
sourcegraph/deploy-sourcegraph-helm#401 · 1 comentario ·
-
enhancement team/release-ship
sourcegraph/deploy-sourcegraph-helm#388 · 2 asignados ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 55/100
Todos los issues de sourcegraph/deploy-sourcegraph-helm
Issues similares
-
kind/bug needs-triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
matrixorigin/matrixone#29223 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
copse-dev/agent-pane#2953 ·
-
bug ci-failure high priority
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
vllm-project/vllm-omni#7972 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
simonw/sqlite-utils#872 ·
-
bug good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
amponce/archive-movie-browser#166 ·