メイン コンテンツをスキップする 補完的コンテンツへスキップ

Talend Management Consoleタスク向けのカスタムDockerレジストリの設定

最終更新日時: 2026-11-10

Dynamic Engine環境内のデータ統合ジョブ、ビッグデータジョブ、データサービス、ルート向けに、外部Dockerレジストリを設定します。

外部Dockerレジストリは環境ごとに設定されます。

情報メモヒント: For Dynamic Engine versions older than 1.6.0, this procedure applies to Data Service and Route tasks only.

始める前に

  • レジストリがHTTPS経由でアクセス可能であることを確認します。

このタスクについて

情報メモ警告: In version 1.7.0, the embedded docker-registry service has no persistence by default. If its pod restarts, images stored in the service are lost. Use this procedure to configure an external registry (recommended), or enable persistence for the embedded registry.

手順

  1. 外部レジストリ接続用のカスタムvaluesファイルを作成するには、次のコマンドを実行します。
    cat <<EOF > custom-artifact-registry-values.yaml
    configuration:
      registry:
        url: myregistry.example.com
        path: my-specific-registry
        username: foo
        password: bar
        secretName: my-specific-registry
    EOF

    このコマンドは、レジストリ接続の資格情報を提供するvaluesファイルを作成します。シークレットは機密情報を保存するためのKubernetesオブジェクトです。

    資格情報が必要ない場合は、username、password、secretNameフィールドを空のままにします。

  2. カスタムvaluesファイルを使用して Dynamic Engine 環境をインストールまたはアップグレードするには、次のコマンドを実行します。
    helm upgrade --install dynamic-engine-environment-$DYNAMIC_ENGINE_ENVIRONMENT_ID \
     -f $DYNAMIC_ENGINE_ENVIRONMENT_ID-values.yaml \
     -f custom-artifact-registry-values.yaml \
     oci://ghcr.io/talend/helm/dynamic-engine-environment \
     --version $DYNAMIC_ENGINE_VERSION

    このコマンドは、Dynamic Engine 環境がインストールされているかどうかに応じて、環境をアップグレードまたはインストールします。

  3. デプロイメントを検証します。
    • 対応する Dynamic Engine 環境ネームスペースで、次を確認します。
      • dpe-data-service-route-deployerポッドが実行中であること。
      • レジストリに資格情報が必要な場合は、my-specific-registryおよびdpe-data-service-route-deployerシークレットが存在し、my-specific-registryにはレジストリ認証を表す.dockerconfigjson値が含まれ、dpe-data-service-route-deployerにREGISTRY_CREDENTIALS値が含まれていること。
    • タスクをデプロイした後、次のコマンドを実行して、レジストリーに画像が存在することを確認します。
      docker pull myregistry.example.com/my-specific-registry/<artifact_name>:<artifact_version>

タスクの結果

Dynamic Engineは現在、タスクイメージ用に独自のDockerレジストリに接続して利用できるようになっていますが、そのレジストリサービスはDynamic Engineの外部で設定する必要があります。Dynamic Engineには、レジストリを設定するための機能は提供されていません。
情報メモヒント: Dynamic Engine ships with an internal Docker registry intended for quick-start deployments. This registry is not recommended for production use and should not be customized for autoscaling in production environments.
If you have customized the internal Docker registry, such as, setting up autoscaling, in a production environment, move the configuration to the values file for your own external Docker registry and deploy the file with the desired Dynamic Engine environments. For example
cat <<EOF > autoscaling-external-registry.yaml
configuration:
  dockerRegistry:
    replicaCount: 2
    autoscaling:
      enabled: true
      maxReplicas: 5
EOF

If you need to keep that configuration in the internal Docker registry, bear in mind that the setup should not be used for production environment and in many use cases, for example, multiple replicas for autoscaling, you must enable persistence for the embedded registry with configuration.dockerRegistry.persistence.enabled=true. Set the storage class with configuration.persistence.defaultStorageClassName.

このページは役に立ちましたか?

このページまたはコンテンツにタイポ、ステップの省略、技術的エラーなどの問題が見つかった場合はお知らせください。