NoProxy in some self host environments
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 45/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- helm, kubernetes
調査の方向性
この issue では、gitserver-0 と repo-updater の pod、および必要な NO_PROXY の値 localhost、sourcegraph-frontend-internal、gitserver-0.gitserver が特定されています。pod のプロキシ設定に関する Helm ドキュメントの該当する項目を見つけ、これらの設定と障害の状況を文書化し、そのガイダンスが両方の pod を対象としていることを確認してください。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Go Template
- スター
- 19
- フォーク
- 24
- 平均マージ
- 1日 12時間
- マージ済み PR(30日)
- 12
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sourcegraph/deploy-sourcegraph-helm のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
sourcegraph/deploy-sourcegraph-helm#612 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
sourcegraph/deploy-sourcegraph-helm#590 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
sourcegraph/deploy-sourcegraph-helm#401 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Add toggle to deploy db exporters for external databases再び着手できるかも @DaedalusG が 1003 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement team/release-ship
sourcegraph/deploy-sourcegraph-helm#388 · 担当者 2 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
sourcegraph/deploy-sourcegraph-helm#349 ·
メンテナーはふだん 1 日以内に返信
sourcegraph/deploy-sourcegraph-helm の issue をすべて見る
似ている issue
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100