> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 設定

FineParser Enterprise の設定には Helm 値を使用します。設定内容は値ファイルにまとめ、`helm install` や `helm upgrade` を実行する際には毎回そのファイルを渡してください。Helm はファイルの内容をチャートのスキーマと照合するため、型が誤っている値は変更が適用される前に拒否されます。

## ベースとなる値ファイル

```yaml fineparser-values.yaml theme={null}
serviceAccount:
  create: false
  name: fineparser

storage:
  inProcess:
    efs:
      fileSystemId: fs-0123456789abcdef0
  output:
    s3:
      bucket: my-fineparser-output
  s3:
    region: us-east-2

scaling:
  maxWorkers: 20
```

次のように適用します。

```bash theme={null}
helm upgrade --install fineparser \
  oci://709825985650.dkr.ecr.us-east-1.amazonaws.com/abbyy/fineparser-enterprise/fineparser-enterprise \
  --version <version> --namespace fineparser -f fineparser-values.yaml
```

## 設定の記載場所

| 項目 | ページ |
| - | - |
| ワーカープールのサイズ | [スケーリング](https://docs.abbyy.com/ja/fine-parser/enterprise/concepts/scaling.md) |
| 認識のデフォルト設定 | [認識設定](https://docs.abbyy.com/ja/fine-parser/enterprise/basics/recognition-settings.md) |
| ボリューム | [ストレージ](https://docs.abbyy.com/ja/fine-parser/enterprise/basics/storage.md) |
| アップロード制限、公開設定、保持期間 | [本番環境へのデプロイメント](https://docs.abbyy.com/ja/fine-parser/enterprise/best-practices/production-deployment.md) |
| ノードの配置 | [ノードグループとスケジューリング](https://docs.abbyy.com/ja/fine-parser/enterprise/best-practices/scheduling.md) |
| すべての値とそのデフォルト値 | [チャートの値](https://docs.abbyy.com/ja/fine-parser/enterprise/reference/chart-values.md) |

## リソース名

リソースの名前はリリース名に基づいて付けられます。リリース名に `fineparser` が含まれている場合はその名前がそのまま使用され、含まれていない場合は名前の末尾に `-fineparser` が追記されます。たとえば、`fineparser` という名前のリリースでは、`fineparser-ingest`、`fineparser-orchestrator`、`fineparser-worker` が作成されます。これらのページの例では、名前空間 `fineparser` にあるこのリリースを使用しています。

## 変更の適用

`helm upgrade` を実行すると、変更の影響を受けるコンポーネントがすべて再起動されます。ワーカーは処理中の作業単位を完了してから停止し、オーケストレーターはキューの処理を再開します。

`worker.userProfile` の内容を変更しても、ワーカーは再起動されません。次のように手動で再起動してください。

```bash theme={null}
kubectl -n fineparser rollout restart deployment/fineparser-worker
```
