Introduce a flag to limit the max size of Flux artifacts
まだ誰も着手していません。
評価
調査の方向性
まず既存の --helm-index-max-size フラグを追跡し、次に GitRepository、OCIRepository、Bucket ソースの reconciliation を調査します。提案された --artifact-max-size の 50MiB 制限が追加され、制限に達したときに reconciliation が実行可能なエラーで失敗し、各ソースタイプに対応する spec.ignore のドキュメントがリンクされれば完了です。
索引モデルが issue の本文から書いたものです。
説明
To avoid OOM errors like the one reported here, I think we need to introduce a flag for limiting the size of artifacts produced by source-controller (we do have such a flag but only for Helm artifacts).
Proposal (breaking change)
Add a flag --artifact-max-size with the default set to 50MiB (same default as for --helm-index-max-size).
If the max limit is reached, the controller should fail to reconcile the source and error out with a message that invites users to setup spec.ignore and exclude non-Kubernetes files. Depending on the source type we should link to one of the following docs:
- 主要言語
- Go
- スター
- 283
- フォーク
- 252
- 平均マージ
- 1時間 6分
- マージ済み PR(30日)
- 12
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fluxcd/source-controller のほかの issue
-
area/docs good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
fluxcd/source-controller#666 · コメント 2 件 ·
-
area/oci area/security enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
fluxcd/source-controller#2167 · コメント 4 件 · リアクション 1 件 ·
-
area/git bug
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
fluxcd/source-controller#2165 · コメント 3 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
fluxcd/source-controller#2150 ·
-
GitRepository `.spec.ref.commit` + `.spec.ref.branch` does not shallow clone, contrary to the docs オープン
難易度 5/5 1週間以上 初心者へのやさしさ 42/100
fluxcd/source-controller#2146 · コメント 2 件 ·
fluxcd/source-controller の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
prometheus/procfs#872 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
bazel-contrib/rules_go#4726 · コメント 1 件 ·
-
area/auto-scaling area/monitoring area/ops-productivity kind/enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100