Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Introduce a flag to limit the max size of Flux artifacts

オープン
#901 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go
領域
devops

調査の方向性

まず既存の --helm-index-max-size フラグを追跡し、次に GitRepository、OCIRepository、Bucket ソースの reconciliation を調査します。提案された --artifact-max-size の 50MiB 制限が追加され、制限に達したときに reconciliation が実行可能なエラーで失敗し、各ソースタイプに対応する spec.ignore のドキュメントがリンクされれば完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fluxcd/source-controller のほかの issue

fluxcd/source-controller の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。